Package org.processmining.framework
Interface ProMID
-
- All Superinterfaces:
java.lang.Comparable<ProMID>
- All Known Subinterfaces:
ConnectionID,ProvidedObjectID
- All Known Implementing Classes:
ConnectionIDImpl,ProvidedObjectIDImpl
public interface ProMID extends java.lang.Comparable<ProMID>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ProMID are used in Collections, so this method has to be implemented in all its subclasses.booleanequalsIgnoreType(java.lang.Object o)Determines equality between this ProMID and any given object.java.util.UUIDgetUUID()Returns a UUID that is used for this object.inthashCode()ProMID are used in HashMaps, so this method has to be implemented in all its subclasses.
-
-
-
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:
equalsin classjava.lang.Object- Returns:
-
hashCode
int hashCode()
ProMID are used in HashMaps, so this method has to be implemented in all its subclasses.- Overrides:
hashCodein classjava.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:
-
-