org.ow2.orchestra.facade.uuid
Class AbstractUUID

java.lang.Object
  extended by org.ow2.orchestra.facade.uuid.AbstractUUID
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivityDefinitionUUID, ActivityInstanceUUID

public abstract class AbstractUUID
extends Object
implements Serializable

Abstract parent class for all UUID classes. An uuid should be immutable. So you do not need to make a copy of it.

See Also:
Serialized Form

Field Summary
static String NUMBER_SEPARATOR
           
static String SEPARATOR
           
protected  String value
           
 
Constructor Summary
protected AbstractUUID()
           
protected AbstractUUID(AbstractUUID src)
           
 
Method Summary
 boolean equals(Object obj)
           
protected  String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR

public static final String SEPARATOR
See Also:
Constant Field Values

NUMBER_SEPARATOR

public static final String NUMBER_SEPARATOR
See Also:
Constant Field Values

value

protected String value
Constructor Detail

AbstractUUID

protected AbstractUUID()

AbstractUUID

protected AbstractUUID(AbstractUUID src)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getValue

protected String getValue()


Copyright © 2011 OW2 Consortium. All Rights Reserved.