org.apache.ode.utils.uuid
Class UUID
java.lang.Object
org.apache.ode.utils.uuid.UUID
- All Implemented Interfaces:
- java.io.Serializable
public class UUID
- extends java.lang.Object
- implements java.io.Serializable
Universally Unique Identifier.
- See Also:
- Serialized Form
Constructor Summary |
|
UUID()
|
protected |
UUID(java.lang.String id)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UUID
public UUID()
UUID
protected UUID(java.lang.String id)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
toIdString
public static java.lang.String toIdString(UUID uuid)
- String form of a uuid.
- Parameters:
uuid
- convert the uuid
to a string
- Returns:
- string representation
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
prefix
protected java.lang.String prefix()