org.camunda.bpm.engine.impl.persistence.entity
Class HistoricVariableInstanceEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity
- All Implemented Interfaces:
- Serializable, HistoricVariableInstance, HasRevision, PersistentObject, ValueFields
public class HistoricVariableInstanceEntity
- extends Object
- implements ValueFields, HistoricVariableInstance, PersistentObject, HasRevision, Serializable
- Author:
- Christian Lipphardt (camunda)
- See Also:
- Serialized Form
id
protected String id
processInstanceId
protected String processInstanceId
taskId
protected String taskId
executionId
protected String executionId
name
protected String name
revision
protected int revision
variableTypeName
protected String variableTypeName
variableType
protected VariableType variableType
longValue
protected Long longValue
doubleValue
protected Double doubleValue
textValue
protected String textValue
textValue2
protected String textValue2
byteArrayValue
protected ByteArrayEntity byteArrayValue
byteArrayId
protected String byteArrayId
cachedValue
protected Object cachedValue
HistoricVariableInstanceEntity
public HistoricVariableInstanceEntity()
HistoricVariableInstanceEntity
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
updateFromEvent
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
delete
public void delete()
getPersistentState
public Object getPersistentState()
- Description copied from interface:
PersistentObject
- Returns a representation of the object,
as would be stored in the database.
Used when deciding if updates have
occurred to the object or not since
it was last loaded.
- Specified by:
getPersistentState in interface PersistentObject
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext in interface HasRevision
getValue
public Object getValue()
- Specified by:
getValue in interface HistoricVariableInstance
getByteArrayValueId
public String getByteArrayValueId()
- Specified by:
getByteArrayValueId in interface ValueFields
getByteArrayId
public String getByteArrayId()
setByteArrayId
public void setByteArrayId(String byteArrayId)
getByteArrayValue
public ByteArrayEntity getByteArrayValue()
- Specified by:
getByteArrayValue in interface ValueFields
setByteArrayValue
public void setByteArrayValue(byte[] bytes)
- Specified by:
setByteArrayValue in interface ValueFields
deleteByteArrayValue
protected void deleteByteArrayValue()
getVariableTypeName
public String getVariableTypeName()
- Specified by:
getVariableTypeName in interface HistoricVariableInstance
getVariableName
public String getVariableName()
- Specified by:
getVariableName in interface HistoricVariableInstance
getVariableType
public VariableType getVariableType()
getRevision
public int getRevision()
- Specified by:
getRevision in interface HasRevision
setRevision
public void setRevision(int revision)
- Specified by:
setRevision in interface HasRevision
getName
public String getName()
- Specified by:
getName in interface ValueFields
setName
public void setName(String name)
getLongValue
public Long getLongValue()
- Specified by:
getLongValue in interface ValueFields
setLongValue
public void setLongValue(Long longValue)
- Specified by:
setLongValue in interface ValueFields
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValue in interface ValueFields
setDoubleValue
public void setDoubleValue(Double doubleValue)
- Specified by:
setDoubleValue in interface ValueFields
getTextValue
public String getTextValue()
- Specified by:
getTextValue in interface ValueFields
setTextValue
public void setTextValue(String textValue)
- Specified by:
setTextValue in interface ValueFields
getTextValue2
public String getTextValue2()
- Specified by:
getTextValue2 in interface ValueFields
setTextValue2
public void setTextValue2(String textValue2)
- Specified by:
setTextValue2 in interface ValueFields
setByteArrayValue
public void setByteArrayValue(ByteArrayEntity byteArrayValue)
getCachedValue
public Object getCachedValue()
- Specified by:
getCachedValue in interface ValueFields
setCachedValue
public void setCachedValue(Object cachedValue)
- Specified by:
setCachedValue in interface ValueFields
setVariableType
public void setVariableType(VariableType variableType)
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
getId
public String getId()
- Description copied from interface:
HistoricVariableInstance
- The unique DB id
- Specified by:
getId in interface HistoricVariableInstance- Specified by:
getId in interface PersistentObject
setId
public void setId(String id)
- Specified by:
setId in interface PersistentObject
getProcessInstanceId
public String getProcessInstanceId()
- Description copied from interface:
HistoricVariableInstance
- The process instance reference.
- Specified by:
getProcessInstanceId in interface HistoricVariableInstance
getTaskId
public String getTaskId()
setTaskId
public void setTaskId(String taskId)
getExecutionId
public String getExecutionId()
setExecutionId
public void setExecutionId(String executionId)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 camunda services GmbH. All Rights Reserved.