public class SDODataFactoryDelegator extends AbstractHelperDelegator implements SDODataFactory
Purpose: Helper to provide access to SDO Data Factory.
Responsibilities:
aHelperContext
INSTANCE
Constructor and Description |
---|
SDODataFactoryDelegator() |
SDODataFactoryDelegator(HelperContext aContext) |
Modifier and Type | Method and Description |
---|---|
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() |
getHelperContext, setHelperContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHelperContext, setHelperContext
public SDODataFactoryDelegator()
public SDODataFactoryDelegator(HelperContext aContext)
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 SDODataFactoryDelegate getDataFactoryDelegate()