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

java.lang.Object
  extended by org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate
All Implemented Interfaces:
commonj.sdo.helper.DataFactory, SDODataFactory
Direct Known Subclasses:
JAXBDataFactory

public class SDODataFactoryDelegate
extends java.lang.Object
implements SDODataFactory

Purpose: Helper to provide access to SDO Data Factory.

Responsibilities:


Field Summary
 
Fields inherited from interface commonj.sdo.helper.DataFactory
INSTANCE
 
Constructor Summary
SDODataFactoryDelegate(commonj.sdo.helper.HelperContext aContext)
           
 
Method Summary
 commonj.sdo.DataObject create(java.lang.Class interfaceClass)
           
 commonj.sdo.DataObject create(java.lang.String uri, java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDODataFactoryDelegate

public SDODataFactoryDelegate(commonj.sdo.helper.HelperContext aContext)
Method Detail

create

public commonj.sdo.DataObject create(java.lang.String uri,
                                     java.lang.String typeName)
Specified by:
create in interface commonj.sdo.helper.DataFactory

create

public commonj.sdo.DataObject create(java.lang.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