Interface ProMID

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • equals

        boolean equals​(java.lang.Object o)
        ProMID are used in Collections, so this method has to be implemented in all its subclasses.
        Overrides:
        equals in class java.lang.Object
        Returns:
      • hashCode

        int hashCode()
        ProMID are used in HashMaps, so this method has to be implemented in all its subclasses.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
      • equalsIgnoreType

        boolean equalsIgnoreType​(java.lang.Object o)
        Determines equality between this ProMID and any given object. Basically checks for equality using the toString() methods of both objects.
        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.
      • getUUID

        java.util.UUID getUUID()
        Returns a UUID that is used for this object.
        Returns: