java.lang.Object
org.identityconnectors.framework.common.objects.QualifiedUid

public final class QualifiedUid extends Object
A fully-qualified uid. That is, a pair of ObjectClass and Uid.
  • Constructor Details

    • 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 Details

    • 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(Object o)
      Returns true if o is a QualifiedUid and the object class and uid match.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code based on uid
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Returns a string representation acceptible for debugging.
      Overrides:
      toString in class Object