public class HistoricVariableInstanceEntity extends Object implements ValueFields, HistoricVariableInstance, DbEntity, HasDbRevision, 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 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 int |
revision |
protected String |
taskId |
protected String |
tenantId |
protected String |
textValue |
protected String |
textValue2 |
protected TypedValueField |
typedValueField |
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.
|
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.
|
int |
getRevision() |
int |
getRevisionNext() |
TypedValueSerializer<?> |
getSerializer() |
String |
getSerializerName() |
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 |
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 |
setRevision(int revision) |
void |
setSerializerName(String serializerName) |
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 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 Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
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)
Copyright © 2018. All rights reserved.