Class HistoricVariableInstanceEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity
- All Implemented Interfaces:
Serializable,HistoricVariableInstance,DbEntity,DbEntityLifecycleAware,HasDbRevision,HistoricEntity,Nameable,ValueFields
public class HistoricVariableInstanceEntity
extends Object
implements ValueFields, HistoricVariableInstance, DbEntity, HasDbRevision, HistoricEntity, Serializable, DbEntityLifecycleAware
- Author:
- Christian Lipphardt (camunda)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ByteArrayFieldprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Doubleprotected Stringprotected Stringprotected static final EnginePersistenceLoggerprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected TypedValueFieldFields inherited from interface org.camunda.bpm.engine.history.HistoricVariableInstance
STATE_CREATED, STATE_DELETED -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Returns the corresponding activity instance id.Deprecated.byte[]The case definition reference.The case definition key reference.Return the corresponding case execution id.The case instance reference.The time when the variable was created.If the variable value could not be loaded, this returns the error message.Return the corresponding execution id.getId()getName()Returns the name of this variable instance.Returns a representation of the object, as would be stored in the database.The process definition reference.The process definition key reference.The process instance reference.The time when the historic variable instance will be removed.intintThe root process instance reference.getState()The current state of the variable.Return the corresponding task id.The id of the tenant this variable belongs to.Returns theTypedValueof this variable instance.getTypedValue(boolean deserializeValue) Returns the name of the type of this variable instancegetValue()Returns the value of this variable instance.Returns the name of this variable instance.Returns the name of the type of this variable instancevoidpostLoad()voidsetActivityInstanceId(String activityInstanceId) voidsetByteArrayId(String byteArrayId) voidsetByteArrayValue(byte[] bytes) voidsetByteArrayValue(ByteArrayEntity byteArrayValue) voidsetCaseDefinitionId(String caseDefinitionId) voidsetCaseDefinitionKey(String caseDefinitionKey) voidsetCaseExecutionId(String caseExecutionId) voidsetCaseInstanceId(String caseInstanceId) voidsetCreateTime(Date createTime) voidsetDoubleValue(Double doubleValue) voidsetExecutionId(String executionId) voidvoidsetLongValue(Long longValue) voidvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceId(String processInstanceId) voidsetRemovalTime(Date removalTime) voidsetRevision(int revision) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetSerializerName(String serializerName) voidvoidvoidsetTenantId(String tenantId) voidsetTextValue(String textValue) voidsetTextValue2(String textValue2) toString()voidupdateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
-
Field Details
-
LOG
-
id
-
processDefinitionKey
-
processDefinitionId
-
rootProcessInstanceId
-
processInstanceId
-
taskId
-
executionId
-
activityInstanceId
-
tenantId
-
caseDefinitionKey
-
caseDefinitionId
-
caseInstanceId
-
caseExecutionId
-
name
-
revision
protected int revision -
createTime
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
state
-
removalTime
-
byteArrayField
-
typedValueField
-
-
Constructor Details
-
HistoricVariableInstanceEntity
public HistoricVariableInstanceEntity() -
HistoricVariableInstanceEntity
-
-
Method Details
-
updateFromEvent
-
delete
public void delete() -
getPersistentState
Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceDbEntity
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNextin interfaceHasDbRevision
-
getValue
Description copied from interface:HistoricVariableInstanceReturns the value of this variable instance.- Specified by:
getValuein interfaceHistoricVariableInstance
-
getTypedValue
Description copied from interface:HistoricVariableInstanceReturns theTypedValueof this variable instance.- Specified by:
getTypedValuein interfaceHistoricVariableInstance
-
getTypedValue
-
getSerializer
-
getByteArrayValueId
-
getByteArrayId
-
setByteArrayId
-
getByteArrayValue
public byte[] getByteArrayValue()- Specified by:
getByteArrayValuein interfaceValueFields
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes) - Specified by:
setByteArrayValuein interfaceValueFields
-
postLoad
public void postLoad()- Specified by:
postLoadin interfaceDbEntityLifecycleAware
-
getSerializerName
-
setSerializerName
-
getTypeName
Description copied from interface:HistoricVariableInstanceReturns the name of the type of this variable instance- Specified by:
getTypeNamein interfaceHistoricVariableInstance- Returns:
- the type name of the variable
-
getVariableTypeName
Description copied from interface:HistoricVariableInstanceReturns the name of the type of this variable instance
Deprecated since 7.2: use
HistoricVariableInstance.getTypeName()instead.- Specified by:
getVariableTypeNamein interfaceHistoricVariableInstance
-
getVariableName
Description copied from interface:HistoricVariableInstanceReturns the name of this variable instance.Deprecated since 7.2: use
HistoricVariableInstance.getName()instead.- Specified by:
getVariableNamein interfaceHistoricVariableInstance
-
getRevision
public int getRevision()- Specified by:
getRevisionin interfaceHasDbRevision
-
setRevision
public void setRevision(int revision) - Specified by:
setRevisionin interfaceHasDbRevision
-
getName
Description copied from interface:HistoricVariableInstanceReturns the name of this variable instance.- Specified by:
getNamein interfaceHistoricVariableInstance- Specified by:
getNamein interfaceNameable
-
setName
-
getLongValue
- Specified by:
getLongValuein interfaceValueFields
-
setLongValue
- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceValueFields
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceValueFields
-
setTextValue
- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceValueFields
-
setTextValue2
- Specified by:
setTextValue2in interfaceValueFields
-
setByteArrayValue
-
getId
- Specified by:
getIdin interfaceDbEntity- Specified by:
getIdin interfaceHistoricVariableInstance- Returns:
- the Id of this variable instance
-
setId
-
getProcessDefinitionKey
Description copied from interface:HistoricVariableInstanceThe process definition key reference.- Specified by:
getProcessDefinitionKeyin interfaceHistoricVariableInstance
-
setProcessDefinitionKey
-
getProcessDefinitionId
Description copied from interface:HistoricVariableInstanceThe process definition reference.- Specified by:
getProcessDefinitionIdin interfaceHistoricVariableInstance
-
setProcessDefinitionId
-
getProcessInstanceId
Description copied from interface:HistoricVariableInstanceThe process instance reference.- Specified by:
getProcessInstanceIdin interfaceHistoricVariableInstance
-
setProcessInstanceId
-
getTaskId
Description copied from interface:HistoricVariableInstanceReturn the corresponding task id.- Specified by:
getTaskIdin interfaceHistoricVariableInstance
-
setTaskId
-
getExecutionId
Description copied from interface:HistoricVariableInstanceReturn the corresponding execution id.- Specified by:
getExecutionIdin interfaceHistoricVariableInstance
-
setExecutionId
-
getActivtyInstanceId
Deprecated.Description copied from interface:HistoricVariableInstanceReturns the corresponding activity instance id.- Specified by:
getActivtyInstanceIdin interfaceHistoricVariableInstance
-
getActivityInstanceId
Description copied from interface:HistoricVariableInstanceReturns the corresponding activity instance id.- Specified by:
getActivityInstanceIdin interfaceHistoricVariableInstance
-
setActivityInstanceId
-
getCaseDefinitionKey
Description copied from interface:HistoricVariableInstanceThe case definition key reference.- Specified by:
getCaseDefinitionKeyin interfaceHistoricVariableInstance
-
setCaseDefinitionKey
-
getCaseDefinitionId
Description copied from interface:HistoricVariableInstanceThe case definition reference.- Specified by:
getCaseDefinitionIdin interfaceHistoricVariableInstance
-
setCaseDefinitionId
-
getCaseInstanceId
Description copied from interface:HistoricVariableInstanceThe case instance reference.- Specified by:
getCaseInstanceIdin interfaceHistoricVariableInstance
-
setCaseInstanceId
-
getCaseExecutionId
Description copied from interface:HistoricVariableInstanceReturn the corresponding case execution id.- Specified by:
getCaseExecutionIdin interfaceHistoricVariableInstance
-
setCaseExecutionId
-
getErrorMessage
Description copied from interface:HistoricVariableInstanceIf the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessagein interfaceHistoricVariableInstance- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTenantId
Description copied from interface:HistoricVariableInstanceThe id of the tenant this variable belongs to. Can benullif the variable belongs to no single tenant.- Specified by:
getTenantIdin interfaceHistoricVariableInstance
-
setTenantId
-
getState
Description copied from interface:HistoricVariableInstanceThe current state of the variable. Can be 'CREATED' or 'DELETED'- Specified by:
getStatein interfaceHistoricVariableInstance
-
setState
-
getCreateTime
Description copied from interface:HistoricVariableInstanceThe time when the variable was created.- Specified by:
getCreateTimein interfaceHistoricVariableInstance
-
setCreateTime
-
getRootProcessInstanceId
Description copied from interface:HistoricVariableInstanceThe root process instance reference.- Specified by:
getRootProcessInstanceIdin interfaceHistoricVariableInstance
-
setRootProcessInstanceId
-
getRemovalTime
Description copied from interface:HistoricVariableInstanceThe time when the historic variable instance will be removed.- Specified by:
getRemovalTimein interfaceHistoricVariableInstance
-
setRemovalTime
-
toString
-