EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

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

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
      extended by org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegator
All Implemented Interfaces:
DataFactory, SDODataFactory

public class SDODataFactoryDelegator
extends AbstractHelperDelegator
implements SDODataFactory

Purpose: Helper to provide access to SDO Data Factory.

Responsibilities:


Field Summary
 
Fields inherited from class org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
aHelperContext
 
Fields inherited from interface commonj.sdo.helper.DataFactory
INSTANCE
 
Constructor Summary
SDODataFactoryDelegator()
           
SDODataFactoryDelegator(HelperContext aContext)
           
 
Method Summary
 DataObject create(java.lang.Class interfaceClass)
          Create a DataObject supporting the given interface.
 DataObject create(java.lang.String uri, java.lang.String typeName)
          Create a DataObject of the Type specified by typeName with the given package uri.
 DataObject create(Type type)
          Create a DataObject of the Type specified.
 SDODataFactoryDelegate getDataFactoryDelegate()
           
 
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.SDODataFactory
getHelperContext, setHelperContext
 

Constructor Detail

SDODataFactoryDelegator

public SDODataFactoryDelegator()

SDODataFactoryDelegator

public SDODataFactoryDelegator(HelperContext aContext)
Method Detail

create

public DataObject create(java.lang.String uri,
                         java.lang.String typeName)
Description copied from interface: DataFactory
Create a DataObject of the Type specified by typeName with the given package uri. If the uri is null or "", then a type with null uri will be looked up.

Specified by:
create in interface DataFactory
Parameters:
uri - The uri of the Type.
typeName - The name of the Type.
Returns:
the created DataObject.

create

public DataObject create(java.lang.Class interfaceClass)
Description copied from interface: DataFactory
Create a DataObject supporting the given interface. InterfaceClass is the interface for the DataObject's Type. The DataObject created is an instance of the interfaceClass.

Specified by:
create in interface DataFactory
Parameters:
interfaceClass - is the interface for the DataObject's Type.
Returns:
the created DataObject.

create

public DataObject create(Type type)
Description copied from interface: DataFactory
Create a DataObject of the Type specified.

Specified by:
create in interface DataFactory
Parameters:
type - The Type.
Returns:
the created DataObject.

getDataFactoryDelegate

public SDODataFactoryDelegate getDataFactoryDelegate()

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference