Package org.identityconnectors.common
Class GUID
- java.lang.Object
-
- org.identityconnectors.common.GUID
-
public class GUID extends Object
Create a globally unique identifier.- Since:
- 1.0
- Author:
- Will Droste
-
-
Constructor Summary
Constructors Constructor Description GUID()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Returns true if the value parameter is aGUIDand the VMID is equal.inthashCode()Get the hashcode of the VMID.StringtoString()Get the string version of the VMID.
-
-
-
Method Detail
-
toString
public String toString()
Get the string version of the VMID.- Overrides:
toStringin classObject- Returns:
- a string representation of the object.
- See Also:
Object.toString()
-
hashCode
public int hashCode()
Get the hashcode of the VMID.- Overrides:
hashCodein classObject- Returns:
- a hash code value for this object.
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
Returns true if the value parameter is aGUIDand the VMID is equal.- Overrides:
equalsin classObject- 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)
-
-