com.ados.hestia.utils
Class UID
java.lang.Object
org.jboss.util.id.GUID
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
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)
|
Methods inherited from class org.jboss.util.id.GUID |
asString, clone, compareTo, getUID, getVMID |
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)
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.