Class SFlowNodeInstance

java.lang.Object
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance
All Implemented Interfaces:
Serializable, PersistentObject
Direct Known Subclasses:
SActivityInstance, SEventInstance, SGatewayInstance

@Entity public abstract class SFlowNodeInstance extends Object implements PersistentObject
Author:
Feng Hui, Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
See Also:
  • Field Details

    • loopCounter

      protected int loopCounter
  • Constructor Details

    • SFlowNodeInstance

      public SFlowNodeInstance(String name, long flowNodeDefinitionId, long rootContainerId, long parentContainerId, long logicalGroup1, long logicalGroup2)
  • Method Details

    • getProcessDefinitionId

      public long getProcessDefinitionId()
    • getRootProcessInstanceId

      public long getRootProcessInstanceId()
      Returns:
      the root process instance is the top level process containing this element
    • getParentActivityInstanceId

      public long getParentActivityInstanceId()
      Returns:
      the id of the activity instance containing this element or 0 if this element is not contained in an activity
    • getParentProcessInstanceId

      public long getParentProcessInstanceId()
      Returns:
      the id of the process instance containing this element
    • getParentContainerType

      public SFlowElementsContainerType getParentContainerType()
      Returns:
      the type of the element that contains this element
    • getLogicalGroup

      public long getLogicalGroup(int index)
    • isAborting

      public boolean isAborting()
    • isCanceling

      public boolean isCanceling()
    • setLogicalGroup

      public void setLogicalGroup(int index, long value)
    • getContainerType

      public SFlowElementsContainerType getContainerType()
    • mustExecuteOnAbortOrCancelProcess

      public boolean mustExecuteOnAbortOrCancelProcess()
      Returns:
      true if the execution must continues automatically on abort or cancel the parent process instance
    • getType

      public abstract SFlowNodeType getType()