net.sourceforge.pbeans
Class PersistentID
java.lang.Object
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.
PersistentID
s are unique per object
per class.
- See Also:
Store.getObject(PersistentID,java.lang.Class)
,
Store.getPersistentID(Object)
,
GlobalPersistentID
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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)