public class HistoricVariableInstanceEntity extends Object implements org.flowable.variable.api.types.ValueFields, HistoricVariableInstance, PersistentObject, HasRevision, BulkDeleteable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayRef |
byteArrayRef |
protected Object |
cachedValue |
protected Date |
createTime |
protected Double |
doubleValue |
protected String |
executionId |
protected String |
id |
protected Date |
lastUpdatedTime |
protected Long |
longValue |
protected String |
name |
protected String |
processInstanceId |
protected int |
revision |
protected String |
taskId |
protected String |
textValue |
protected String |
textValue2 |
protected org.flowable.variable.api.types.VariableType |
variableType |
| Modifier | Constructor and Description |
|---|---|
protected |
HistoricVariableInstanceEntity() |
| Modifier and Type | Method and Description |
|---|---|
static HistoricVariableInstanceEntity |
copyAndInsert(VariableInstanceEntity variableInstance) |
void |
copyValue(VariableInstanceEntity variableInstance) |
void |
delete() |
byte[] |
getBytes() |
Object |
getCachedValue() |
Date |
getCreateTime()
Returns the time when the variable was created.
|
Double |
getDoubleValue() |
String |
getExecutionId() |
String |
getId()
The unique DB id
|
Date |
getLastUpdatedTime()
Returns the time when the value of the variable was last updated.
|
Long |
getLongValue() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
String |
getProcessInstanceId()
The process instance reference.
|
int |
getRevision() |
int |
getRevisionNext() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTaskId() |
String |
getTextValue() |
String |
getTextValue2() |
Date |
getTime() |
Object |
getValue() |
String |
getVariableName() |
org.flowable.variable.api.types.VariableType |
getVariableType() |
String |
getVariableTypeName() |
void |
setBytes(byte[] bytes) |
void |
setCachedValue(Object cachedValue) |
void |
setCreateTime(Date createTime) |
void |
setDoubleValue(Double doubleValue) |
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setLastUpdatedTime(Date lastUpdatedTime) |
void |
setLongValue(Long longValue) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRevision(int revision) |
void |
setTaskId(String taskId) |
void |
setTextValue(String textValue) |
void |
setTextValue2(String textValue2) |
void |
setVariableType(org.flowable.variable.api.types.VariableType variableType) |
String |
toString() |
protected String id
protected int revision
protected String name
protected org.flowable.variable.api.types.VariableType variableType
protected String processInstanceId
protected String executionId
protected String taskId
protected Date createTime
protected Date lastUpdatedTime
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected final ByteArrayRef byteArrayRef
protected Object cachedValue
public static HistoricVariableInstanceEntity copyAndInsert(VariableInstanceEntity variableInstance)
public void copyValue(VariableInstanceEntity variableInstance)
public void delete()
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic Object getValue()
getValue in interface HistoricVariableInstancepublic byte[] getBytes()
getBytes in interface org.flowable.variable.api.types.ValueFieldspublic void setBytes(byte[] bytes)
setBytes in interface org.flowable.variable.api.types.ValueFieldspublic String getId()
HistoricVariableInstancegetId in interface HistoricVariableInstancegetId in interface PersistentObjectpublic void setId(String id)
setId in interface PersistentObjectpublic String getVariableTypeName()
getVariableTypeName in interface HistoricVariableInstancepublic String getVariableName()
getVariableName in interface HistoricVariableInstancepublic org.flowable.variable.api.types.VariableType getVariableType()
public int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic String getName()
getName in interface org.flowable.variable.api.types.ValueFieldspublic Long getLongValue()
getLongValue in interface org.flowable.variable.api.types.ValueFieldspublic void setLongValue(Long longValue)
setLongValue in interface org.flowable.variable.api.types.ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface org.flowable.variable.api.types.ValueFieldspublic void setDoubleValue(Double doubleValue)
setDoubleValue in interface org.flowable.variable.api.types.ValueFieldspublic String getTextValue()
getTextValue in interface org.flowable.variable.api.types.ValueFieldspublic void setTextValue(String textValue)
setTextValue in interface org.flowable.variable.api.types.ValueFieldspublic String getTextValue2()
getTextValue2 in interface org.flowable.variable.api.types.ValueFieldspublic void setTextValue2(String textValue2)
setTextValue2 in interface org.flowable.variable.api.types.ValueFieldspublic Object getCachedValue()
getCachedValue in interface org.flowable.variable.api.types.ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface org.flowable.variable.api.types.ValueFieldspublic void setVariableType(org.flowable.variable.api.types.VariableType variableType)
public void setProcessInstanceId(String processInstanceId)
public String getProcessInstanceId()
HistoricVariableInstancegetProcessInstanceId in interface HistoricVariableInstancegetProcessInstanceId in interface org.flowable.variable.api.types.ValueFieldspublic String getTaskId()
getTaskId in interface HistoricVariableInstancegetTaskId in interface org.flowable.variable.api.types.ValueFieldspublic void setTaskId(String taskId)
public Date getCreateTime()
HistoricVariableInstancegetCreateTime in interface HistoricVariableInstancepublic void setCreateTime(Date createTime)
public Date getLastUpdatedTime()
HistoricVariableInstanceHistoricVariableInstance only contains the latest value of the variable. The actual different value and
value changes are recorded in HistoricVariableUpdate instances, which are captured on HistoryLevel FULL.getLastUpdatedTime in interface HistoricVariableInstancepublic void setLastUpdatedTime(Date lastUpdatedTime)
public String getExecutionId()
getExecutionId in interface org.flowable.variable.api.types.ValueFieldspublic void setExecutionId(String executionId)
public Date getTime()
getTime in interface HistoricDatapublic String getScopeId()
getScopeId in interface org.flowable.variable.api.types.ValueFieldspublic String getSubScopeId()
getSubScopeId in interface org.flowable.variable.api.types.ValueFieldspublic String getScopeType()
getScopeType in interface org.flowable.variable.api.types.ValueFieldsCopyright © 2018 Flowable. All rights reserved.