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() |
TypedValue |
getTypedValue()
Returns the
TypedValue of this variable instance. |
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()
DbEntitygetPersistentState in interface DbEntitypublic int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic Object getValue()
HistoricVariableInstancegetValue in interface HistoricVariableInstancepublic TypedValue getTypedValue()
HistoricVariableInstanceTypedValue of this variable instance.getTypedValue in interface HistoricVariableInstancepublic TypedValue getTypedValue(boolean deserializeValue)
public TypedValueSerializer<?> getSerializer()
public String getByteArrayValueId()
public String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public byte[] getByteArrayValue()
getByteArrayValue in interface ValueFieldspublic void setByteArrayValue(byte[] bytes)
setByteArrayValue in interface ValueFieldspublic void postLoad()
postLoad in interface DbEntityLifecycleAwarepublic String getSerializerName()
public void setSerializerName(String serializerName)
public String getTypeName()
HistoricVariableInstancegetTypeName in interface HistoricVariableInstancepublic String getVariableTypeName()
HistoricVariableInstanceReturns the name of the type of this variable instance
Deprecated since 7.2: use HistoricVariableInstance.getTypeName() instead.
getVariableTypeName in interface HistoricVariableInstancepublic String getVariableName()
HistoricVariableInstanceDeprecated since 7.2: use HistoricVariableInstance.getName() instead.
getVariableName in interface HistoricVariableInstancepublic int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionpublic String getName()
HistoricVariableInstancegetName in interface HistoricVariableInstancegetName in interface Nameablepublic void setName(String name)
public Long getLongValue()
getLongValue in interface ValueFieldspublic void setLongValue(Long longValue)
setLongValue in interface ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface ValueFieldspublic void setDoubleValue(Double doubleValue)
setDoubleValue in interface ValueFieldspublic String getTextValue()
getTextValue in interface ValueFieldspublic void setTextValue(String textValue)
setTextValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
setTextValue2 in interface ValueFieldspublic void setByteArrayValue(ByteArrayEntity byteArrayValue)
public String getId()
getId in interface HistoricVariableInstancegetId in interface DbEntitypublic String getProcessDefinitionKey()
HistoricVariableInstancegetProcessDefinitionKey in interface HistoricVariableInstancepublic void setProcessDefinitionKey(String processDefinitionKey)
public String getProcessDefinitionId()
HistoricVariableInstancegetProcessDefinitionId in interface HistoricVariableInstancepublic void setProcessDefinitionId(String processDefinitionId)
public String getProcessInstanceId()
HistoricVariableInstancegetProcessInstanceId in interface HistoricVariableInstancepublic void setProcessInstanceId(String processInstanceId)
public String getTaskId()
HistoricVariableInstancegetTaskId in interface HistoricVariableInstancepublic void setTaskId(String taskId)
public String getExecutionId()
HistoricVariableInstancegetExecutionId in interface HistoricVariableInstancepublic void setExecutionId(String executionId)
@Deprecated public String getActivtyInstanceId()
HistoricVariableInstancegetActivtyInstanceId in interface HistoricVariableInstancepublic String getActivityInstanceId()
HistoricVariableInstancegetActivityInstanceId in interface HistoricVariableInstancepublic void setActivityInstanceId(String activityInstanceId)
public String getCaseDefinitionKey()
HistoricVariableInstancegetCaseDefinitionKey in interface HistoricVariableInstancepublic void setCaseDefinitionKey(String caseDefinitionKey)
public String getCaseDefinitionId()
HistoricVariableInstancegetCaseDefinitionId in interface HistoricVariableInstancepublic void setCaseDefinitionId(String caseDefinitionId)
public String getCaseInstanceId()
HistoricVariableInstancegetCaseInstanceId in interface HistoricVariableInstancepublic void setCaseInstanceId(String caseInstanceId)
public String getCaseExecutionId()
HistoricVariableInstancegetCaseExecutionId in interface HistoricVariableInstancepublic void setCaseExecutionId(String caseExecutionId)
public String getErrorMessage()
HistoricVariableInstancegetErrorMessage in interface HistoricVariableInstancepublic String getTenantId()
HistoricVariableInstancenull
if the variable belongs to no single tenant.getTenantId in interface HistoricVariableInstancepublic void setTenantId(String tenantId)
public String getState()
HistoricVariableInstancegetState in interface HistoricVariableInstancepublic void setState(String state)
public Date getCreateTime()
HistoricVariableInstancegetCreateTime in interface HistoricVariableInstancepublic void setCreateTime(Date createTime)
public String getRootProcessInstanceId()
HistoricVariableInstancegetRootProcessInstanceId in interface HistoricVariableInstancepublic void setRootProcessInstanceId(String rootProcessInstanceId)
public Date getRemovalTime()
HistoricVariableInstancegetRemovalTime in interface HistoricVariableInstancepublic void setRemovalTime(Date removalTime)
Copyright © 2021. All rights reserved.