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 boolean
equals(Object o)
Returns true if the value parameter is aGUID
and the VMID is equal.int
hashCode()
Get the hashcode of the VMID.String
toString()
Get the string version of the VMID.
-
-
-
Method Detail
-
toString
public String toString()
Get the string version of the VMID.- Overrides:
toString
in classObject
- Returns:
- a string representation of the object.
- See Also:
Object.toString()
-
hashCode
public int hashCode()
Get the hashcode of the VMID.- Overrides:
hashCode
in 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 aGUID
and the VMID is equal.- Overrides:
equals
in classObject
- Parameters:
o
- the reference object with which to compare.- Returns:
true
if this object is the same as the obj argument;false
otherwise.- See Also:
Object.equals(java.lang.Object)
-
-