org.apache.tuscany.sdo.helper
Class DataFactoryImpl

java.lang.Object
  extended by org.apache.tuscany.sdo.helper.DataFactoryImpl
All Implemented Interfaces:
commonj.sdo.helper.DataFactory

public class DataFactoryImpl
extends java.lang.Object
implements commonj.sdo.helper.DataFactory

A Factory for creating DataObjects. The created DataObjects are not connected to any other DataObjects.


Field Summary
protected  commonj.sdo.helper.TypeHelper typeHelper
           
 
Fields inherited from interface commonj.sdo.helper.DataFactory
INSTANCE
 
Constructor Summary
DataFactoryImpl(commonj.sdo.helper.TypeHelper typeHelper)
           
 
Method Summary
 commonj.sdo.DataObject create(java.lang.Class interfaceClass)
           
 commonj.sdo.DataObject create(java.lang.String uri, java.lang.String typeName)
           
 commonj.sdo.DataObject create(commonj.sdo.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeHelper

protected commonj.sdo.helper.TypeHelper typeHelper
Constructor Detail

DataFactoryImpl

public DataFactoryImpl(commonj.sdo.helper.TypeHelper typeHelper)
Method Detail

create

public commonj.sdo.DataObject create(java.lang.String uri,
                                     java.lang.String typeName)
Specified by:
create in interface commonj.sdo.helper.DataFactory

create

public commonj.sdo.DataObject create(java.lang.Class interfaceClass)
Specified by:
create in interface commonj.sdo.helper.DataFactory

create

public commonj.sdo.DataObject create(commonj.sdo.Type type)
Specified by:
create in interface commonj.sdo.helper.DataFactory


Copyright © 2007 Apache Software Foundation. All Rights Reserved.