public class DefaultSchemaLocationResolver extends Object implements SchemaLocationResolver
Purpose: Default implementation of the org.eclipse.persistence.sdo.helper.SchemaLocationResolver interface By default set a Map keyed on QName of types and value is the schemaLocation
SchemaLocationResolver
Constructor and Description |
---|
DefaultSchemaLocationResolver(Map schemaLocationMap) |
Modifier and Type | Method and Description |
---|---|
String |
resolveSchemaLocation(commonj.sdo.Type sourceType,
commonj.sdo.Type targetType)
Return the value for the schemaLocation attribute of the generated Import
|
void |
setMap(Map schemaLocations)
Set the map of schemaLocations keyed on QName of the target SDO Type
|
public DefaultSchemaLocationResolver(Map schemaLocationMap)
public String resolveSchemaLocation(commonj.sdo.Type sourceType, commonj.sdo.Type targetType)
resolveSchemaLocation
in interface SchemaLocationResolver
sourceType
- the source typetargetType
- the target typepublic void setMap(Map schemaLocations)
schemaLocations
- Map keyed on QName of the target SDO TypeCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.