|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataFactory
A Factory for creating SDO DataObjects.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static DataFactory |
INSTANCE
The default DataFactory. |
Method Summary | |
---|---|
commonj.sdo.DataObject |
create(java.lang.Class interfaceClass)
Creates a DataObject supporting the given interface. |
commonj.sdo.DataObject |
create(java.lang.String uri,
java.lang.String typeName)
Creates a DataObject of the Type specified by typeName with the given package uri. |
commonj.sdo.DataObject |
create(commonj.sdo.Type type)
Creates a DataObject of the Type specified. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final DataFactory INSTANCE
Method Detail |
---|
commonj.sdo.DataObject create(java.lang.Class interfaceClass)
interfaceClass
- is the interface for the DataObject's Type.
java.lang.IllegalArgumentException
- if the instanceClass does
not correspond to a Type this factory can instantiate.commonj.sdo.DataObject create(java.lang.String uri, java.lang.String typeName)
uri
- The uri of the Package.typeName
- The name of the Type.
java.lang.IllegalArgumentException
- if the uri and typeName does
not correspond to a Type this factory can instantiate.commonj.sdo.DataObject create(commonj.sdo.Type type)
type
- The Type.
java.lang.IllegalArgumentException
- if the Type
cannot be instantiaed by this factory.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |