org.nakedobjects.remoting.data
Class DataFactoryDefault

java.lang.Object
  extended by org.nakedobjects.remoting.data.DataFactoryDefault
All Implemented Interfaces:
DataFactory

public class DataFactoryDefault
extends java.lang.Object
implements DataFactory


Constructor Summary
DataFactoryDefault()
           
 
Method Summary
 CollectionData createCollectionData(java.lang.String collectionType, java.lang.String elementType, Oid oid, ReferenceData[] elements, boolean hasAllElements, Version version)
           
 IdentityData createIdentityData(java.lang.String type, Oid oid, Version version)
           
 NullData createNullData(java.lang.String type)
           
 ObjectData createObjectData(java.lang.String type, Oid oid, boolean hasCompleteData, Version version)
           
 EncodableObjectData createValueData(java.lang.String type, java.lang.String encodedValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFactoryDefault

public DataFactoryDefault()
Method Detail

createNullData

public NullData createNullData(java.lang.String type)
Specified by:
createNullData in interface DataFactory

createIdentityData

public IdentityData createIdentityData(java.lang.String type,
                                       Oid oid,
                                       Version version)
Specified by:
createIdentityData in interface DataFactory

createValueData

public EncodableObjectData createValueData(java.lang.String type,
                                           java.lang.String encodedValue)
Specified by:
createValueData in interface DataFactory

createObjectData

public ObjectData createObjectData(java.lang.String type,
                                   Oid oid,
                                   boolean hasCompleteData,
                                   Version version)
Specified by:
createObjectData in interface DataFactory

createCollectionData

public CollectionData createCollectionData(java.lang.String collectionType,
                                           java.lang.String elementType,
                                           Oid oid,
                                           ReferenceData[] elements,
                                           boolean hasAllElements,
                                           Version version)
Specified by:
createCollectionData in interface DataFactory


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.