Module org.eclipse.persistence.sdo
Interface SDOTypeHelper
- All Superinterfaces:
TypeHelper
- All Known Implementing Classes:
SDOTypeHelperDelegate
,SDOTypeHelperDelegator
Purpose: Helper to provide access to declared SDO Types.
Responsibilities:
- Look up a Type given the uri and typeName or interfaceClass.
- SDO Types are available through the getType("commonj.sdo", typeName) method.
- Defines Types from DataObjects.
-
Field Summary
Fields inherited from interface commonj.sdo.helper.TypeHelper
INSTANCE
-
Method Summary
Modifier and TypeMethodDescriptionaddNamespace
(String prefix, String uri) INTERNAL: Add the given namespace uri and prefix to the global namespace resolver.void
INTERNAL:void
addWrappersToProject
(Project toplinkProject) INTERNAL: Return the helperContext that this instance is associated with.Class
<?> getJavaWrapperTypeForSDOType
(Type sdoType) INTERNAL:INTERNAL: Return the NamespaceResolverINTERNAL: Return the Map of Open Content PropertiesINTERNAL: Return the prefix for the given uri, or generate a new one if necessarygetSDOTypeFromXSDType
(QName aName) INTERNAL:getTypeForImplClass
(Class<?> implClass) getTypeForSimpleJavaType
(Class<?> implClass) INTERNAL:INTERNAL:INTERNAL: Return the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).getXSDTypeFromSDOType
(Type aType) INTERNAL:void
reset()
INTERNAL:void
setHelperContext
(HelperContext helperContext) INTERNAL: Set the helperContext that this instance is associated with.void
setTypesHashMap
(Map typesHashMap) INTERNAL:void
setWrappersHashMap
(Map aMap) INTERNAL: Set the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).Methods inherited from interface commonj.sdo.helper.TypeHelper
define, define, defineOpenContentProperty, getOpenContentProperty, getType, getType
-
Method Details
-
getJavaWrapperTypeForSDOType
INTERNAL:- Parameters:
sdoType
-- Returns:
-
getTypeForImplClass
-
getTypeForSimpleJavaType
INTERNAL:- Parameters:
implClass
-- Returns:
-
addType
INTERNAL:- Parameters:
newType
-
-
getXSDTypeFromSDOType
INTERNAL:- Parameters:
aType
-- Returns:
-
getSDOTypeFromXSDType
INTERNAL:- Parameters:
aName
-- Returns:
-
setTypesHashMap
INTERNAL:- Parameters:
typesHashMap
-
-
getTypesHashMap
Map getTypesHashMap()INTERNAL:- Returns:
-
getWrappersHashMap
Map getWrappersHashMap()INTERNAL: Return the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).- Returns:
- a HashMap of SDOWrapperTypes, keyed on the XSD type that it wraps.
-
setWrappersHashMap
INTERNAL: Set the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).- Parameters:
aMap
- a HashMap of SDOWrapperTypes, keyed on the XSD type that it wraps.
-
reset
void reset()INTERNAL: -
getHelperContext
HelperContext getHelperContext()INTERNAL: Return the helperContext that this instance is associated with.- Returns:
-
setHelperContext
INTERNAL: Set the helperContext that this instance is associated with.- Parameters:
helperContext
-
-
addNamespace
INTERNAL: Add the given namespace uri and prefix to the global namespace resolver. -
getPrefix
INTERNAL: Return the prefix for the given uri, or generate a new one if necessary -
getNamespaceResolver
NamespaceResolver getNamespaceResolver()INTERNAL: Return the NamespaceResolver -
getOpenContentProperties
Map getOpenContentProperties()INTERNAL: Return the Map of Open Content Properties -
addWrappersToProject
-
getInterfacesToSDOTypeHashMap
Map getInterfacesToSDOTypeHashMap() -
getImplClassesToSDOType
-
getAnonymousTypes
List getAnonymousTypes()
-