goodsjpi
Class Persistent
java.lang.Object
goodsjpi.Persistent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AnyArray, Blob, HashTable, Htree, ObjectClosure, Ordered, PersistentAbstractCollection, PersistentAbstractMap, PersistentComparator, Rtree, SetOwner, SpatialObject
- public class Persistent
- extends java.lang.Object
- implements java.io.Serializable
Root class for all persistent capable objects
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
metaobject
public Metaobject metaobject
defaultMetaobject
public static Metaobject defaultMetaobject
Persistent
protected Persistent()
Persistent
protected Persistent(Metaobject metaobject)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
finalize
protected final void finalize()
attachToStorage
public void attachToStorage(Database db,
int sid)
clusterWith
public void clusterWith(Persistent obj)
getDatabase
public Database getDatabase()
getOid
public int getOid()
- Get the dabase assigned id of the object
getStorageId
public int getStorageId()
hashCode
public int hashCode()
onLoad
public void onLoad()
- Method to be invoked after loading object from the storage.
It can be used to initilize transient and new fields of the object.