public class HistoricVariableInstanceEntity extends Object implements ValueFields, HistoricVariableInstance, DbEntity, HasDbRevision, Serializable, DbEntityLifecycleAware
Modifier and Type | Field and Description |
---|---|
protected String |
activityInstanceId |
protected String |
byteArrayId |
protected ByteArrayEntity |
byteArrayValue |
protected TypedValue |
cachedValue |
protected String |
caseExecutionId |
protected String |
caseInstanceId |
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 TypedValueSerializer<?> |
serializer |
protected String |
serializerName |
protected String |
taskId |
protected String |
textValue |
protected String |
textValue2 |
Constructor and Description |
---|
HistoricVariableInstanceEntity() |
HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
deleteByteArrayValue() |
protected void |
ensureSerializerInitialized() |
String |
getActivityInstanceId()
Returns the corresponding activity instance id.
|
String |
getActivtyInstanceId()
Deprecated.
|
protected ByteArrayEntity |
getByteArrayEntity() |
String |
getByteArrayId() |
byte[] |
getByteArrayValue() |
String |
getByteArrayValueId() |
String |
getCaseExecutionId()
Return the corresponding case execution id.
|
String |
getCaseInstanceId()
The case instance reference.
|
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()
Returns the name of this variable instance.
|
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() |
TypedValueSerializer<?> |
getSerializer() |
String |
getSerializerName() |
static VariableSerializers |
getSerializers() |
String |
getTaskId()
Return the corresponding task id.
|
String |
getTextValue() |
String |
getTextValue2() |
TypedValue |
getTypedValue()
Returns the
TypedValue of this variable instance. |
TypedValue |
getTypedValue(boolean deserializeValue) |
String |
getTypeName()
Returns the name of the type of this variable instance
|
Object |
getValue()
Returns the value of this variable instance.
|
String |
getVariableName()
Returns the name of this variable instance.
|
String |
getVariableTypeName()
Returns the name of the type of this variable instance
|
void |
postLoad() |
void |
setActivityInstanceId(String activityInstanceId) |
void |
setByteArrayId(String byteArrayId) |
void |
setByteArrayValue(byte[] bytes) |
void |
setByteArrayValue(ByteArrayEntity byteArrayValue) |
void |
setCaseExecutionId(String caseExecutionId) |
void |
setCaseInstanceId(String caseInstanceId) |
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 |
setSerializerName(String serializerName) |
void |
setTaskId(String taskId) |
void |
setTextValue(String textValue) |
void |
setTextValue2(String textValue2) |
String |
toString() |
void |
updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) |
protected String id
protected String processInstanceId
protected String taskId
protected String executionId
protected String activityInstanceId
protected String caseInstanceId
protected String caseExecutionId
protected String name
protected int revision
protected String serializerName
protected TypedValueSerializer<?> serializer
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected ByteArrayEntity byteArrayValue
protected String byteArrayId
protected TypedValue cachedValue
protected String errorMessage
public HistoricVariableInstanceEntity()
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
public void delete()
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public Object getValue()
HistoricVariableInstance
getValue
in interface HistoricVariableInstance
public TypedValue getTypedValue()
HistoricVariableInstance
TypedValue
of this variable instance.getTypedValue
in interface HistoricVariableInstance
public TypedValue getTypedValue(boolean deserializeValue)
public TypedValueSerializer<?> getSerializer()
protected void ensureSerializerInitialized()
public static VariableSerializers getSerializers()
public String getByteArrayValueId()
public String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public byte[] getByteArrayValue()
getByteArrayValue
in interface ValueFields
protected ByteArrayEntity getByteArrayEntity()
public void setByteArrayValue(byte[] bytes)
setByteArrayValue
in interface ValueFields
protected void deleteByteArrayValue()
public void postLoad()
postLoad
in interface DbEntityLifecycleAware
public String getSerializerName()
public void setSerializerName(String serializerName)
public String getTypeName()
HistoricVariableInstance
getTypeName
in interface HistoricVariableInstance
public String getVariableTypeName()
HistoricVariableInstance
Returns the name of the type of this variable instance
Deprecated since 7.2: use HistoricVariableInstance.getTypeName()
instead.
getVariableTypeName
in interface HistoricVariableInstance
public String getVariableName()
HistoricVariableInstance
Deprecated since 7.2: use HistoricVariableInstance.getName()
instead.
getVariableName
in interface HistoricVariableInstance
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
public String getName()
HistoricVariableInstance
getName
in interface HistoricVariableInstance
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 void setProcessInstanceId(String processInstanceId)
public String getId()
getId
in interface HistoricVariableInstance
getId
in interface DbEntity
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)
@Deprecated public String getActivtyInstanceId()
HistoricVariableInstance
getActivtyInstanceId
in interface HistoricVariableInstance
public String getActivityInstanceId()
HistoricVariableInstance
getActivityInstanceId
in interface HistoricVariableInstance
public void setActivityInstanceId(String activityInstanceId)
public String getCaseInstanceId()
HistoricVariableInstance
getCaseInstanceId
in interface HistoricVariableInstance
public void setCaseInstanceId(String caseInstanceId)
public String getCaseExecutionId()
HistoricVariableInstance
getCaseExecutionId
in interface HistoricVariableInstance
public void setCaseExecutionId(String caseExecutionId)
public String getErrorMessage()
HistoricVariableInstance
getErrorMessage
in interface HistoricVariableInstance
Copyright © 2018. All rights reserved.