public class HistoricVariableInstanceEntity extends Object implements 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 VariableType |
variableType |
| Modifier | Constructor and Description |
|---|---|
protected |
HistoricVariableInstanceEntity() |
protected String id
protected int revision
protected String name
protected 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 ValueFieldspublic void setBytes(byte[] bytes)
setBytes in interface 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 VariableType getVariableType()
public int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic String getName()
getName in interface ValueFieldspublic 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 Object getCachedValue()
getCachedValue in interface ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface ValueFieldspublic void setVariableType(VariableType variableType)
public void setProcessInstanceId(String processInstanceId)
public String getProcessInstanceId()
HistoricVariableInstancegetProcessInstanceId in interface ValueFieldsgetProcessInstanceId in interface HistoricVariableInstancepublic String getTaskId()
getTaskId in interface ValueFieldsgetTaskId in interface HistoricVariableInstancepublic 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 ValueFieldspublic void setExecutionId(String executionId)
public Date getTime()
getTime in interface HistoricDataCopyright © 2017 Alfresco. All rights reserved.