Package com.priint.pubserver.bpm.model
Class ProcessInstance
- java.lang.Object
-
- com.priint.pubserver.bpm.model.ProcessInstance
-
public class ProcessInstance extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetBusinessKey()java.lang.StringgetDefinitionId()java.lang.StringgetId()java.lang.StringgetTenantId()inthashCode()booleanisEnded()booleanisSuspended()voidsetBusinessKey(java.lang.String businessKey)voidsetDefinitionId(java.lang.String definitionId)voidsetEnded(boolean ended)voidsetId(java.lang.String id)voidsetSuspended(boolean suspended)voidsetTenantId(java.lang.String tenantId)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
String- The unique identifier of the process instance.
-
getDefinitionId
public java.lang.String getDefinitionId()
- Returns:
String- The id of the process definition of the process instance.
-
getBusinessKey
public java.lang.String getBusinessKey()
- Returns:
String- The business key of this process instance.
-
getTenantId
public java.lang.String 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
public void setId(java.lang.String id)
- Parameters:
id-String- The unique identifier of the process instance.
-
setDefinitionId
public void setDefinitionId(java.lang.String definitionId)
- Parameters:
definitionId-String- The id of the process definition of the process instance.
-
setBusinessKey
public void setBusinessKey(java.lang.String businessKey)
- Parameters:
businessKey-String- The business key of this process instance.
-
setTenantId
public void setTenantId(java.lang.String tenantId)
- 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
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-