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() |
| Modifier and Type | Method and Description |
|---|---|
static HistoricVariableInstanceEntity |
copyAndInsert(VariableInstanceEntity variableInstance) |
void |
copyValue(VariableInstanceEntity variableInstance) |
void |
delete() |
ByteArrayEntity |
getByteArrayValue()
Deprecated.
|
String |
getByteArrayValueId()
Deprecated.
|
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 |
getTaskId() |
String |
getTextValue() |
String |
getTextValue2() |
Date |
getTime() |
Object |
getValue() |
String |
getVariableName() |
VariableType |
getVariableType() |
String |
getVariableTypeName() |
void |
setByteArrayValue(byte[] bytes)
Deprecated.
|
void |
setBytes(byte[] bytes)
Sets the byte array value.
|
void |
setCachedValue(Object cachedValue) |
void |
setCreateTime(Date createTime) |
void |
setDoubleValue(Double doubleValue)
Sets the double value.
|
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setLastUpdatedTime(Date lastUpdatedTime) |
void |
setLongValue(Long longValue)
Sets the long value.
|
void |
setProcessInstanceId(String processInstanceId) |
void |
setRevision(int revision) |
void |
setTaskId(String taskId) |
void |
setTextValue(String textValue)
Sets the first text value.
|
void |
setTextValue2(String textValue2)
Sets second text value.
|
void |
setVariableType(VariableType variableType) |
String |
toString() |
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)
ValueFieldssetBytes in interface ValueFields@Deprecated public ByteArrayEntity getByteArrayValue()
getByteArrayValue in interface ValueFields@Deprecated public String getByteArrayValueId()
getByteArrayValueId in interface ValueFields@Deprecated public void setByteArrayValue(byte[] bytes)
setByteArrayValue 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)
ValueFieldssetLongValue in interface ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface ValueFieldspublic void setDoubleValue(Double doubleValue)
ValueFieldssetDoubleValue in interface ValueFieldspublic String getTextValue()
getTextValue in interface ValueFieldspublic void setTextValue(String textValue)
ValueFieldssetTextValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
ValueFieldssetTextValue2 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 HistoricVariableInstancegetProcessInstanceId in interface ValueFieldspublic String getTaskId()
getTaskId in interface HistoricVariableInstancegetTaskId in interface 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 ValueFieldspublic void setExecutionId(String executionId)
public Date getTime()
getTime in interface HistoricDataCopyright © 2016 Alfresco. All rights reserved.