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

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.AtomicNativeObjectInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class AtomicNativeObjectInfo
extends NativeObjectInfo
implements java.lang.Comparable

To keep info about a native object like int,char, long, Does not include array or collection

Author:
olivier s
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
AtomicNativeObjectInfo(java.lang.Object object, int odbTypeId)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 AbstractObjectInfo createCopy(java.util.Map<OID,AbstractObjectInfo> cache, boolean onlyData)
           
 boolean equals(java.lang.Object obj)
           
 boolean isAtomicNativeObject()
           
 java.lang.String toString()
           
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.NativeObjectInfo
getObject, isNativeObject, setObject
 
Methods inherited from class org.neodatis.odb.core.layers.layer2.meta.AbstractObjectInfo
getOdbType, getOdbTypeId, getPosition, isArrayObject, isCollectionObject, 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

AtomicNativeObjectInfo

public AtomicNativeObjectInfo(java.lang.Object object,
                              int odbTypeId)
Method Detail

toString

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class NativeObjectInfo

isAtomicNativeObject

public boolean isAtomicNativeObject()
Overrides:
isAtomicNativeObject in class AbstractObjectInfo

createCopy

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

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable