net.sourceforge.pbeans
Class GlobalPersistentID
java.lang.Object
net.sourceforge.pbeans.GlobalPersistentID
public final class GlobalPersistentID
- extends java.lang.Object
A globally unique identifier for persistent objects.
- See Also:
PersistentID
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GlobalPersistentID
public GlobalPersistentID(PersistentID objectID,
java.lang.String className)
GlobalPersistentID
public GlobalPersistentID(PersistentID objectID,
java.lang.Class clazz)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getClassName
public java.lang.String getClassName()
getObjectID
public PersistentID getObjectID()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
valueOf
public static GlobalPersistentID valueOf(java.lang.String asText)