Class LifecycleModel

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.transitionsystem.State,​org.processmining.models.graphbased.directed.transitionsystem.Transition>>, org.processmining.models.graphbased.AttributeMapOwner, org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.transitionsystem.State,​org.processmining.models.graphbased.directed.transitionsystem.Transition>, org.processmining.models.graphbased.directed.DirectedGraphElement, org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem

    public class LifecycleModel
    extends org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AGGREGATION  
      • Fields inherited from class org.processmining.models.graphbased.AbstractGraph

        id
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canExecuteTransition​(java.lang.Object identifier, long dateTime)
      Checks whether the transition can be executed given the current state and time.
      protected void cloneFrom​(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)  
      int compareTo​(LifecycleModel model)  
      boolean equals​(java.lang.Object obj)  
      org.processmining.models.graphbased.directed.transitionsystem.State getCurrentState()  
      java.lang.Object getCurrentStateIdentifier()  
      java.lang.String getInstance()  
      java.util.List<TimedPerformanceMetric> getTimedPerformanceMetrics()  
      long getTimeEnteredCurrentState()  
      int hashCode()  
      org.processmining.models.graphbased.directed.transitionsystem.State setCurrentStateIdentifier​(java.lang.Object identifier)  
      void setInstance​(java.lang.String instance)  
      void setTimedPerformanceMetrics​(java.util.List<TimedPerformanceMetric> performanceMetrics)  
      void setTimeEnteredCurrentState​(long timeEnteredCurrentState)  
      boolean stateHasOutGoingTransition​(java.lang.Object stateIdentifier, java.lang.Object transitionIdentifier)
      Checks whether the state has the outgoing transition.
      boolean timeIsLaterThanTimeEnteredCurrentState​(long dateTime)
      Checks whether the dateTime is (strictly) later than the time of the last executed transition in this lifecyle model.
      java.lang.String toString()  
      • Methods inherited from class org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl

        addProxyMap, addState, addTransition, cloneFrom, findTransition, getEdges, getEdges, getEmptyClone, getNode, getNodes, getStates, getTransitionObjects, getTransitions, putProxy, removeEdge, removeNode, removeState, removeTransition
      • Methods inherited from class org.processmining.models.graphbased.directed.AbstractDirectedGraph

        checkAddEdge, compareTo, getGraph, getInEdges, getOutEdges, graphElementAdded, graphElementChanged, graphElementRemoved, removeSurroundingEdges
      • Methods inherited from class org.processmining.models.graphbased.AbstractGraph

        getEdges, removeFromEdges, removeNodeFromCollection
      • Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement

        getAttributeMap, getLabel
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.processmining.models.graphbased.AttributeMapOwner

        getAttributeMap
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraph

        getInEdges, getOutEdges
      • Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphElement

        getGraph
      • Methods inherited from interface org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem

        getLabel
    • Constructor Detail

      • LifecycleModel

        public LifecycleModel​(java.lang.String label,
                              java.lang.String instance,
                              java.lang.Object currentStateIdentifier,
                              long timeEnteredCurrentState,
                              java.util.List<TimedPerformanceMetric> performanceMetrics)
      • LifecycleModel

        public LifecycleModel​(java.lang.String label)
      • LifecycleModel

        public LifecycleModel​(java.lang.String label,
                              java.lang.String instance)
      • LifecycleModel

        public LifecycleModel​(LifecycleModel model,
                              java.lang.String instance)
      • LifecycleModel

        public LifecycleModel​(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)
      • LifecycleModel

        public LifecycleModel​(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts,
                              java.lang.String instance)
    • Method Detail

      • getInstance

        public java.lang.String getInstance()
      • setInstance

        public void setInstance​(java.lang.String instance)
      • getCurrentStateIdentifier

        public java.lang.Object getCurrentStateIdentifier()
      • getCurrentState

        public org.processmining.models.graphbased.directed.transitionsystem.State getCurrentState()
      • setCurrentStateIdentifier

        public org.processmining.models.graphbased.directed.transitionsystem.State setCurrentStateIdentifier​(java.lang.Object identifier)
      • getTimeEnteredCurrentState

        public long getTimeEnteredCurrentState()
      • setTimeEnteredCurrentState

        public void setTimeEnteredCurrentState​(long timeEnteredCurrentState)
      • setTimedPerformanceMetrics

        public void setTimedPerformanceMetrics​(java.util.List<TimedPerformanceMetric> performanceMetrics)
      • cloneFrom

        protected void cloneFrom​(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)
      • canExecuteTransition

        public boolean canExecuteTransition​(java.lang.Object identifier,
                                            long dateTime)
        Checks whether the transition can be executed given the current state and time.
        Parameters:
        identifier -
        dateTime -
        Returns:
      • stateHasOutGoingTransition

        public boolean stateHasOutGoingTransition​(java.lang.Object stateIdentifier,
                                                  java.lang.Object transitionIdentifier)
        Checks whether the state has the outgoing transition.
        Parameters:
        stateIdentifier -
        transitionIdentifier -
        Returns:
      • timeIsLaterThanTimeEnteredCurrentState

        public boolean timeIsLaterThanTimeEnteredCurrentState​(long dateTime)
        Checks whether the dateTime is (strictly) later than the time of the last executed transition in this lifecyle model.
        Parameters:
        dateTime -
        Returns:
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface org.processmining.models.graphbased.directed.DirectedGraphElement
        Overrides:
        equals in class org.processmining.models.graphbased.AbstractGraph
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.processmining.models.graphbased.directed.DirectedGraphElement
        Overrides:
        hashCode in class org.processmining.models.graphbased.AbstractGraph
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.processmining.models.graphbased.AbstractGraphElement