org.neodatis.odb.core.layers.layer2.meta
Class CollectionObjectInfo

java.lang.Object
  extended by org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
      extended by org.neodatis.odb.core.layers.layer2.meta.NativeObjectInfo
          extended by org.neodatis.odb.core.layers.layer2.meta.GroupObjectInfo
              extended by org.neodatis.odb.core.layers.layer2.meta.CollectionObjectInfo
All Implemented Interfaces:
java.io.Serializable

public class CollectionObjectInfo
extends GroupObjectInfo

Meta representation of a collection

Author:
osmadja
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neodatis.odb.core.layers.layer2.meta.NativeObjectInfo
theObject
 
Fields inherited from class org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
odbType, odbTypeId, position
 
Constructor Summary
CollectionObjectInfo()
           
CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection)
           
CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection, java.util.Collection<NonNativeObjectInfo> nonNativeObjects)
           
CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection, ODBType type, java.util.Collection<NonNativeObjectInfo> nonNativeObjects)
           
 
Method Summary
 AbstractObjectInfo createCopy(java.util.Map<OID,AbstractObjectInfo> cache, boolean onlyData)
           
 java.util.Collection<AbstractObjectInfo> getCollection()
           
 java.lang.String getRealCollectionClassName()
           
 boolean isCollectionObject()
           
 void setRealCollectionClassName(java.lang.String realCollectionClass)
           
 java.lang.String toString()
           
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.GroupObjectInfo
addNonNativeObjectInfo, getNonNativeObjects, setNonNativeObjects
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.NativeObjectInfo
equals, getObject, isNativeObject, setObject
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
getOdbType, getOdbTypeId, getPosition, isArrayObject, isAtomicNativeObject, isDeletedObject, isEnumObject, isGroup, isMapObject, isNative, isNonNativeObject, isNull, isObjectReference, setOdbType, setOdbTypeId, setPosition
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionObjectInfo

public CollectionObjectInfo()

CollectionObjectInfo

public CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection)

CollectionObjectInfo

public CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection,
                            java.util.Collection<NonNativeObjectInfo> nonNativeObjects)

CollectionObjectInfo

public CollectionObjectInfo(java.util.Collection<AbstractObjectInfo> collection,
                            ODBType type,
                            java.util.Collection<NonNativeObjectInfo> nonNativeObjects)
Method Detail

getCollection

public java.util.Collection<AbstractObjectInfo> getCollection()

toString

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

isCollectionObject

public boolean isCollectionObject()
Overrides:
isCollectionObject in class AbstractObjectInfo

getRealCollectionClassName

public java.lang.String getRealCollectionClassName()

setRealCollectionClassName

public void setRealCollectionClassName(java.lang.String realCollectionClass)

createCopy

public AbstractObjectInfo createCopy(java.util.Map<OID,AbstractObjectInfo> cache,
                                     boolean onlyData)
Specified by:
createCopy in class AbstractObjectInfo