public class SDODataFactoryDelegate extends java.lang.Object implements SDODataFactory
Purpose: Helper to provide access to SDO Data Factory.
Responsibilities:
INSTANCE| Constructor and Description |
|---|
SDODataFactoryDelegate(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.
|
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
|
public SDODataFactoryDelegate(HelperContext aContext)
public DataObject create(java.lang.String uri, java.lang.String typeName)
DataFactoryuri is null or "", then a type with null
uri will be looked up.create in interface DataFactoryuri - The uri of the Type.typeName - The name of the Type.public DataObject create(java.lang.Class interfaceClass)
DataFactorycreate in interface DataFactoryinterfaceClass - is the interface for the DataObject's Type.public DataObject create(Type type)
DataFactorycreate in interface DataFactorytype - The Type.public HelperContext getHelperContext()
getHelperContext in interface SDODataFactorypublic void setHelperContext(HelperContext helperContext)
setHelperContext in interface SDODataFactory