org.eclipse.persistence.sdo.helper.delegates
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
Fields inherited from interface commonj.sdo.helper.DataFactory |
INSTANCE |
Method Summary |
commonj.sdo.DataObject |
create(Class interfaceClass)
|
commonj.sdo.DataObject |
create(String uri,
String typeName)
|
commonj.sdo.DataObject |
create(commonj.sdo.Type type)
|
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 |
SDODataFactoryDelegate
public SDODataFactoryDelegate(commonj.sdo.helper.HelperContext aContext)
create
public commonj.sdo.DataObject create(String uri,
String typeName)
- Specified by:
create
in interface commonj.sdo.helper.DataFactory
create
public commonj.sdo.DataObject create(Class interfaceClass)
- Specified by:
create
in interface commonj.sdo.helper.DataFactory
create
public commonj.sdo.DataObject create(commonj.sdo.Type type)
- Specified by:
create
in interface commonj.sdo.helper.DataFactory
getHelperContext
public commonj.sdo.helper.HelperContext getHelperContext()
- INTERNAL:
Return the current helperContext associated with this delegate.
- Specified by:
getHelperContext
in interface SDODataFactory
- 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 interface SDODataFactory