Class SFlowNodeInstance
- java.lang.Object
-
- org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance
-
- All Implemented Interfaces:
java.io.Serializable,PersistentObject
- Direct Known Subclasses:
SActivityInstance,SEventInstance,SGatewayInstance
@Entity public abstract class SFlowNodeInstance extends java.lang.Object implements PersistentObject
- Author:
- Feng Hui, Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intloopCounter
-
Constructor Summary
Constructors Constructor Description SFlowNodeInstance(java.lang.String name, long flowNodeDefinitionId, long rootContainerId, long parentContainerId, long logicalGroup1, long logicalGroup2)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SFlowElementsContainerTypegetContainerType()longgetLogicalGroup(int index)longgetParentActivityInstanceId()SFlowElementsContainerTypegetParentContainerType()longgetParentProcessInstanceId()longgetProcessDefinitionId()longgetRootProcessInstanceId()abstract SFlowNodeTypegetType()booleanisAborting()booleanisCanceling()booleanmustExecuteOnAbortOrCancelProcess()voidsetLogicalGroup(int index, long value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bonitasoft.engine.persistence.PersistentObject
getId, setId, setTenantId
-
-
-
-
Method Detail
-
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()
-
-