com.agfa.hap.sdo.implementation
Class DataFactoryImpl

java.lang.Object
  extended by com.agfa.hap.sdo.implementation.DataFactoryImpl
All Implemented Interfaces:
PartialDataFactory, DataFactory

public class DataFactoryImpl
extends java.lang.Object
implements PartialDataFactory


Field Summary
 
Fields inherited from interface com.agfa.hap.sdo.PartialDataFactory
INSTANCE
 
Constructor Summary
DataFactoryImpl()
           
 
Method Summary
 PartialDataObject create(java.lang.Class interfaceClass)
          Create a DataObject supporting the given interface.
 PartialDataObject create(java.lang.String uri, java.lang.String typeName)
          Create a DataObject of the Type specified by typeName with the given package uri.
 PartialDataObject create(Type type)
          Create a DataObject of the Type specified.
protected  PartialDataObject createDefaultDataObjectInstance(Type type)
           
 PartialDataObject createProxy(java.lang.String uri, java.lang.String typeName, java.lang.Object identity)
           
 PartialDataObject createProxy(Type type, java.lang.Object identity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFactoryImpl

public DataFactoryImpl()
Method Detail

create

public PartialDataObject create(java.lang.String uri,
                                java.lang.String typeName)
Description copied from interface: DataFactory
Create a DataObject of the Type specified by typeName with the given package uri.

Specified by:
create in interface PartialDataFactory
Specified by:
create in interface DataFactory
Parameters:
uri - The uri of the Type.
typeName - The name of the Type.
Returns:
the created DataObject.

create

public PartialDataObject create(java.lang.Class interfaceClass)
Description copied from interface: DataFactory
Create a DataObject supporting the given interface. InterfaceClass is the interface for the DataObject's Type. The DataObject created is an instance of the interfaceClass.

Specified by:
create in interface DataFactory
Parameters:
interfaceClass - is the interface for the DataObject's Type.
Returns:
the created DataObject.

create

public PartialDataObject create(Type type)
Description copied from interface: DataFactory
Create a DataObject of the Type specified.

Specified by:
create in interface PartialDataFactory
Specified by:
create in interface DataFactory
Parameters:
type - The Type.
Returns:
the created DataObject.

createDefaultDataObjectInstance

protected PartialDataObject createDefaultDataObjectInstance(Type type)

createProxy

public PartialDataObject createProxy(java.lang.String uri,
                                     java.lang.String typeName,
                                     java.lang.Object identity)
Specified by:
createProxy in interface PartialDataFactory

createProxy

public PartialDataObject createProxy(Type type,
                                     java.lang.Object identity)
Specified by:
createProxy in interface PartialDataFactory


Copyright © 2007. All Rights Reserved.