org.nakedobjects.remoting.data.common
Class CollectionDataImpl

java.lang.Object
  extended by org.nakedobjects.remoting.data.common.CollectionDataImpl
All Implemented Interfaces:
java.io.Serializable, Encodable, CollectionData, ReferenceData, Data

public class CollectionDataImpl
extends java.lang.Object
implements CollectionData, Encodable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CollectionDataImpl(DataInputExtended input)
           
CollectionDataImpl(Oid oid, java.lang.String collectionType, java.lang.String elementType, ReferenceData[] elements, boolean hasAllElements, Version version)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 ReferenceData[] getElements()
           
 java.lang.String getElementype()
           
 Oid getOid()
           
 java.lang.String getType()
           
 Version getVersion()
           
 boolean hasAllElements()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionDataImpl

public CollectionDataImpl(Oid oid,
                          java.lang.String collectionType,
                          java.lang.String elementType,
                          ReferenceData[] elements,
                          boolean hasAllElements,
                          Version version)

CollectionDataImpl

public CollectionDataImpl(DataInputExtended input)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

encode

public void encode(DataOutputExtended output)
            throws java.io.IOException
Specified by:
encode in interface Encodable
Throws:
java.io.IOException

getElements

public ReferenceData[] getElements()
Specified by:
getElements in interface CollectionData

getElementype

public java.lang.String getElementype()
Specified by:
getElementype in interface CollectionData

getOid

public Oid getOid()
Specified by:
getOid in interface ReferenceData

getType

public java.lang.String getType()
Specified by:
getType in interface Data

getVersion

public Version getVersion()
Specified by:
getVersion in interface ReferenceData

hasAllElements

public boolean hasAllElements()
Specified by:
hasAllElements in interface CollectionData

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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