net.sourceforge.pbeans
Class GlobalPersistentID

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

public final class GlobalPersistentID
extends java.lang.Object

A globally unique identifier for persistent objects.

See Also:
PersistentID

Constructor Summary
GlobalPersistentID(PersistentID objectID, java.lang.Class clazz)
           
GlobalPersistentID(PersistentID objectID, java.lang.String className)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getClassName()
           
 PersistentID getObjectID()
           
 int hashCode()
           
 java.lang.String toString()
           
static GlobalPersistentID valueOf(java.lang.String asText)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalPersistentID

public GlobalPersistentID(PersistentID objectID,
                          java.lang.String className)

GlobalPersistentID

public GlobalPersistentID(PersistentID objectID,
                          java.lang.Class clazz)
Method Detail

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)