Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.sdo.helper.delegates
Class SDOTypeHelperDelegator

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
      extended by org.eclipse.persistence.sdo.helper.delegates.SDOTypeHelperDelegator

All Implemented Interfaces:
SDOTypeHelper

public class SDOTypeHelperDelegator
extends AbstractHelperDelegator
implements SDOTypeHelper

Purpose: Helper to provide access to declared SDO Types.

Responsibilities:


Field Summary

 

Fields inherited from class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
aHelperContext

 

Constructor Summary
SDOTypeHelperDelegator()
           
SDOTypeHelperDelegator(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)
           
 Type define(DataObject dataObject)
           
 Property defineOpenContentProperty(java.lang.String uri, DataObject property)
           
 java.util.List getAnonymousTypes()
           
 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
 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:
 Type getType(java.lang.Class interfaceClass)
           
 Type getType(java.lang.String uri, java.lang.String typeName)
           
 SDOType getTypeForImplClass(java.lang.Class implClass)
           
 Type getTypeForSimpleJavaType(java.lang.Class implClass)
          INTERNAL:
 SDOTypeHelperDelegate getTypeHelperDelegate()
           
 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 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
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

SDOTypeHelperDelegator

public SDOTypeHelperDelegator()

SDOTypeHelperDelegator

public SDOTypeHelperDelegator(HelperContext aContext)

Method Detail

getJavaWrapperTypeForSDOType

public java.lang.Class getJavaWrapperTypeForSDOType(Type sdoType)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
getJavaWrapperTypeForSDOType in interface SDOTypeHelper
Returns:

getType

public Type getType(java.lang.String uri,
                    java.lang.String typeName)

getTypeForSimpleJavaType

public Type getTypeForSimpleJavaType(java.lang.Class implClass)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
getTypeForSimpleJavaType in interface SDOTypeHelper
Returns:

addType

public void addType(SDOType newType)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
addType in interface SDOTypeHelper

getType

public Type getType(java.lang.Class interfaceClass)

getTypeForImplClass

public SDOType getTypeForImplClass(java.lang.Class implClass)
Specified by:
getTypeForImplClass in interface SDOTypeHelper

define

public Type define(DataObject dataObject)

getXSDTypeFromSDOType

public javax.xml.namespace.QName getXSDTypeFromSDOType(Type aType)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
getXSDTypeFromSDOType in interface SDOTypeHelper
Returns:

getSDOTypeFromXSDType

public SDOType getSDOTypeFromXSDType(javax.xml.namespace.QName aName)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
getSDOTypeFromXSDType in interface SDOTypeHelper
Returns:

setTypesHashMap

public void setTypesHashMap(java.util.Map typesHashMap)
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
setTypesHashMap in interface SDOTypeHelper

getTypesHashMap

public java.util.Map getTypesHashMap()
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
getTypesHashMap in interface SDOTypeHelper
Returns:

getWrappersHashMap

public java.util.Map getWrappersHashMap()
INTERNAL: Return the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).
Specified by:
getWrappersHashMap in interface SDOTypeHelper
Returns:
a HashMap of SDOWrapperTypes, keyed on the XSD type that it wraps.

setWrappersHashMap

public void setWrappersHashMap(java.util.Map aMap)
INTERNAL: Set the map of Wrapper objects (SDOWrapperTypes that wrap a primitive document).
Specified by:
setWrappersHashMap in interface SDOTypeHelper
Parameters:
aMap - a HashMap of SDOWrapperTypes, keyed on the XSD type that it wraps.

reset

public void reset()
Description copied from interface: SDOTypeHelper
INTERNAL:
Specified by:
reset in interface SDOTypeHelper

defineOpenContentProperty

public Property defineOpenContentProperty(java.lang.String uri,
                                          DataObject property)

getOpenContentProperty

public Property getOpenContentProperty(java.lang.String uri,
                                       java.lang.String propertyName)

getTypeHelperDelegate

public SDOTypeHelperDelegate getTypeHelperDelegate()

addNamespace

public 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.
Specified by:
addNamespace in interface SDOTypeHelper

getPrefix

public java.lang.String getPrefix(java.lang.String uri)
INTERNAL: Return the prefix for the given uri, or generate a new one if necessary
Specified by:
getPrefix in interface SDOTypeHelper

getNamespaceResolver

public NamespaceResolver getNamespaceResolver()
INTERNAL: Return the NamespaceResolver
Specified by:
getNamespaceResolver in interface SDOTypeHelper

getOpenContentProperties

public java.util.Map getOpenContentProperties()
INTERNAL: Return the Map of Open Content Properties
Specified by:
getOpenContentProperties in interface SDOTypeHelper

addWrappersToProject

public void addWrappersToProject(Project toplinkProject)
Specified by:
addWrappersToProject in interface SDOTypeHelper

getInterfacesToSDOTypeHashMap

public java.util.Map getInterfacesToSDOTypeHashMap()
Specified by:
getInterfacesToSDOTypeHashMap in interface SDOTypeHelper

getImplClassesToSDOType

public java.util.Map<java.lang.Class,SDOType> getImplClassesToSDOType()
Specified by:
getImplClassesToSDOType in interface SDOTypeHelper

getAnonymousTypes

public java.util.List getAnonymousTypes()
Specified by:
getAnonymousTypes in interface SDOTypeHelper

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.