org.camunda.bpm.engine.impl.persistence.entity
Class HistoricVariableInstanceEntity

java.lang.Object
  extended by 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

Field Summary
protected  String byteArrayId
           
protected  ByteArrayEntity byteArrayValue
           
protected  Object cachedValue
           
protected  Double doubleValue
           
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 getByteArrayId()
           
 ByteArrayEntity getByteArrayValue()
           
 String getByteArrayValueId()
           
 Object getCachedValue()
           
 Double getDoubleValue()
           
 String getExecutionId()
           
 String getId()
          The unique DB id
 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()
           
 Object getValue()
           
 String getVariableName()
           
 VariableType getVariableType()
           
 String getVariableTypeName()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

HistoricVariableInstanceEntity

public HistoricVariableInstanceEntity()

HistoricVariableInstanceEntity

public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
Method Detail

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.