goodsjpi
Class Persistent

java.lang.Object
  |
  +--goodsjpi.Persistent
Direct Known Subclasses:
AnyArray, Blob, HashTable, Htree, ObjectClosure, Ordered, PersistentAbstractCollection, PersistentAbstractMap, PersistentComparator, SetOwner

public class Persistent
extends java.lang.Object

Root class for all persistent capable objects


Field Summary
static goodsjpi.Metaobject defaultMetaobject
           
 goodsjpi.Metaobject metaobject
           
 
Constructor Summary
protected Persistent()
           
protected Persistent(goodsjpi.Metaobject metaobject)
           
 
Method Summary
 void attachToStorage(goodsjpi.Database db, int sid)
           
 java.lang.Object clone()
           
 void clusterWith(goodsjpi.Persistent obj)
           
protected  void finalize()
           
 goodsjpi.Database getDatabase()
           
 int getOid()
          Get the dabase assigned id of the object
 int getStorageId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metaobject

public goodsjpi.Metaobject metaobject

defaultMetaobject

public static goodsjpi.Metaobject defaultMetaobject
Constructor Detail

Persistent

protected Persistent()

Persistent

protected Persistent(goodsjpi.Metaobject metaobject)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
java.lang.CloneNotSupportedException

finalize

protected final void finalize()
Overrides:
finalize in class java.lang.Object

attachToStorage

public void attachToStorage(goodsjpi.Database db,
                            int sid)

clusterWith

public void clusterWith(goodsjpi.Persistent obj)

getDatabase

public goodsjpi.Database getDatabase()

getOid

public int getOid()
Get the dabase assigned id of the object


getStorageId

public int getStorageId()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object