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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.event.HistoryEvent
      extended by org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
          extended by org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
              extended by org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailVariableInstanceUpdateEntity
All Implemented Interfaces:
Serializable, HistoricDetail, HistoricVariableUpdate, PersistentObject, ValueFields

public class HistoricDetailVariableInstanceUpdateEntity
extends HistoricVariableUpdateEventEntity
implements ValueFields, HistoricVariableUpdate

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  ByteArrayEntity byteArrayValue
           
protected  Object cachedValue
           
protected  String errorMessage
           
protected  VariableType variableType
           
 
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
byteArrayId, byteValue, configuration, dataFormatId, doubleValue, longValue, revision, scopeActivityInstanceId, textValue, textValue2, variableInstanceId, variableName, variableTypeName
 
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
activityInstanceId, taskId, timestamp
 
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
ACTIVITY_EVENT_TYPE_END, ACTIVITY_EVENT_TYPE_START, ACTIVITY_EVENT_TYPE_UPDATE, caseDefinitionId, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processInstanceId, TASK_EVENT_TYPE_COMPLETE, TASK_EVENT_TYPE_CREATE, TASK_EVENT_TYPE_DELETE, TASK_EVENT_TYPE_UPDATE, VARIABLE_EVENT_TYPE_CREATE, VARIABLE_EVENT_TYPE_DELETE, VARIABLE_EVENT_TYPE_UPDATE
 
Constructor Summary
HistoricDetailVariableInstanceUpdateEntity()
           
 
Method Summary
 void delete()
           
protected  void deleteByteArrayValue()
           
 ByteArrayEntity getByteArrayValue()
           
 String getByteArrayValueId()
           
 Object getCachedValue()
           
 String getErrorMessage()
          If the variable value could not be loaded, this returns the error message.
 String getName()
           
 Date getTime()
          The time when this detail occurred
 Object getValue()
           
 VariableType getVariableType()
           
 String getVariableTypeName()
           
 void setByteArrayValue(byte[] bytes)
           
 void setCachedValue(Object cachedValue)
           
 void setVariableType(VariableType variableType)
           
 String toString()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
getByteArrayId, getByteValue, getConfiguration, getDataFormatId, getDoubleValue, getLongValue, getRevision, getScopeActivityInstanceId, getTextValue, getTextValue2, getVariableInstanceId, getVariableName, setByteArrayId, setByteValue, setConfiguration, setDataFormatId, setDoubleValue, setLongValue, setRevision, setScopeActivityInstanceId, setTextValue, setTextValue2, setVariableInstanceId, setVariableName, setVariableTypeName
 
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
getActivityInstanceId, getTaskId, getTimestamp, setActivityInstanceId, setTaskId, setTimestamp
 
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
getCaseDefinitionId, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getPersistentState, getProcessDefinitionId, getProcessInstanceId, setCaseDefinitionId, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessInstanceId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.impl.variable.ValueFields
getDataFormatId, getDoubleValue, getLongValue, getTextValue, getTextValue2, setDataFormatId, setDoubleValue, setLongValue, setTextValue, setTextValue2
 
Methods inherited from interface org.camunda.bpm.engine.history.HistoricVariableUpdate
getRevision, getVariableName
 
Methods inherited from interface org.camunda.bpm.engine.history.HistoricDetail
getActivityInstanceId, getExecutionId, getId, getProcessInstanceId, getTaskId
 

Field Detail

variableType

protected VariableType variableType

byteArrayValue

protected ByteArrayEntity byteArrayValue

cachedValue

protected Object cachedValue

errorMessage

protected String errorMessage
Constructor Detail

HistoricDetailVariableInstanceUpdateEntity

public HistoricDetailVariableInstanceUpdateEntity()
Method Detail

getValue

public Object getValue()
Specified by:
getValue in interface HistoricVariableUpdate

delete

public void delete()

getVariableTypeName

public String getVariableTypeName()
Specified by:
getVariableTypeName in interface HistoricVariableUpdate
Overrides:
getVariableTypeName in class HistoricVariableUpdateEventEntity

getErrorMessage

public String getErrorMessage()
Description copied from interface: HistoricVariableUpdate
If the variable value could not be loaded, this returns the error message.

Specified by:
getErrorMessage in interface HistoricVariableUpdate
Returns:
an error message indicating why the variable value could not be loaded.

getByteArrayValueId

public String getByteArrayValueId()
Specified by:
getByteArrayValueId in interface ValueFields

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()

getName

public String getName()
Specified by:
getName in interface ValueFields

getTime

public Date getTime()
Description copied from interface: HistoricDetail
The time when this detail occurred

Specified by:
getTime in interface HistoricDetail

getVariableType

public VariableType getVariableType()

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)

toString

public String toString()
Overrides:
toString in class HistoricVariableUpdateEventEntity


Copyright © 2014 camunda services GmbH. All Rights Reserved.