EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.sdo.helper
Interface SDOTypeHelper

All Superinterfaces:
TypeHelper
All Known Implementing Classes:
SDOTypeHelperDelegate, SDOTypeHelperDelegator

public interface SDOTypeHelper
extends TypeHelper

Purpose: Helper to provide access to declared SDO Types.

Responsibilities:


Field Summary
 
Fields inherited from interface commonj.sdo.helper.TypeHelper
INSTANCE
 
Method Summary
 java.lang.String addNamespace(java.lang.String prefix, java.lang.String uri)
          INTERNAL: Add the given namespace uri and prefix to the global namespace resolver.
 void addType(SDOType newType)
          INTERNAL:
 void addWrappersToProject(Project toplinkProject)
           
 java.util.List getAnonymousTypes()
           
 HelperContext getHelperContext()
          INTERNAL: Return the helperContext that this instance is associated with.
 java.util.Map<java.lang.Class,SDOType> getImplClassesToSDOType()
           
 java.util.Map getInterfacesToSDOTypeHashMap()
           
 java.lang.Class getJavaWrapperTypeForSDOType(Type sdoType)
          INTERNAL:
 NamespaceResolver getNamespaceResolver()
          INTERNAL: Return the NamespaceResolver
 java.util.Map getOpenContentProperties()
          INTERNAL: Return the Map of Open Content Properties
 java.lang.String getPrefix(java.lang.String uri)
          INTERNAL: Return the prefix for the given uri, or generate a new one if necessary
 SDOType getSDOTypeFromXSDType(javax.xml.namespace.QName aName)
          INTERNAL:
 SDOType getTypeForImplClass(java.lang.Class implClass)
           
 Type getTypeForSimpleJavaType(java.lang.Class implClass)
          INTERNAL:
 java.util.Map getTypesHashMap()
          INTERNAL:
 java.util.Map getWrappersHashMap()
          INTERNAL: Return the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).
 javax.xml.namespace.QName getXSDTypeFromSDOType(Type aType)
          INTERNAL:
 void reset()
          INTERNAL:
 void setHelperContext(HelperContext helperContext)
          INTERNAL: Set the helperContext that this instance is associated with.
 void setTypesHashMap(java.util.Map typesHashMap)
          INTERNAL:
 void setWrappersHashMap(java.util.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 Detail

getJavaWrapperTypeForSDOType

java.lang.Class getJavaWrapperTypeForSDOType(Type sdoType)
INTERNAL:

Parameters:
sdoType -
Returns:

getTypeForImplClass

SDOType getTypeForImplClass(java.lang.Class implClass)

getTypeForSimpleJavaType

Type getTypeForSimpleJavaType(java.lang.Class implClass)
INTERNAL:

Parameters:
implClass -
Returns:

addType

void addType(SDOType newType)
INTERNAL:

Parameters:
newType -

getXSDTypeFromSDOType

javax.xml.namespace.QName getXSDTypeFromSDOType(Type aType)
INTERNAL:

Parameters:
aType -
Returns:

getSDOTypeFromXSDType

SDOType getSDOTypeFromXSDType(javax.xml.namespace.QName aName)
INTERNAL:

Parameters:
aName -
Returns:

setTypesHashMap

void setTypesHashMap(java.util.Map typesHashMap)
INTERNAL:

Parameters:
typesHashMap -

getTypesHashMap

java.util.Map getTypesHashMap()
INTERNAL:

Returns:

getWrappersHashMap

java.util.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

void setWrappersHashMap(java.util.Map aMap)
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

void setHelperContext(HelperContext helperContext)
INTERNAL: Set the helperContext that this instance is associated with.

Parameters:
helperContext -

addNamespace

java.lang.String addNamespace(java.lang.String prefix,
                              java.lang.String uri)
INTERNAL: Add the given namespace uri and prefix to the global namespace resolver.


getPrefix

java.lang.String getPrefix(java.lang.String uri)
INTERNAL: Return the prefix for the given uri, or generate a new one if necessary


getNamespaceResolver

NamespaceResolver getNamespaceResolver()
INTERNAL: Return the NamespaceResolver


getOpenContentProperties

java.util.Map getOpenContentProperties()
INTERNAL: Return the Map of Open Content Properties


addWrappersToProject

void addWrappersToProject(Project toplinkProject)

getInterfacesToSDOTypeHashMap

java.util.Map getInterfacesToSDOTypeHashMap()

getImplClassesToSDOType

java.util.Map<java.lang.Class,SDOType> getImplClassesToSDOType()

getAnonymousTypes

java.util.List getAnonymousTypes()

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference