Package org.identityconnectors.common
Class GUID
- java.lang.Object
-
- org.identityconnectors.common.GUID
-
public class GUID extends java.lang.ObjectCreate a globally unique identifier.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description GUID()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Returns true if the value parameter is aGUIDand the VMID is equal.inthashCode()Get the hashcode of the VMID.java.lang.StringtoString()Get the string version of the VMID.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Get the string version of the VMID.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of the object.
- See Also:
Object.toString()
-
hashCode
public int hashCode()
Get the hashcode of the VMID.- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code value for this object.
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object o)
Returns true if the value parameter is aGUIDand the VMID is equal.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- the reference object with which to compare.- Returns:
trueif this object is the same as the obj argument;falseotherwise.- See Also:
Object.equals(java.lang.Object)
-
-