Class HistoricDetailVariableInstanceUpdateEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEvent
-
- org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
-
- org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
-
- org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailVariableInstanceUpdateEntity
-
- All Implemented Interfaces:
java.io.Serializable,HistoricDetail,HistoricVariableUpdate,DbEntity,DbEntityLifecycleAware,HistoricEntity,Nameable,ValueFields
public class HistoricDetailVariableInstanceUpdateEntity extends HistoricVariableUpdateEventEntity implements ValueFields, HistoricVariableUpdate, DbEntityLifecycleAware
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayFieldbyteArrayFieldprotected static EnginePersistenceLoggerLOGprotected TypedValueFieldtypedValueField-
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
byteArrayId, byteValue, doubleValue, isInitial, longValue, revision, scopeActivityInstanceId, serializerName, textValue, textValue2, variableInstanceId, variableName
-
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
activityInstanceId, taskId, tenantId, timestamp, userOperationId
-
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, caseDefinitionKey, caseDefinitionName, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, IDENTITY_LINK_ADD, IDENTITY_LINK_DELETE, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, removalTime, rootProcessInstanceId, sequenceCounter, 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
Constructors Constructor Description HistoricDetailVariableInstanceUpdateEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()byte[]getByteArrayValue()java.lang.StringgetByteArrayValueId()java.lang.StringgetErrorMessage()If the variable value could not be loaded, this returns the error message.java.lang.StringgetName()TypedValueSerializer<?>getSerializer()java.lang.StringgetSerializerName()java.util.DategetTime()The time when this detail occurredTypedValuegetTypedValue()TypedValuegetTypedValue(boolean deserializeValue)java.lang.StringgetTypeName()Returns the type name of the variablejava.lang.ObjectgetValue()java.lang.StringgetVariableTypeName()voidpostLoad()voidsetByteArrayId(java.lang.String id)voidsetByteArrayValue(byte[] bytes)voidsetSerializerName(java.lang.String serializerName)java.lang.StringtoString()-
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoricVariableUpdateEventEntity
getByteArrayId, getByteValue, getDoubleValue, getLongValue, getRevision, getScopeActivityInstanceId, getTextValue, getTextValue2, getVariableInstanceId, getVariableName, isInitial, setByteValue, setDoubleValue, setInitial, setLongValue, setRevision, setScopeActivityInstanceId, setTextValue, setTextValue2, setVariableInstanceId, setVariableName
-
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoricDetailEventEntity
getActivityInstanceId, getRootProcessInstanceId, getTaskId, getTenantId, getTimestamp, getUserOperationId, setActivityInstanceId, setRootProcessInstanceId, setTaskId, setTenantId, setTimestamp, setUserOperationId
-
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
getCaseDefinitionId, getCaseDefinitionKey, getCaseDefinitionName, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getPersistentState, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getRemovalTime, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setRemovalTime, setSequenceCounter
-
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.history.HistoricDetail
getActivityInstanceId, getCaseDefinitionId, getCaseDefinitionKey, getCaseExecutionId, getCaseInstanceId, getExecutionId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId, getRemovalTime, getRootProcessInstanceId, getTaskId, getTenantId, getUserOperationId
-
Methods inherited from interface org.camunda.bpm.engine.history.HistoricVariableUpdate
getRevision, getVariableInstanceId, getVariableName, isInitial
-
Methods inherited from interface org.camunda.bpm.engine.impl.variable.serializer.ValueFields
getDoubleValue, getLongValue, getTextValue, getTextValue2, setDoubleValue, setLongValue, setTextValue, setTextValue2
-
-
-
-
Field Detail
-
LOG
protected static final EnginePersistenceLogger LOG
-
typedValueField
protected TypedValueField typedValueField
-
byteArrayField
protected ByteArrayField byteArrayField
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
- Specified by:
getValuein interfaceHistoricVariableUpdate
-
getTypedValue
public TypedValue getTypedValue()
- Specified by:
getTypedValuein interfaceHistoricVariableUpdate- Returns:
- the
TypedValuefor this variable update
-
getTypedValue
public TypedValue getTypedValue(boolean deserializeValue)
-
delete
public void delete()
- Overrides:
deletein classHistoricDetailEventEntity
-
getSerializer
public TypedValueSerializer<?> getSerializer()
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:HistoricVariableUpdateIf the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessagein interfaceHistoricVariableUpdate- Returns:
- an error message indicating why the variable value could not be loaded.
-
setByteArrayId
public void setByteArrayId(java.lang.String id)
- Overrides:
setByteArrayIdin classHistoricVariableUpdateEventEntity
-
getSerializerName
public java.lang.String getSerializerName()
- Overrides:
getSerializerNamein classHistoricVariableUpdateEventEntity
-
setSerializerName
public void setSerializerName(java.lang.String serializerName)
- Overrides:
setSerializerNamein classHistoricVariableUpdateEventEntity
-
getByteArrayValueId
public java.lang.String getByteArrayValueId()
-
getByteArrayValue
public byte[] getByteArrayValue()
- Specified by:
getByteArrayValuein interfaceValueFields
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes)
- Specified by:
setByteArrayValuein interfaceValueFields
-
postLoad
public void postLoad()
- Specified by:
postLoadin interfaceDbEntityLifecycleAware
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:HistoricVariableUpdateReturns the type name of the variable- Specified by:
getTypeNamein interfaceHistoricVariableUpdate- Returns:
- the type name of the variable
-
getVariableTypeName
public java.lang.String getVariableTypeName()
- Specified by:
getVariableTypeNamein interfaceHistoricVariableUpdate- Returns:
- the name of the variable type.
-
getTime
public java.util.Date getTime()
Description copied from interface:HistoricDetailThe time when this detail occurred- Specified by:
getTimein interfaceHistoricDetail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classHistoricVariableUpdateEventEntity
-
-