Class ConnectionIDImpl
- java.lang.Object
-
- org.processmining.framework.connections.impl.ConnectionIDImpl
-
- All Implemented Interfaces:
java.lang.Comparable<ProMID>
,ConnectionID
,ProMID
public class ConnectionIDImpl extends java.lang.Object implements ConnectionID
-
-
Constructor Summary
Constructors Constructor Description ConnectionIDImpl()
-
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()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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.
-
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.
-
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 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:
compareTo
in interfacejava.lang.Comparable<ProMID>
-
-