net.sourceforge.pbeans
Class PersistentID

java.lang.Object
  extended by net.sourceforge.pbeans.PersistentID

public final class PersistentID
extends java.lang.Object

Special property type which may be used instead of explicit persistent object references in order to define relationships between persistent objects.

It allows referred objects to be loaded on demand.

PersistentIDs are unique per object per class.

See Also:
Store.getObject(PersistentID,java.lang.Class), Store.getPersistentID(Object), GlobalPersistentID

Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 java.lang.String toString()
           
static PersistentID valueOf(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

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

hashCode

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

equals

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

valueOf

public static PersistentID valueOf(java.lang.String s)