Class SDODataFactoryDelegate
- java.lang.Object
-
- org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate
-
- All Implemented Interfaces:
commonj.sdo.helper.DataFactory
,SDODataFactory
- Direct Known Subclasses:
JAXBDataFactory
public class SDODataFactoryDelegate extends Object implements SDODataFactory
Purpose: Helper to provide access to SDO Data Factory.
Responsibilities:
- Create DataObjects for given uri/typename pairs, interface class or type
-
-
Constructor Summary
Constructors Constructor Description SDODataFactoryDelegate(commonj.sdo.helper.HelperContext aContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description commonj.sdo.DataObject
create(commonj.sdo.Type type)
commonj.sdo.DataObject
create(Class interfaceClass)
commonj.sdo.DataObject
create(String uri, String typeName)
commonj.sdo.helper.HelperContext
getHelperContext()
INTERNAL: Return the current helperContext associated with this delegate.void
setHelperContext(commonj.sdo.helper.HelperContext helperContext)
INTERNAL: Set the current helperContext to be associated with this delegate
-
-
-
Method Detail
-
create
public commonj.sdo.DataObject create(String uri, String typeName)
- Specified by:
create
in interfacecommonj.sdo.helper.DataFactory
-
create
public commonj.sdo.DataObject create(Class interfaceClass)
- Specified by:
create
in interfacecommonj.sdo.helper.DataFactory
-
create
public commonj.sdo.DataObject create(commonj.sdo.Type type)
- Specified by:
create
in interfacecommonj.sdo.helper.DataFactory
-
getHelperContext
public commonj.sdo.helper.HelperContext getHelperContext()
INTERNAL: Return the current helperContext associated with this delegate.- Specified by:
getHelperContext
in interfaceSDODataFactory
- Returns:
-
setHelperContext
public void setHelperContext(commonj.sdo.helper.HelperContext helperContext)
INTERNAL: Set the current helperContext to be associated with this delegate- Specified by:
setHelperContext
in interfaceSDODataFactory
-
-