Class PrefixClassifier
- java.lang.Object
-
- org.processmining.logskeleton.classifiers.PrefixClassifier
-
- All Implemented Interfaces:
org.deckfour.xes.classification.XEventClassifier
public class PrefixClassifier extends java.lang.Object implements org.deckfour.xes.classification.XEventClassifier
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSUFFIX
-
Constructor Summary
Constructors Constructor Description PrefixClassifier()PrefixClassifier(org.deckfour.xes.classification.XEventClassifier classifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.deckfour.xes.model.XVisitor arg0, org.deckfour.xes.model.XLog arg1)Runs the given visitor for the given log on this classifier.java.lang.StringgetClassIdentity(org.deckfour.xes.model.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(org.deckfour.xes.model.XEvent arg0, org.deckfour.xes.model.XEvent arg1)Checks whether two event instances correspond to the same event class, i.e.voidsetName(java.lang.String arg0)Assigns a custom name to this classifier
-
-
-
Field Detail
-
SUFFIX
public static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public void accept(org.deckfour.xes.model.XVisitor arg0, org.deckfour.xes.model.XLog arg1)Description copied from interface:org.deckfour.xes.classification.XEventClassifierRuns the given visitor for the given log on this classifier.- Specified by:
acceptin interfaceorg.deckfour.xes.classification.XEventClassifier
-
getClassIdentity
public java.lang.String getClassIdentity(org.deckfour.xes.model.XEvent event)
Description copied from interface:org.deckfour.xes.classification.XEventClassifierRetrieves the unique class identity string of a given event.- Specified by:
getClassIdentityin interfaceorg.deckfour.xes.classification.XEventClassifier
-
getDefiningAttributeKeys
public java.lang.String[] getDefiningAttributeKeys()
Description copied from interface:org.deckfour.xes.classification.XEventClassifierRetrieves 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).- Specified by:
getDefiningAttributeKeysin interfaceorg.deckfour.xes.classification.XEventClassifier- Returns:
- A set of attribute keys, which are used for defining this classifier.
-
name
public java.lang.String name()
Description copied from interface:org.deckfour.xes.classification.XEventClassifierReturns the name of this comparator- Specified by:
namein interfaceorg.deckfour.xes.classification.XEventClassifier
-
sameEventClass
public boolean sameEventClass(org.deckfour.xes.model.XEvent arg0, org.deckfour.xes.model.XEvent arg1)Description copied from interface:org.deckfour.xes.classification.XEventClassifierChecks whether two event instances correspond to the same event class, i.e. are equal in that sense.- Specified by:
sameEventClassin interfaceorg.deckfour.xes.classification.XEventClassifier
-
setName
public void setName(java.lang.String arg0)
Description copied from interface:org.deckfour.xes.classification.XEventClassifierAssigns a custom name to this classifier- Specified by:
setNamein interfaceorg.deckfour.xes.classification.XEventClassifier- Parameters:
arg0- Name to be assigned to this classifier.
-
-