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()
PersistentObject
getPersistentState
in interface PersistentObject
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public Object getValue()
getValue
in interface HistoricVariableInstance
public byte[] getBytes()
getBytes
in interface ValueFields
public void setBytes(byte[] bytes)
ValueFields
setBytes
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 ValueFields
public String getId()
HistoricVariableInstance
getId
in interface HistoricVariableInstance
getId
in interface PersistentObject
public void setId(String id)
setId
in interface PersistentObject
public String getVariableTypeName()
getVariableTypeName
in interface HistoricVariableInstance
public String getVariableName()
getVariableName
in interface HistoricVariableInstance
public VariableType getVariableType()
public int getRevision()
getRevision
in interface HasRevision
public void setRevision(int revision)
setRevision
in interface HasRevision
public String getName()
getName
in interface ValueFields
public Long getLongValue()
getLongValue
in interface ValueFields
public void setLongValue(Long longValue)
ValueFields
setLongValue
in interface ValueFields
public Double getDoubleValue()
getDoubleValue
in interface ValueFields
public void setDoubleValue(Double doubleValue)
ValueFields
setDoubleValue
in interface ValueFields
public String getTextValue()
getTextValue
in interface ValueFields
public void setTextValue(String textValue)
ValueFields
setTextValue
in interface ValueFields
public String getTextValue2()
getTextValue2
in interface ValueFields
public void setTextValue2(String textValue2)
ValueFields
setTextValue2
in interface ValueFields
public Object getCachedValue()
getCachedValue
in interface ValueFields
public void setCachedValue(Object cachedValue)
setCachedValue
in interface ValueFields
public void setVariableType(VariableType variableType)
public void setProcessInstanceId(String processInstanceId)
public String getProcessInstanceId()
HistoricVariableInstance
getProcessInstanceId
in interface HistoricVariableInstance
getProcessInstanceId
in interface ValueFields
public String getTaskId()
getTaskId
in interface HistoricVariableInstance
getTaskId
in interface ValueFields
public void setTaskId(String taskId)
public Date getCreateTime()
HistoricVariableInstance
getCreateTime
in interface HistoricVariableInstance
public void setCreateTime(Date createTime)
public Date getLastUpdatedTime()
HistoricVariableInstance
HistoricVariableInstance
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 HistoricVariableInstance
public void setLastUpdatedTime(Date lastUpdatedTime)
public String getExecutionId()
getExecutionId
in interface ValueFields
public void setExecutionId(String executionId)
public Date getTime()
getTime
in interface HistoricData
Copyright © 2016 Alfresco. All rights reserved.