public class SDODataFactoryDelegate extends 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(Class interfaceClass)
Create a DataObject supporting the given interface.
|
DataObject |
create(String uri,
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(String uri, 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(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 SDODataFactoryCopyright © 2017–2020 Eclipse.org - EclipseLink Project. All rights reserved.