Class QualifiedUid
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.QualifiedUid
-
public final class QualifiedUid extends java.lang.Object
A fully-qualified uid. That is, a pair ofObjectClass
andUid
.
-
-
Constructor Summary
Constructors Constructor Description QualifiedUid(ObjectClass objectClass, Uid uid)
Create a QualifiedUid.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Returns true if o is a QualifiedUid and the object class and uid match.ObjectClass
getObjectClass()
Returns the object class.Uid
getUid()
Returns the uid.int
hashCode()
Returns a hash code based on uidjava.lang.String
toString()
Returns a string representation acceptible for debugging.
-
-
-
Constructor Detail
-
QualifiedUid
public QualifiedUid(ObjectClass objectClass, Uid uid)
Create a QualifiedUid.- Parameters:
objectClass
- The object class. May not be null.uid
- The uid. May not be null.
-
-
Method Detail
-
getObjectClass
public ObjectClass getObjectClass()
Returns the object class.- Returns:
- The object class.
-
getUid
public Uid getUid()
Returns the uid.- Returns:
- The uid.
-
equals
public boolean equals(java.lang.Object o)
Returns true if o is a QualifiedUid and the object class and uid match.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code based on uid- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Returns a string representation acceptible for debugging.- Overrides:
toString
in classjava.lang.Object
-
-