Class XObjectLifecycleExtension

  • All Implemented Interfaces:
    java.io.Serializable

    public class XObjectLifecycleExtension
    extends org.deckfour.xes.extension.XExtension
    Extension that adds possibly multiple lifecycle transitions in lifecycle models for object instances to events. Using this extension, events can signal a transition in multiple lifecycle models for multiple object instances. For example, an event can signal a transition 'complete' in the case lifecycle model of case instance 'case1', while at the same time signaling a 'complete' transition in the activity lifecycle model of activity instance 'activityXnr123'.
    Author:
    B.F.A. Hompes
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.deckfour.xes.model.XAttributeList ATTR_MOVES
      Attribute prototype.
      static java.lang.String KEY_INSTANCE  
      static java.lang.String KEY_MODEL  
      static java.lang.String KEY_MOVES
      Keys for the attribute.
      static java.lang.String KEY_TRANSITION  
      static java.lang.String KEY_TYPE  
      • Fields inherited from class org.deckfour.xes.extension.XExtension

        allAttributes, eventAttributes, logAttributes, metaAttributes, name, prefix, traceAttributes, uri
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.deckfour.xes.model.XEvent event, java.lang.String type, java.lang.String instance, java.lang.String model, java.lang.String transition)  
      java.util.Collection<org.deckfour.xes.model.XAttribute> extractMoves​(org.deckfour.xes.model.XEvent event)  
      java.util.Set<java.util.List<java.lang.String>> extractMovesListSet​(org.deckfour.xes.model.XEvent event)  
      static XObjectLifecycleExtension instance()
      Provides static access to the singleton instance of this extension.
      • 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

      • KEY_MOVES

        public static final java.lang.String KEY_MOVES
        Keys for the attribute.
      • KEY_MODEL

        public static final java.lang.String KEY_MODEL
      • KEY_TYPE

        public static final java.lang.String KEY_TYPE
      • KEY_INSTANCE

        public static final java.lang.String KEY_INSTANCE
      • KEY_TRANSITION

        public static final java.lang.String KEY_TRANSITION
      • ATTR_MOVES

        public static org.deckfour.xes.model.XAttributeList ATTR_MOVES
        Attribute prototype.
    • Method Detail

      • instance

        public static XObjectLifecycleExtension instance()
        Provides static access to the singleton instance of this extension.
        Returns:
        Singleton instance.
      • extractMoves

        public java.util.Collection<org.deckfour.xes.model.XAttribute> extractMoves​(org.deckfour.xes.model.XEvent event)
      • add

        public void add​(org.deckfour.xes.model.XEvent event,
                        java.lang.String type,
                        java.lang.String instance,
                        java.lang.String model,
                        java.lang.String transition)
      • extractMovesListSet

        public java.util.Set<java.util.List<java.lang.String>> extractMovesListSet​(org.deckfour.xes.model.XEvent event)