|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate
public class SDODataFactoryDelegate
Purpose: Helper to provide access to SDO Data Factory.
Responsibilities:
Field Summary |
---|
Fields inherited from interface commonj.sdo.helper.DataFactory |
---|
INSTANCE |
Constructor Summary | |
---|---|
SDODataFactoryDelegate(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. |
HelperContext |
getHelperContext()
INTERNAL: Return the current helperContext associated with this delegate. |
void |
setHelperContext(HelperContext helperContext)
INTERNAL: Set the current helperContext to be associated with this delegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDODataFactoryDelegate(HelperContext aContext)
Method Detail |
---|
public DataObject create(java.lang.String uri, java.lang.String typeName)
DataFactory
uri
is null
or ""
, then a type with null
uri will be looked up.
create
in interface DataFactory
uri
- The uri of the Type.typeName
- The name of the Type.
public DataObject create(java.lang.Class interfaceClass)
DataFactory
create
in interface DataFactory
interfaceClass
- is the interface for the DataObject's Type.
public DataObject create(Type type)
DataFactory
create
in interface DataFactory
type
- The Type.
public HelperContext getHelperContext()
getHelperContext
in interface SDODataFactory
public void setHelperContext(HelperContext helperContext)
setHelperContext
in interface SDODataFactory
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |