Class XModelAlignmentExtension

  • All Implemented Interfaces:
    java.io.Serializable

    public class XModelAlignmentExtension
    extends org.deckfour.xes.extension.XExtension
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assignClassifier​(org.deckfour.xes.model.XLog log, java.lang.String... attributes)  
      void assignModel​(org.deckfour.xes.model.XLog log, java.lang.String modelType, java.util.List<org.deckfour.xes.model.XAttribute> model)  
      void assignMoveModelNode​(org.deckfour.xes.model.XEvent event, int moveModelNode)  
      void assignMoveSourceNode​(org.deckfour.xes.model.XEvent event, int moveSourceNode)  
      void assignMoveType​(org.deckfour.xes.model.XEvent event, java.lang.String moveType)  
      java.lang.String[] extractClassifier​(org.deckfour.xes.model.XLog log)  
      java.util.List<org.deckfour.xes.model.XAttribute> extractModel​(org.deckfour.xes.model.XLog log)  
      java.lang.String extractModelType​(org.deckfour.xes.model.XLog log)  
      int extractMoveModelNode​(org.deckfour.xes.model.XEvent event)  
      int extractMoveSourceNode​(org.deckfour.xes.model.XEvent event)  
      java.lang.String extractMoveType​(org.deckfour.xes.model.XEvent event)  
      static XModelAlignmentExtension instance()  
      void removeAttributes​(org.deckfour.xes.model.XEvent event)  
      void removeAttributes​(org.deckfour.xes.model.XLog log)
      Removes the attributes that this extension defines from the log level (does not recurse onto traces or events).
      void removeAttributes​(org.deckfour.xes.model.XTrace trace)
      Removes the attributes that this extension defines from the trace level (does not recurse onto events).
      • Methods inherited from class org.deckfour.xes.extension.XExtension

        accept, equals, getDefinedAttributes, getEventAttributes, getLogAttributes, getMetaAttributes, getName, getPrefix, getTraceAttributes, getUri, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • EXTENSION_URI

        public static final java.net.URI EXTENSION_URI
        Unique URI of this extension.
      • KEY_MODEL_TYPE

        public static final java.lang.String KEY_MODEL_TYPE
        Keys for the attributes.
        See Also:
        Constant Field Values
      • KEY_CLASSIFIER_FIELD

        public static final java.lang.String KEY_CLASSIFIER_FIELD
        See Also:
        Constant Field Values
      • KEY_MOVE_SOURCE_NODE

        public static final java.lang.String KEY_MOVE_SOURCE_NODE
        See Also:
        Constant Field Values
      • KEY_MOVE_MODEL_NODE

        public static final java.lang.String KEY_MOVE_MODEL_NODE
        See Also:
        Constant Field Values
      • ATTR_MODEL_TYPE

        public static org.deckfour.xes.model.XAttributeLiteral ATTR_MODEL_TYPE
      • ATTR_MODEL

        public static org.deckfour.xes.model.XAttributeList ATTR_MODEL
      • ATTR_CLASSIFIER

        public static org.deckfour.xes.model.XAttributeList ATTR_CLASSIFIER
      • ATTR_CLASSIFIER_FIELD

        public static org.deckfour.xes.model.XAttributeLiteral ATTR_CLASSIFIER_FIELD
      • ATTR_MOVE_TYPE

        public static org.deckfour.xes.model.XAttributeLiteral ATTR_MOVE_TYPE
      • ATTR_MOVE_SOURCE_NODE

        public static org.deckfour.xes.model.XAttributeDiscrete ATTR_MOVE_SOURCE_NODE
      • ATTR_MOVE_MODEL_NODE

        public static org.deckfour.xes.model.XAttributeDiscrete ATTR_MOVE_MODEL_NODE
    • Method Detail

      • assignModel

        public void assignModel​(org.deckfour.xes.model.XLog log,
                                java.lang.String modelType,
                                java.util.List<org.deckfour.xes.model.XAttribute> model)
      • extractModelType

        public java.lang.String extractModelType​(org.deckfour.xes.model.XLog log)
        Parameters:
        log -
        Returns:
        the model type, or NULL if it is not an attribute of the log.
      • extractModel

        public java.util.List<org.deckfour.xes.model.XAttribute> extractModel​(org.deckfour.xes.model.XLog log)
        Parameters:
        log -
        Returns:
        the model, or NULL if it is not an attribute of the log.
      • assignClassifier

        public void assignClassifier​(org.deckfour.xes.model.XLog log,
                                     java.lang.String... attributes)
      • extractClassifier

        public java.lang.String[] extractClassifier​(org.deckfour.xes.model.XLog log)
        Parameters:
        log -
        Returns:
        The classifier, or NULL if it is not an attribute of the log.
      • assignMoveType

        public void assignMoveType​(org.deckfour.xes.model.XEvent event,
                                   java.lang.String moveType)
      • extractMoveType

        public java.lang.String extractMoveType​(org.deckfour.xes.model.XEvent event)
      • assignMoveSourceNode

        public void assignMoveSourceNode​(org.deckfour.xes.model.XEvent event,
                                         int moveSourceNode)
      • assignMoveModelNode

        public void assignMoveModelNode​(org.deckfour.xes.model.XEvent event,
                                        int moveModelNode)
      • extractMoveSourceNode

        public int extractMoveSourceNode​(org.deckfour.xes.model.XEvent event)
        Parameters:
        event -
        Returns:
        The model node this move is mapped to, or Integer.MIN_VALUE if the node is not mapped.
      • extractMoveModelNode

        public int extractMoveModelNode​(org.deckfour.xes.model.XEvent event)
        Parameters:
        event -
        Returns:
        The model node this move is mapped to, or Integer.MIN_VALUE if the node is not mapped.
      • removeAttributes

        public void removeAttributes​(org.deckfour.xes.model.XLog log)
        Removes the attributes that this extension defines from the log level (does not recurse onto traces or events).
        Parameters:
        log -
      • removeAttributes

        public void removeAttributes​(org.deckfour.xes.model.XTrace trace)
        Removes the attributes that this extension defines from the trace level (does not recurse onto events).
        Parameters:
        trace -
      • removeAttributes

        public void removeAttributes​(org.deckfour.xes.model.XEvent event)