public class HistoricVariableInstanceEntity extends Object implements ValueFields, HistoricVariableInstance, PersistentObject, HasRevision, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
activityInstanceId |
protected String |
byteArrayId |
protected ByteArrayEntity |
byteArrayValue |
protected Object |
cachedValue |
protected Double |
doubleValue |
protected String |
errorMessage |
protected String |
executionId |
protected String |
id |
protected Long |
longValue |
protected String |
name |
protected String |
processInstanceId |
protected int |
revision |
protected String |
taskId |
protected String |
textValue |
protected String |
textValue2 |
protected VariableType |
variableType |
protected String |
variableTypeName |
Constructor and Description |
---|
HistoricVariableInstanceEntity() |
HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
deleteByteArrayValue() |
String |
getActivtyInstanceId()
Returns the corresponding activity instance id.
|
String |
getByteArrayId() |
ByteArrayEntity |
getByteArrayValue() |
String |
getByteArrayValueId() |
Object |
getCachedValue() |
Double |
getDoubleValue() |
String |
getErrorMessage()
If the variable value could not be loaded, this returns the error message.
|
String |
getExecutionId() |
String |
getId() |
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()
Return the corresponding task id.
|
String |
getTextValue() |
String |
getTextValue2() |
Object |
getValue()
Returns the value of
this variable instance. |
String |
getVariableName()
Returns the name of
this variable instance. |
VariableType |
getVariableType() |
String |
getVariableTypeName()
Returns the name of the type of
this variable instance |
void |
setActivtyInstanceId(String activityInstanceId) |
void |
setByteArrayId(String byteArrayId) |
void |
setByteArrayValue(byte[] bytes) |
void |
setByteArrayValue(ByteArrayEntity byteArrayValue) |
void |
setCachedValue(Object cachedValue) |
void |
setDoubleValue(Double doubleValue) |
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setLongValue(Long longValue) |
void |
setName(String name) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRevision(int revision) |
void |
setTaskId(String taskId) |
void |
setTextValue(String textValue) |
void |
setTextValue2(String textValue2) |
void |
setVariableType(VariableType variableType) |
String |
toString() |
void |
updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) |
protected String id
protected String processInstanceId
protected String taskId
protected String executionId
protected String activityInstanceId
protected String name
protected int revision
protected String variableTypeName
protected VariableType variableType
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected ByteArrayEntity byteArrayValue
protected String byteArrayId
protected Object cachedValue
protected String errorMessage
public HistoricVariableInstanceEntity()
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
public void delete()
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public Object getValue()
HistoricVariableInstance
this
variable instance.getValue
in interface HistoricVariableInstance
public String getByteArrayValueId()
getByteArrayValueId
in interface ValueFields
public String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public ByteArrayEntity getByteArrayValue()
getByteArrayValue
in interface ValueFields
public void setByteArrayValue(byte[] bytes)
setByteArrayValue
in interface ValueFields
protected void deleteByteArrayValue()
public String getVariableTypeName()
HistoricVariableInstance
this
variable instancegetVariableTypeName
in interface HistoricVariableInstance
public String getVariableName()
HistoricVariableInstance
this
variable instance.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 void setName(String name)
public Long getLongValue()
getLongValue
in interface ValueFields
public void setLongValue(Long longValue)
setLongValue
in interface ValueFields
public Double getDoubleValue()
getDoubleValue
in interface ValueFields
public void setDoubleValue(Double doubleValue)
setDoubleValue
in interface ValueFields
public String getTextValue()
getTextValue
in interface ValueFields
public void setTextValue(String textValue)
setTextValue
in interface ValueFields
public String getTextValue2()
getTextValue2
in interface ValueFields
public void setTextValue2(String textValue2)
setTextValue2
in interface ValueFields
public void setByteArrayValue(ByteArrayEntity byteArrayValue)
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 getId()
getId
in interface HistoricVariableInstance
getId
in interface PersistentObject
public void setId(String id)
setId
in interface PersistentObject
public String getProcessInstanceId()
HistoricVariableInstance
getProcessInstanceId
in interface HistoricVariableInstance
public String getTaskId()
HistoricVariableInstance
getTaskId
in interface HistoricVariableInstance
public void setTaskId(String taskId)
public String getExecutionId()
public void setExecutionId(String executionId)
public String getActivtyInstanceId()
HistoricVariableInstance
getActivtyInstanceId
in interface HistoricVariableInstance
public void setActivtyInstanceId(String activityInstanceId)
public String getErrorMessage()
HistoricVariableInstance
getErrorMessage
in interface HistoricVariableInstance
Copyright © 2015. All rights reserved.