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

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

public class NonNativeDeletedObjectInfo
extends NonNativeObjectInfo

To specify that an object has been mark as deleted

Author:
olivier s
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neodatis.odb.core.layers.layer2.meta.NonNativeObjectInfo
object
 
Fields inherited from class org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
odbType, odbTypeId, position
 
Constructor Summary
NonNativeDeletedObjectInfo(long position, OID oid)
           
 
Method Summary
 java.lang.Object getObject()
          Gets the actual java object.
 OID getOid()
          Return the oid of the object
 boolean hasChanged(AbstractObjectInfo aoi)
           
 boolean isDeletedObject()
           
 boolean isNull()
          A deleted non native object is considered to be null!
 java.lang.String toString()
           
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.NonNativeObjectInfo
clear, createCopy, equals, getAttributeDefinitionPosition, getAttributeId, getAttributeValueFromId, getAttributeValues, getClassInfo, getHeader, getMaxNbattributes, getMetaValueOf, getNextObjectOID, getPosition, getPreviousObjectOID, getValueOf, hashCode, isNonNativeObject, setAttributeValue, setClassInfo, setHeader, setNextObjectOID, setObject, setOid, setPosition, setPreviousInstanceOID, setValueOf
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
getOdbType, getOdbTypeId, isArrayObject, isAtomicNativeObject, isCollectionObject, isEnumObject, isGroup, isMapObject, isNative, isObjectReference, setOdbType, setOdbTypeId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonNativeDeletedObjectInfo

public NonNativeDeletedObjectInfo(long position,
                                  OID oid)
Method Detail

toString

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

getOid

public OID getOid()
Description copied from class: NonNativeObjectInfo
Return the oid of the object

Overrides:
getOid in class NonNativeObjectInfo
Returns:
The oid

hasChanged

public boolean hasChanged(AbstractObjectInfo aoi)

getObject

public java.lang.Object getObject()
Description copied from class: NonNativeObjectInfo
Gets the actual java object. May return null on client server mode as Client Server mode does work with java objects (layer1)

Overrides:
getObject in class NonNativeObjectInfo

isDeletedObject

public boolean isDeletedObject()
Overrides:
isDeletedObject in class AbstractObjectInfo

isNull

public boolean isNull()
A deleted non native object is considered to be null!

Overrides:
isNull in class NonNativeObjectInfo