Class BaseWorkInstanceImpl
- java.lang.Object
-
- com.flowable.platform.engine.impl.work.BaseWorkInstanceImpl
-
- All Implemented Interfaces:
WorkInstanceInfo
- Direct Known Subclasses:
HistoricWorkInstanceImpl,WorkInstanceImpl
public class BaseWorkInstanceImpl extends Object implements WorkInstanceInfo
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessKeyprotected StringbusinessStatusprotected StringdefinitionCategoryprotected StringdefinitionDeploymentIdprotected StringdefinitionIdprotected StringdefinitionKeyprotected StringdefinitionNameprotected IntegerdefinitionVersionprotected Stringidprotected Stringnameprotected DatestartTimeprotected StringstartUserIdprotected Stringstateprotected StringtenantIdprotected List<Translation>translationsprotected Stringtype
-
Constructor Summary
Constructors Constructor Description BaseWorkInstanceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBusinessKey()The business key of the instanceStringgetBusinessStatus()The user provided business status for this process instance.StringgetDefinitionCategory()The definition category of the instanceStringgetDefinitionDeploymentId()The definition deployment id of the instanceStringgetDefinitionId()The definition id of the instanceStringgetDefinitionKey()The definition key of the instanceStringgetDefinitionName()The definition name of the instanceIntegergetDefinitionVersion()The definition version of the instanceStringgetId()The id of the instanceStringgetName()The name of the instanceDategetStartTime()The time the instance was startedStringgetStartUserId()The id of the user that started the instanceStringgetState()The state of the instance.StringgetTenantId()The tenant id of the instanceList<Translation>getTranslations()The translations for the work instance.StringgetType()The type of the instance, e.g.voidsetBusinessKey(String businessKey)voidsetBusinessStatus(String businessStatus)voidsetDefinitionCategory(String definitionCategory)voidsetDefinitionDeploymentId(String definitionDeploymentId)voidsetDefinitionId(String definitionId)voidsetDefinitionKey(String definitionKey)voidsetDefinitionName(String definitionName)voidsetDefinitionVersion(Integer definitionVersion)voidsetId(String id)voidsetName(String name)voidsetStartTime(Date startTime)voidsetStartUserId(String startUserId)voidsetState(String state)voidsetTenantId(String tenantId)voidsetTranslations(List<Translation> translations)voidsetType(String type)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
businessKey
protected String businessKey
-
businessStatus
protected String businessStatus
-
tenantId
protected String tenantId
-
type
protected String type
-
startTime
protected Date startTime
-
startUserId
protected String startUserId
-
state
protected String state
-
definitionId
protected String definitionId
-
definitionName
protected String definitionName
-
definitionKey
protected String definitionKey
-
definitionVersion
protected Integer definitionVersion
-
definitionDeploymentId
protected String definitionDeploymentId
-
definitionCategory
protected String definitionCategory
-
translations
protected List<Translation> translations
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:WorkInstanceInfoThe id of the instance- Specified by:
getIdin interfaceWorkInstanceInfo
-
setId
public void setId(String id)
-
getName
public String getName()
Description copied from interface:WorkInstanceInfoThe name of the instance- Specified by:
getNamein interfaceWorkInstanceInfo
-
setName
public void setName(String name)
-
getBusinessKey
public String getBusinessKey()
Description copied from interface:WorkInstanceInfoThe business key of the instance- Specified by:
getBusinessKeyin interfaceWorkInstanceInfo
-
setBusinessKey
public void setBusinessKey(String businessKey)
-
getBusinessStatus
public String getBusinessStatus()
Description copied from interface:WorkInstanceInfoThe user provided business status for this process instance.- Specified by:
getBusinessStatusin interfaceWorkInstanceInfo
-
setBusinessStatus
public void setBusinessStatus(String businessStatus)
-
getTenantId
public String getTenantId()
Description copied from interface:WorkInstanceInfoThe tenant id of the instance- Specified by:
getTenantIdin interfaceWorkInstanceInfo
-
setTenantId
public void setTenantId(String tenantId)
-
getType
public String getType()
Description copied from interface:WorkInstanceInfo- Specified by:
getTypein interfaceWorkInstanceInfo
-
setType
public void setType(String type)
-
getStartTime
public Date getStartTime()
Description copied from interface:WorkInstanceInfoThe time the instance was started- Specified by:
getStartTimein interfaceWorkInstanceInfo
-
setStartTime
public void setStartTime(Date startTime)
-
getStartUserId
public String getStartUserId()
Description copied from interface:WorkInstanceInfoThe id of the user that started the instance- Specified by:
getStartUserIdin interfaceWorkInstanceInfo
-
setStartUserId
public void setStartUserId(String startUserId)
-
getState
public String getState()
Description copied from interface:WorkInstanceInfoThe state of the instance. Can benull.- Specified by:
getStatein interfaceWorkInstanceInfo
-
setState
public void setState(String state)
-
getDefinitionId
public String getDefinitionId()
Description copied from interface:WorkInstanceInfoThe definition id of the instance- Specified by:
getDefinitionIdin interfaceWorkInstanceInfo
-
setDefinitionId
public void setDefinitionId(String definitionId)
-
getDefinitionName
public String getDefinitionName()
Description copied from interface:WorkInstanceInfoThe definition name of the instance- Specified by:
getDefinitionNamein interfaceWorkInstanceInfo
-
setDefinitionName
public void setDefinitionName(String definitionName)
-
getDefinitionKey
public String getDefinitionKey()
Description copied from interface:WorkInstanceInfoThe definition key of the instance- Specified by:
getDefinitionKeyin interfaceWorkInstanceInfo
-
setDefinitionKey
public void setDefinitionKey(String definitionKey)
-
getDefinitionVersion
public Integer getDefinitionVersion()
Description copied from interface:WorkInstanceInfoThe definition version of the instance- Specified by:
getDefinitionVersionin interfaceWorkInstanceInfo
-
setDefinitionVersion
public void setDefinitionVersion(Integer definitionVersion)
-
getDefinitionDeploymentId
public String getDefinitionDeploymentId()
Description copied from interface:WorkInstanceInfoThe definition deployment id of the instance- Specified by:
getDefinitionDeploymentIdin interfaceWorkInstanceInfo
-
setDefinitionDeploymentId
public void setDefinitionDeploymentId(String definitionDeploymentId)
-
getDefinitionCategory
public String getDefinitionCategory()
Description copied from interface:WorkInstanceInfoThe definition category of the instance- Specified by:
getDefinitionCategoryin interfaceWorkInstanceInfo
-
setDefinitionCategory
public void setDefinitionCategory(String definitionCategory)
-
getTranslations
public List<Translation> getTranslations()
Description copied from interface:WorkInstanceInfoThe translations for the work instance.- Specified by:
getTranslationsin interfaceWorkInstanceInfo
-
setTranslations
public void setTranslations(List<Translation> translations)
-
-