Class QualifiedUid


  • public final class QualifiedUid
    extends java.lang.Object
    A fully-qualified uid. That is, a pair of ObjectClass and Uid.
    • 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 uid
      java.lang.String toString()
      Returns a string representation acceptible for debugging.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object
      • hashCode

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

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