org.apache.ode.utils.uuid
Class UUID

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
protected  java.lang.String prefix()
           
static java.lang.String toIdString(UUID uuid)
          String form of a uuid.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UUID

public UUID()

UUID

protected UUID(java.lang.String id)
Method Detail

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()