|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator org.eclipse.persistence.sdo.helper.delegates.SDOTypeHelperDelegator
public class SDOTypeHelperDelegator
Purpose: Helper to provide access to declared SDO Types.
Responsibilities:
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator |
---|
aHelperContext |
Fields inherited from interface commonj.sdo.helper.TypeHelper |
---|
INSTANCE |
Constructor Summary | |
---|---|
SDOTypeHelperDelegator()
|
|
SDOTypeHelperDelegator(commonj.sdo.helper.HelperContext aContext)
|
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)
|
commonj.sdo.Type |
define(commonj.sdo.DataObject dataObject)
|
java.util.List |
define(java.util.List types)
|
commonj.sdo.Property |
defineOpenContentProperty(java.lang.String uri,
commonj.sdo.DataObject property)
|
java.lang.Class |
getJavaWrapperTypeForSDOType(commonj.sdo.Type sdoType)
INTERNAL: |
NamespaceResolver |
getNamespaceResolver()
INTERNAL: Return the NamespaceResolver |
java.util.Map |
getOpenContentProperties()
INTERNAL: Return the Map of Open Content Properties |
commonj.sdo.Property |
getOpenContentProperty(java.lang.String uri,
java.lang.String propertyName)
|
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: |
commonj.sdo.Type |
getType(java.lang.Class interfaceClass)
|
commonj.sdo.Type |
getType(java.lang.String uri,
java.lang.String typeName)
|
commonj.sdo.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(commonj.sdo.Type aType)
INTERNAL: |
void |
reset()
INTERNAL: |
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 class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator |
---|
getContextClassLoader, getHelperContext, setHelperContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.sdo.helper.SDOTypeHelper |
---|
getHelperContext, setHelperContext |
Constructor Detail |
---|
public SDOTypeHelperDelegator()
public SDOTypeHelperDelegator(commonj.sdo.helper.HelperContext aContext)
Method Detail |
---|
public java.lang.Class getJavaWrapperTypeForSDOType(commonj.sdo.Type sdoType)
SDOTypeHelper
getJavaWrapperTypeForSDOType
in interface SDOTypeHelper
public commonj.sdo.Type getType(java.lang.String uri, java.lang.String typeName)
getType
in interface commonj.sdo.helper.TypeHelper
public commonj.sdo.Type getTypeForSimpleJavaType(java.lang.Class implClass)
SDOTypeHelper
getTypeForSimpleJavaType
in interface SDOTypeHelper
public void addType(SDOType newType)
SDOTypeHelper
addType
in interface SDOTypeHelper
public commonj.sdo.Type getType(java.lang.Class interfaceClass)
getType
in interface commonj.sdo.helper.TypeHelper
public commonj.sdo.Type define(commonj.sdo.DataObject dataObject)
define
in interface commonj.sdo.helper.TypeHelper
public java.util.List define(java.util.List types)
define
in interface commonj.sdo.helper.TypeHelper
public javax.xml.namespace.QName getXSDTypeFromSDOType(commonj.sdo.Type aType)
SDOTypeHelper
getXSDTypeFromSDOType
in interface SDOTypeHelper
public SDOType getSDOTypeFromXSDType(javax.xml.namespace.QName aName)
SDOTypeHelper
getSDOTypeFromXSDType
in interface SDOTypeHelper
public void setTypesHashMap(java.util.Map typesHashMap)
SDOTypeHelper
setTypesHashMap
in interface SDOTypeHelper
public java.util.Map getTypesHashMap()
SDOTypeHelper
getTypesHashMap
in interface SDOTypeHelper
public java.util.Map getWrappersHashMap()
getWrappersHashMap
in interface SDOTypeHelper
public void setWrappersHashMap(java.util.Map aMap)
setWrappersHashMap
in interface SDOTypeHelper
aMap
- a HashMap of SDOWrapperTypes, keyed on the XSD type that it wraps.public void reset()
SDOTypeHelper
reset
in interface SDOTypeHelper
public commonj.sdo.Property defineOpenContentProperty(java.lang.String uri, commonj.sdo.DataObject property)
defineOpenContentProperty
in interface commonj.sdo.helper.TypeHelper
public commonj.sdo.Property getOpenContentProperty(java.lang.String uri, java.lang.String propertyName)
getOpenContentProperty
in interface commonj.sdo.helper.TypeHelper
public java.lang.String addNamespace(java.lang.String prefix, java.lang.String uri)
addNamespace
in interface SDOTypeHelper
public java.lang.String getPrefix(java.lang.String uri)
getPrefix
in interface SDOTypeHelper
public NamespaceResolver getNamespaceResolver()
getNamespaceResolver
in interface SDOTypeHelper
public java.util.Map getOpenContentProperties()
getOpenContentProperties
in interface SDOTypeHelper
public void addWrappersToProject(Project toplinkProject)
addWrappersToProject
in interface SDOTypeHelper
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |