org.processmining.mining.dmcscanning.equivalence
Interface ObjectEquivalence

All Known Implementing Classes:
FlowerEquivalence, StrictEquivalence

public interface ObjectEquivalence

Interface for pluggable equivalence relation/determination between data objects. The objective of derived classes is to, for a given system, determine whether two workflow model element identifiers in a log file correspond to actually the same data object. This serves the purpose to make workflow model elements that have, e.g., the process instance id appended, recognizable among multiple processes or process instances.

Author:
Christian W. Guenther (christian at deckfour dot org)

Method Summary
 boolean equivalent(java.lang.String wfmElementOne, java.lang.String wfmElementTwo)
          Checks for two given workflow model element identifiers, whether they refer to actually the same (abstract) object
 java.lang.String getCanonicalName(java.lang.String aWfmElement)
          Returns for a given workflow model element name the corresponding canonical name of the object referred
 boolean matches(java.lang.String aSystemName)
          Checks for a given system name (of e.g.
 java.lang.String toString()
           
 

Method Detail

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the name of the respective equivalence relation (i.e. the system or kind of log it is applicable for)

matches

boolean matches(java.lang.String aSystemName)
Checks for a given system name (of e.g. a WFMS software) whether this equivalence relation is applicable

Parameters:
aSystemName -
Returns:

getCanonicalName

java.lang.String getCanonicalName(java.lang.String aWfmElement)
Returns for a given workflow model element name the corresponding canonical name of the object referred

Parameters:
aWfmElement -
Returns:

equivalent

boolean equivalent(java.lang.String wfmElementOne,
                   java.lang.String wfmElementTwo)
Checks for two given workflow model element identifiers, whether they refer to actually the same (abstract) object

Parameters:
wfmElementOne -
wfmElementTwo -
Returns: