Class 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.String SUFFIX  
    • 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
      void accept​(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.String getClassIdentity​(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.String name()
      Returns the name of this comparator
      boolean sameEventClass​(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.
      void setName​(java.lang.String arg0)
      Assigns a custom name to this classifier
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrefixClassifier

        public PrefixClassifier()
      • PrefixClassifier

        public PrefixClassifier​(org.deckfour.xes.classification.XEventClassifier classifier)
    • 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.XEventClassifier
        Runs the given visitor for the given log on this classifier.
        Specified by:
        accept in interface org.deckfour.xes.classification.XEventClassifier
      • getClassIdentity

        public java.lang.String getClassIdentity​(org.deckfour.xes.model.XEvent event)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Retrieves the unique class identity string of a given event.
        Specified by:
        getClassIdentity in interface org.deckfour.xes.classification.XEventClassifier
      • getDefiningAttributeKeys

        public java.lang.String[] getDefiningAttributeKeys()
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        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).
        Specified by:
        getDefiningAttributeKeys in interface org.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.XEventClassifier
        Returns the name of this comparator
        Specified by:
        name in interface org.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.XEventClassifier
        Checks whether two event instances correspond to the same event class, i.e. are equal in that sense.
        Specified by:
        sameEventClass in interface org.deckfour.xes.classification.XEventClassifier
      • setName

        public void setName​(java.lang.String arg0)
        Description copied from interface: org.deckfour.xes.classification.XEventClassifier
        Assigns a custom name to this classifier
        Specified by:
        setName in interface org.deckfour.xes.classification.XEventClassifier
        Parameters:
        arg0 - Name to be assigned to this classifier.