public class HistoricVariableInstanceEntity extends Object implements ValueFields, HistoricVariableInstance, DbEntity, HasDbRevision, HistoricEntity, Serializable, DbEntityLifecycleAware
Modifier and Type | Field and Description |
---|---|
protected String |
activityInstanceId |
protected ByteArrayField |
byteArrayField |
protected String |
caseDefinitionId |
protected String |
caseDefinitionKey |
protected String |
caseExecutionId |
protected String |
caseInstanceId |
protected Date |
createTime |
protected Double |
doubleValue |
protected String |
executionId |
protected String |
id |
protected static EnginePersistenceLogger |
LOG |
protected Long |
longValue |
protected String |
name |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected Date |
removalTime |
protected int |
revision |
protected String |
rootProcessInstanceId |
protected String |
state |
protected String |
taskId |
protected String |
tenantId |
protected String |
textValue |
protected String |
textValue2 |
protected TypedValueField |
typedValueField |
STATE_CREATED, STATE_DELETED
Constructor and Description |
---|
HistoricVariableInstanceEntity() |
HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getActivityInstanceId()
Returns the corresponding activity instance id.
|
String |
getActivtyInstanceId()
Deprecated.
|
String |
getByteArrayId() |
byte[] |
getByteArrayValue() |
String |
getByteArrayValueId() |
String |
getCaseDefinitionId()
The case definition reference.
|
String |
getCaseDefinitionKey()
The case definition key reference.
|
String |
getCaseExecutionId()
Return the corresponding case execution id.
|
String |
getCaseInstanceId()
The case instance reference.
|
Date |
getCreateTime()
The time when the variable was created.
|
Double |
getDoubleValue() |
String |
getErrorMessage()
If the variable value could not be loaded, this returns the error message.
|
String |
getExecutionId()
Return the corresponding execution id.
|
String |
getId() |
Long |
getLongValue() |
String |
getName()
Returns the name of this variable instance.
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getProcessDefinitionId()
The process definition reference.
|
String |
getProcessDefinitionKey()
The process definition key reference.
|
String |
getProcessInstanceId()
The process instance reference.
|
Date |
getRemovalTime()
The time when the historic variable instance will be removed.
|
int |
getRevision() |
int |
getRevisionNext() |
String |
getRootProcessInstanceId()
The root process instance reference.
|
TypedValueSerializer<?> |
getSerializer() |
String |
getSerializerName() |
String |
getState()
The current state of the variable.
|
String |
getTaskId()
Return the corresponding task id.
|
String |
getTenantId()
The id of the tenant this variable belongs to.
|
String |
getTextValue() |
String |
getTextValue2() |
org.camunda.bpm.engine.variable.value.TypedValue |
getTypedValue()
Returns the
TypedValue of this variable instance. |
org.camunda.bpm.engine.variable.value.TypedValue |
getTypedValue(boolean deserializeValue) |
String |
getTypeName()
Returns the name of the type of this variable instance
|
Object |
getValue()
Returns the value of this variable instance.
|
String |
getVariableName()
Returns the name of this variable instance.
|
String |
getVariableTypeName()
Returns the name of the type of this variable instance
|
void |
postLoad() |
void |
setActivityInstanceId(String activityInstanceId) |
void |
setByteArrayId(String byteArrayId) |
void |
setByteArrayValue(byte[] bytes) |
void |
setByteArrayValue(ByteArrayEntity byteArrayValue) |
void |
setCaseDefinitionId(String caseDefinitionId) |
void |
setCaseDefinitionKey(String caseDefinitionKey) |
void |
setCaseExecutionId(String caseExecutionId) |
void |
setCaseInstanceId(String caseInstanceId) |
void |
setCreateTime(Date createTime) |
void |
setDoubleValue(Double doubleValue) |
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setLongValue(Long longValue) |
void |
setName(String name) |
void |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessDefinitionKey(String processDefinitionKey) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRemovalTime(Date removalTime) |
void |
setRevision(int revision) |
void |
setRootProcessInstanceId(String rootProcessInstanceId) |
void |
setSerializerName(String serializerName) |
void |
setState(String state) |
void |
setTaskId(String taskId) |
void |
setTenantId(String tenantId) |
void |
setTextValue(String textValue) |
void |
setTextValue2(String textValue2) |
String |
toString() |
void |
updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) |
protected static final EnginePersistenceLogger LOG
protected String id
protected String processDefinitionKey
protected String processDefinitionId
protected String rootProcessInstanceId
protected String processInstanceId
protected String taskId
protected String executionId
protected String activityInstanceId
protected String tenantId
protected String caseDefinitionKey
protected String caseDefinitionId
protected String caseInstanceId
protected String caseExecutionId
protected String name
protected int revision
protected Date createTime
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected String state
protected Date removalTime
protected ByteArrayField byteArrayField
protected TypedValueField typedValueField
public HistoricVariableInstanceEntity()
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
public void delete()
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public Object getValue()
HistoricVariableInstance
getValue
in interface HistoricVariableInstance
public org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
HistoricVariableInstance
TypedValue
of this variable instance.getTypedValue
in interface HistoricVariableInstance
public org.camunda.bpm.engine.variable.value.TypedValue getTypedValue(boolean deserializeValue)
public TypedValueSerializer<?> getSerializer()
public String getByteArrayValueId()
public String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public byte[] getByteArrayValue()
getByteArrayValue
in interface ValueFields
public void setByteArrayValue(byte[] bytes)
setByteArrayValue
in interface ValueFields
public void postLoad()
postLoad
in interface DbEntityLifecycleAware
public String getSerializerName()
public void setSerializerName(String serializerName)
public String getTypeName()
HistoricVariableInstance
getTypeName
in interface HistoricVariableInstance
public String getVariableTypeName()
HistoricVariableInstance
Returns the name of the type of this variable instance
Deprecated since 7.2: use HistoricVariableInstance.getTypeName()
instead.
getVariableTypeName
in interface HistoricVariableInstance
public String getVariableName()
HistoricVariableInstance
Deprecated since 7.2: use HistoricVariableInstance.getName()
instead.
getVariableName
in interface HistoricVariableInstance
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
public String getName()
HistoricVariableInstance
getName
in interface HistoricVariableInstance
getName
in interface Nameable
public void setName(String name)
public Long getLongValue()
getLongValue
in interface ValueFields
public void setLongValue(Long longValue)
setLongValue
in interface ValueFields
public Double getDoubleValue()
getDoubleValue
in interface ValueFields
public void setDoubleValue(Double doubleValue)
setDoubleValue
in interface ValueFields
public String getTextValue()
getTextValue
in interface ValueFields
public void setTextValue(String textValue)
setTextValue
in interface ValueFields
public String getTextValue2()
getTextValue2
in interface ValueFields
public void setTextValue2(String textValue2)
setTextValue2
in interface ValueFields
public void setByteArrayValue(ByteArrayEntity byteArrayValue)
public String getId()
getId
in interface HistoricVariableInstance
getId
in interface DbEntity
public String getProcessDefinitionKey()
HistoricVariableInstance
getProcessDefinitionKey
in interface HistoricVariableInstance
public void setProcessDefinitionKey(String processDefinitionKey)
public String getProcessDefinitionId()
HistoricVariableInstance
getProcessDefinitionId
in interface HistoricVariableInstance
public void setProcessDefinitionId(String processDefinitionId)
public String getProcessInstanceId()
HistoricVariableInstance
getProcessInstanceId
in interface HistoricVariableInstance
public void setProcessInstanceId(String processInstanceId)
public String getTaskId()
HistoricVariableInstance
getTaskId
in interface HistoricVariableInstance
public void setTaskId(String taskId)
public String getExecutionId()
HistoricVariableInstance
getExecutionId
in interface HistoricVariableInstance
public void setExecutionId(String executionId)
@Deprecated public String getActivtyInstanceId()
HistoricVariableInstance
getActivtyInstanceId
in interface HistoricVariableInstance
public String getActivityInstanceId()
HistoricVariableInstance
getActivityInstanceId
in interface HistoricVariableInstance
public void setActivityInstanceId(String activityInstanceId)
public String getCaseDefinitionKey()
HistoricVariableInstance
getCaseDefinitionKey
in interface HistoricVariableInstance
public void setCaseDefinitionKey(String caseDefinitionKey)
public String getCaseDefinitionId()
HistoricVariableInstance
getCaseDefinitionId
in interface HistoricVariableInstance
public void setCaseDefinitionId(String caseDefinitionId)
public String getCaseInstanceId()
HistoricVariableInstance
getCaseInstanceId
in interface HistoricVariableInstance
public void setCaseInstanceId(String caseInstanceId)
public String getCaseExecutionId()
HistoricVariableInstance
getCaseExecutionId
in interface HistoricVariableInstance
public void setCaseExecutionId(String caseExecutionId)
public String getErrorMessage()
HistoricVariableInstance
getErrorMessage
in interface HistoricVariableInstance
public String getTenantId()
HistoricVariableInstance
null
if the variable belongs to no single tenant.getTenantId
in interface HistoricVariableInstance
public void setTenantId(String tenantId)
public String getState()
HistoricVariableInstance
getState
in interface HistoricVariableInstance
public void setState(String state)
public Date getCreateTime()
HistoricVariableInstance
getCreateTime
in interface HistoricVariableInstance
public void setCreateTime(Date createTime)
public String getRootProcessInstanceId()
HistoricVariableInstance
getRootProcessInstanceId
in interface HistoricVariableInstance
public void setRootProcessInstanceId(String rootProcessInstanceId)
public Date getRemovalTime()
HistoricVariableInstance
getRemovalTime
in interface HistoricVariableInstance
public void setRemovalTime(Date removalTime)
Copyright © 2022. All rights reserved.