Package com.priint.pubserver.bpm.model
Class ProcessInstance
java.lang.Object
com.priint.pubserver.bpm.model.ProcessInstance
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()booleanisEnded()booleanvoidsetBusinessKey(String businessKey) voidsetDefinitionId(String definitionId) voidsetEnded(boolean ended) voidvoidsetSuspended(boolean suspended) voidsetTenantId(String tenantId) toString()
-
Method Details
-
getId
- Returns:
String- The unique identifier of the process instance.
-
getDefinitionId
- Returns:
String- The id of the process definition of the process instance.
-
getBusinessKey
- Returns:
String- The business key of this process instance.
-
getTenantId
- Returns:
String- The id of the tenant this process instance execution belongs to. Can be null if the execution belongs to no single tenant.
-
isEnded
public boolean isEnded()- Returns:
- true if the process instance execution ended.
-
isSuspended
public boolean isSuspended()- Returns:
- true if the process instance is in suspended state.
-
setId
- Parameters:
id-String- The unique identifier of the process instance.
-
setDefinitionId
- Parameters:
definitionId-String- The id of the process definition of the process instance.
-
setBusinessKey
- Parameters:
businessKey-String- The business key of this process instance.
-
setTenantId
- Parameters:
tenantId-String- The id of the tenant this process instance execution belongs to. Should be null if the execution belongs to no single tenant.
-
setEnded
public void setEnded(boolean ended) - Parameters:
ended- if the process instance processing has finished.
-
setSuspended
public void setSuspended(boolean suspended) - Parameters:
suspended- if the process instance is in suspended state.
-
equals
-
hashCode
public int hashCode() -
toString
-