public class SProcessInstanceImpl extends SNamedElementImpl implements SProcessInstance
| Constructor and Description |
|---|
SProcessInstanceImpl() |
SProcessInstanceImpl(SProcessDefinition definition) |
SProcessInstanceImpl(String name,
long processDefinitionId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCallerId()
Get the id of the call activity that started the process instance.
|
SFlowNodeType |
getCallerType()
Get the caller's SFlowNodeType.
|
long |
getContainerId() |
SFlowElementsContainerType |
getContainerType() |
String |
getDescription() |
String |
getDiscriminator() |
long |
getEndDate() |
long |
getInterruptingEventId()
Get the id of the end error event that interrupted the process instance.
|
long |
getLastUpdate() |
long |
getProcessDefinitionId() |
long |
getRootProcessInstanceId() |
long |
getStartDate() |
long |
getStartedBy() |
long |
getStartedBySubstitute() |
SStateCategory |
getStateCategory() |
int |
getStateId() |
String |
getStringIndex1() |
String |
getStringIndex2() |
String |
getStringIndex3() |
String |
getStringIndex4() |
String |
getStringIndex5() |
boolean |
hasBeenInterruptedByEvent() |
int |
hashCode() |
boolean |
isRootInstance()
Determines if this instance is a root process instance.
|
void |
setCallerId(long callerId) |
void |
setCallerType(SFlowNodeType callerType) |
void |
setContainerId(long containerId) |
void |
setDescription(String description) |
void |
setEndDate(long endDate) |
void |
setId(long id) |
void |
setInterruptingEventId(long interruptingEventId) |
void |
setLastUpdate(long lastUpdate) |
void |
setRootProcessInstanceId(long rootProcessInstanceId) |
void |
setStartDate(long startDate) |
void |
setStartedBy(long startedBy) |
void |
setStartedBySubstitute(long startedBySubstitute) |
void |
setStateCategory(SStateCategory processStateCategory) |
void |
setStateId(int stateId) |
void |
setStringIndex1(String stringIndex1) |
void |
setStringIndex2(String stringIndex2) |
void |
setStringIndex3(String stringIndex3) |
void |
setStringIndex4(String stringIndex4) |
void |
setStringIndex5(String stringIndex5) |
String |
toString() |
getName, setNamegetId, getTenantId, setTenantIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, setNamegetId, setTenantIdpublic SProcessInstanceImpl()
public SProcessInstanceImpl(String name, long processDefinitionId)
public SProcessInstanceImpl(SProcessDefinition definition)
public void setId(long id)
setId in interface PersistentObjectsetId in class SPersistenceObjectImplpublic String getDiscriminator()
getDiscriminator in interface PersistentObjectpublic long getProcessDefinitionId()
getProcessDefinitionId in interface SProcessInstancepublic String getDescription()
getDescription in interface SProcessInstancepublic void setDescription(String description)
public int getStateId()
getStateId in interface SProcessInstancepublic void setStateId(int stateId)
public long getStartDate()
getStartDate in interface SProcessInstancepublic void setStartDate(long startDate)
public long getStartedBy()
getStartedBy in interface SProcessInstancepublic void setStartedBy(long startedBy)
public long getStartedBySubstitute()
getStartedBySubstitute in interface SProcessInstancepublic void setStartedBySubstitute(long startedBySubstitute)
public long getEndDate()
getEndDate in interface SProcessInstancepublic void setEndDate(long endDate)
public long getLastUpdate()
getLastUpdate in interface SProcessInstancepublic void setLastUpdate(long lastUpdate)
public long getContainerId()
getContainerId in interface SProcessInstancepublic void setContainerId(long containerId)
public long getRootProcessInstanceId()
getRootProcessInstanceId in interface SProcessInstancepublic void setRootProcessInstanceId(long rootProcessInstanceId)
public long getCallerId()
SProcessInstancegetCallerId in interface SProcessInstancepublic void setCallerId(long callerId)
public SFlowNodeType getCallerType()
SProcessInstancegetCallerType in interface SProcessInstancepublic void setCallerType(SFlowNodeType callerType)
public long getInterruptingEventId()
SProcessInstancegetInterruptingEventId in interface SProcessInstancepublic void setInterruptingEventId(long interruptingEventId)
public SStateCategory getStateCategory()
getStateCategory in interface SProcessInstancepublic void setStateCategory(SStateCategory processStateCategory)
public SFlowElementsContainerType getContainerType()
getContainerType in interface SFlowElementsContainerpublic String getStringIndex1()
getStringIndex1 in interface SProcessInstancepublic void setStringIndex1(String stringIndex1)
public String getStringIndex2()
getStringIndex2 in interface SProcessInstancepublic void setStringIndex2(String stringIndex2)
public String getStringIndex3()
getStringIndex3 in interface SProcessInstancepublic void setStringIndex3(String stringIndex3)
public String getStringIndex4()
getStringIndex4 in interface SProcessInstancepublic void setStringIndex4(String stringIndex4)
public String getStringIndex5()
getStringIndex5 in interface SProcessInstancepublic void setStringIndex5(String stringIndex5)
public boolean hasBeenInterruptedByEvent()
hasBeenInterruptedByEvent in interface SProcessInstancepublic boolean isRootInstance()
SProcessInstanceisRootInstance in interface SProcessInstancepublic boolean equals(Object o)
equals in class SNamedElementImplpublic int hashCode()
hashCode in class SNamedElementImplCopyright © 2019 Bonitasoft S.A.. All rights reserved.