Interface ProMID

All Superinterfaces:
Comparable<ProMID>
All Known Subinterfaces:
ConnectionID, ProvidedObjectID
All Known Implementing Classes:
ConnectionIDImpl, ProvidedObjectIDImpl

public interface ProMID extends Comparable<ProMID>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    ProMID are used in Collections, so this method has to be implemented in all its subclasses.
    boolean
    Determines equality between this ProMID and any given object.
    Returns a UUID that is used for this object.
    int
    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 Details

    • equals

      boolean equals(Object o)
      ProMID are used in Collections, so this method has to be implemented in all its subclasses.
      Overrides:
      equals in class 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 Object
      Returns:
    • equalsIgnoreType

      boolean equalsIgnoreType(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

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