Class ProvidedObjectIDImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(ProMID o)  
      boolean equals​(java.lang.Object o)
      ProMID are used in Collections, so this method has to be implemented in all its subclasses.
      boolean equalsIgnoreType​(java.lang.Object o)
      Determines equality between this ProMID and any given object.
      java.util.UUID getUUID()
      Returns a UUID that is used for this object.
      int hashCode()
      ProMID are used in HashMaps, so this method has to be implemented in all its subclasses.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProvidedObjectIDImpl

        public ProvidedObjectIDImpl()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Description copied from interface: ProMID
        ProMID are used in HashMaps, so this method has to be implemented in all its subclasses.
        Specified by:
        hashCode in interface ProMID
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Description copied from interface: ProMID
        ProMID are used in Collections, so this method has to be implemented in all its subclasses.
        Specified by:
        equals in interface ProMID
        Overrides:
        equals in class java.lang.Object
      • equalsIgnoreType

        public boolean equalsIgnoreType​(java.lang.Object o)
        Description copied from interface: ProMID
        Determines equality between this ProMID and any given object. Basically checks for equality using the toString() methods of both objects.
        Specified by:
        equalsIgnoreType in interface ProMID
        Parameters:
        o - the object to compare the string representation with
        Returns:
        true if the toString() of this provided object ID equals the toString() of the given object parameter.
      • compareTo

        public int compareTo​(ProMID o)
        Specified by:
        compareTo in interface java.lang.Comparable<ProMID>
      • getUUID

        public java.util.UUID getUUID()
        Description copied from interface: ProMID
        Returns a UUID that is used for this object.
        Specified by:
        getUUID in interface ProMID
        Returns: