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 ByteArrayField
byteArrayField
protected static EnginePersistenceLogger
LOG
protected TypedValueField
typedValueField
-
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 void
delete()
byte[]
getByteArrayValue()
java.lang.String
getByteArrayValueId()
java.lang.String
getErrorMessage()
If the variable value could not be loaded, this returns the error message.java.lang.String
getName()
TypedValueSerializer<?>
getSerializer()
java.lang.String
getSerializerName()
java.util.Date
getTime()
The time when this detail occurredTypedValue
getTypedValue()
TypedValue
getTypedValue(boolean deserializeValue)
java.lang.String
getTypeName()
Returns the type name of the variablejava.lang.Object
getValue()
java.lang.String
getVariableTypeName()
void
postLoad()
void
setByteArrayId(java.lang.String id)
void
setByteArrayValue(byte[] bytes)
void
setSerializerName(java.lang.String serializerName)
java.lang.String
toString()
-
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:
getValue
in interfaceHistoricVariableUpdate
-
getTypedValue
public TypedValue getTypedValue()
- Specified by:
getTypedValue
in interfaceHistoricVariableUpdate
- Returns:
- the
TypedValue
for this variable update
-
getTypedValue
public TypedValue getTypedValue(boolean deserializeValue)
-
delete
public void delete()
- Overrides:
delete
in classHistoricDetailEventEntity
-
getSerializer
public TypedValueSerializer<?> getSerializer()
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:HistoricVariableUpdate
If the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessage
in interfaceHistoricVariableUpdate
- Returns:
- an error message indicating why the variable value could not be loaded.
-
setByteArrayId
public void setByteArrayId(java.lang.String id)
- Overrides:
setByteArrayId
in classHistoricVariableUpdateEventEntity
-
getSerializerName
public java.lang.String getSerializerName()
- Overrides:
getSerializerName
in classHistoricVariableUpdateEventEntity
-
setSerializerName
public void setSerializerName(java.lang.String serializerName)
- Overrides:
setSerializerName
in classHistoricVariableUpdateEventEntity
-
getByteArrayValueId
public java.lang.String getByteArrayValueId()
-
getByteArrayValue
public byte[] getByteArrayValue()
- Specified by:
getByteArrayValue
in interfaceValueFields
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes)
- Specified by:
setByteArrayValue
in interfaceValueFields
-
postLoad
public void postLoad()
- Specified by:
postLoad
in interfaceDbEntityLifecycleAware
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:HistoricVariableUpdate
Returns the type name of the variable- Specified by:
getTypeName
in interfaceHistoricVariableUpdate
- Returns:
- the type name of the variable
-
getVariableTypeName
public java.lang.String getVariableTypeName()
- Specified by:
getVariableTypeName
in interfaceHistoricVariableUpdate
- Returns:
- the name of the variable type.
-
getTime
public java.util.Date getTime()
Description copied from interface:HistoricDetail
The time when this detail occurred- Specified by:
getTime
in interfaceHistoricDetail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classHistoricVariableUpdateEventEntity
-
-