|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity
public class HistoricVariableInstanceEntity
| Field Summary | |
|---|---|
protected String |
activityInstanceId
|
protected String |
byteArrayId
|
protected ByteArrayEntity |
byteArrayValue
|
protected Object |
cachedValue
|
protected String |
dataFormatId
|
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 Summary | |
|---|---|
HistoricVariableInstanceEntity()
|
|
HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
|
|
| Method Summary | |
|---|---|
void |
delete()
|
protected void |
deleteByteArrayValue()
|
String |
getActivityInstanceId()
Returns the corresponding activity instance id. |
String |
getActivtyInstanceId()
Deprecated. |
String |
getByteArrayId()
|
ByteArrayEntity |
getByteArrayValue()
|
String |
getByteArrayValueId()
|
Object |
getCachedValue()
|
String |
getDataFormatId()
|
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()
|
SerializedVariableValue |
getSerializedValue()
Returns the value of this variable in its serialized form, represented by a SerializedVariableValue. |
String |
getTaskId()
|
String |
getTextValue()
|
String |
getTextValue2()
|
String |
getTypeName()
Returns the name of the type of this variable instance;
corresponds to the types defined in ProcessEngineVariableType. |
Object |
getValue()
Returns the value of this variable instance. |
String |
getValueTypeName()
Returns the simple name of the class of the persisted variable |
String |
getVariableName()
Returns the name of this variable instance. |
VariableType |
getVariableType()
|
String |
getVariableTypeName()
Returns the name of the type of this variable instance |
void |
setActivityInstanceId(String activityInstanceId)
|
void |
setByteArrayId(String byteArrayId)
|
void |
setByteArrayValue(byte[] bytes)
|
void |
setByteArrayValue(ByteArrayEntity byteArrayValue)
|
void |
setCachedValue(Object cachedValue)
|
void |
setDataFormatId(String dataFormatId)
|
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)
|
boolean |
storesCustomObjects()
Returns whether this variable potentially stores a custom java object (i.e. |
String |
toString()
|
void |
updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
protected String dataFormatId
| Constructor Detail |
|---|
public HistoricVariableInstanceEntity()
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
| Method Detail |
|---|
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
public void delete()
public Object getPersistentState()
DbEntity
getPersistentState in interface DbEntitypublic int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic Object getValue()
CoreVariableInstancethis variable instance.
getValue in interface CoreVariableInstancepublic String getByteArrayValueId()
getByteArrayValueId in interface ValueFieldspublic String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public ByteArrayEntity getByteArrayValue()
getByteArrayValue in interface ValueFieldspublic void setByteArrayValue(byte[] bytes)
setByteArrayValue in interface ValueFieldsprotected void deleteByteArrayValue()
public String getTypeName()
PersistentVariableInstancethis variable instance;
corresponds to the types defined in ProcessEngineVariableType.
getTypeName in interface PersistentVariableInstancepublic String getVariableTypeName()
HistoricVariableInstanceReturns the name of the type of this variable instance
Deprecated since 7.2: use PersistentVariableInstance.getTypeName() instead.
getVariableTypeName in interface HistoricVariableInstancepublic String getVariableName()
HistoricVariableInstancethis variable instance.
Deprecated since 7.2: use CoreVariableInstance.getName() instead.
getVariableName in interface HistoricVariableInstancepublic VariableType getVariableType()
public int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionpublic String getName()
CoreVariableInstancethis variable instance.
getName in interface CoreVariableInstancegetName in interface ValueFieldspublic void setName(String name)
public 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 void setByteArrayValue(ByteArrayEntity byteArrayValue)
public 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 getId()
getId in interface HistoricVariableInstancegetId in interface DbEntitypublic void setId(String id)
setId in interface DbEntitypublic String getProcessInstanceId()
HistoricVariableInstance
getProcessInstanceId in interface HistoricVariableInstancepublic String getTaskId()
public void setTaskId(String taskId)
public String getExecutionId()
public void setExecutionId(String executionId)
@Deprecated public String getActivtyInstanceId()
HistoricVariableInstance
getActivtyInstanceId in interface HistoricVariableInstancepublic String getActivityInstanceId()
HistoricVariableInstance
getActivityInstanceId in interface HistoricVariableInstancepublic void setActivityInstanceId(String activityInstanceId)
public String getErrorMessage()
PersistentVariableInstance
getErrorMessage in interface PersistentVariableInstancepublic String getDataFormatId()
getDataFormatId in interface ValueFieldspublic void setDataFormatId(String dataFormatId)
setDataFormatId in interface ValueFieldspublic SerializedVariableValue getSerializedValue()
PersistentVariableInstanceSerializedVariableValue.
getSerializedValue in interface PersistentVariableInstancepublic String getValueTypeName()
PersistentVariableInstance
getValueTypeName in interface PersistentVariableInstancepublic boolean storesCustomObjects()
PersistentVariableInstanceProcessEngineVariableType).
storesCustomObjects in interface PersistentVariableInstancepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||