Class ProvidedObjectIDImpl
- java.lang.Object
-
- org.processmining.framework.providedobjects.impl.ProvidedObjectIDImpl
-
- All Implemented Interfaces:
java.lang.Comparable<ProMID>,ProMID,ProvidedObjectID
public class ProvidedObjectIDImpl extends java.lang.Object implements ProvidedObjectID
-
-
Constructor Summary
Constructors Constructor Description ProvidedObjectIDImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ProMID o)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.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
Description copied from interface:ProMIDProMID are used in HashMaps, so this method has to be implemented in all its subclasses.
-
equals
public boolean equals(java.lang.Object o)
Description copied from interface:ProMIDProMID are used in Collections, so this method has to be implemented in all its subclasses.
-
equalsIgnoreType
public boolean equalsIgnoreType(java.lang.Object o)
Description copied from interface:ProMIDDetermines equality between this ProMID and any given object. Basically checks for equality using the toString() methods of both objects.- Specified by:
equalsIgnoreTypein interfaceProMID- 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:
compareToin interfacejava.lang.Comparable<ProMID>
-
-