Package org.deckfour.xes.classification
Interface XEventClassifier
-
- All Known Implementing Classes:
XEventAndClassifier,XEventAttributeClassifier,XEventLifeTransClassifier,XEventNameClassifier,XEventResourceClassifier
public interface XEventClassifierThis interface defines a classification of events. It assigns to each event instance a class identity, thereby imposing an equality relation on the set of events.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(XVisitor visior, XLog log)Runs the given visitor for the given log on this classifier.java.lang.StringgetClassIdentity(XEvent event)Retrieves the unique class identity string of a given event.java.lang.String[]getDefiningAttributeKeys()Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).java.lang.Stringname()Returns the name of this comparatorbooleansameEventClass(XEvent eventA, XEvent eventB)Checks whether two event instances correspond to the same event class, i.e.voidsetName(java.lang.String name)Assigns a custom name to this classifier
-
-
-
Method Detail
-
name
java.lang.String name()
Returns the name of this comparator
-
setName
void setName(java.lang.String name)
Assigns a custom name to this classifier- Parameters:
name- Name to be assigned to this classifier.
-
sameEventClass
boolean sameEventClass(XEvent eventA, XEvent eventB)
Checks whether two event instances correspond to the same event class, i.e. are equal in that sense.
-
getClassIdentity
java.lang.String getClassIdentity(XEvent event)
Retrieves the unique class identity string of a given event.
-
getDefiningAttributeKeys
java.lang.String[] getDefiningAttributeKeys()
Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).- Returns:
- A set of attribute keys, which are used for defining this classifier.
-
-