com.ados.hestia.utils
Class UID

java.lang.Object
  extended by org.jboss.util.id.GUID
      extended by com.ados.hestia.utils.UID
All Implemented Interfaces:
Serializable, Cloneable, Comparable, org.jboss.util.id.ID

public final class UID
extends org.jboss.util.id.GUID

History by Khmel Yury. April 04, 2005. Add suffix support for generate UID for Content ID mainly

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.util.id.GUID
hashCode, uid, vmid
 
Constructor Summary
UID()
          Generates a UID that is unique over time with respect to the host that it was generated on.
UID(String _suffix)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
          Returns a string representation of this UID.
 
Methods inherited from class org.jboss.util.id.GUID
asString, clone, compareTo, getUID, getVMID
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UID

public UID()
Generates a UID that is unique over time with respect to the host that it was generated on.


UID

public UID(String _suffix)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class org.jboss.util.id.GUID

hashCode

public int hashCode()
Overrides:
hashCode in class org.jboss.util.id.GUID

toString

public String toString()
Returns a string representation of this UID.

Overrides:
toString in class org.jboss.util.id.GUID
Returns:
a string representation of this UID


Copyright © 2005-2006 ADOS Co.,Ltd.. All Rights Reserved.