Class HistoricDetailVariableInstanceUpdateEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
org.flowable.engine.impl.persistence.entity.HistoricDetailEntityImpl
org.flowable.engine.impl.persistence.entity.HistoricDetailVariableInstanceUpdateEntityImpl
- All Implemented Interfaces:
Serializable
,HistoricData
,HasRevision
,Entity
,HistoricDetail
,HistoricVariableUpdate
,HistoricDetailEntity
,HistoricDetailVariableInstanceUpdateEntity
,ValueFields
public class HistoricDetailVariableInstanceUpdateEntityImpl
extends HistoricDetailEntityImpl
implements HistoricDetailVariableInstanceUpdateEntity
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRef
protected Object
protected Double
protected Long
protected String
protected int
protected String
protected String
protected VariableType
Fields inherited from class org.flowable.engine.impl.persistence.entity.HistoricDetailEntityImpl
activityInstanceId, detailType, executionId, processInstanceId, taskId, time
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes()
getName()
Returns a representation of the object, as would be stored in the database.int
int
getValue()
void
setBytes
(byte[] bytes) Sets the byte array value.void
setCachedValue
(Object cachedValue) void
setDoubleValue
(Double doubleValue) Sets the double value.void
setLongValue
(Long longValue) Sets the long value.void
void
setRevision
(int revision) void
setTextValue
(String textValue) Sets the first text value.void
setTextValue2
(String textValue2) Sets second text value.void
setVariableType
(VariableType variableType) toString()
Methods inherited from class org.flowable.engine.impl.persistence.entity.HistoricDetailEntityImpl
getActivityInstanceId, getDetailType, getExecutionId, getProcessInstanceId, getTaskId, getTime, setActivityInstanceId, setDetailType, setExecutionId, setProcessInstanceId, setTaskId, setTime
Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.engine.history.HistoricDetail
getActivityInstanceId, getExecutionId, getId, getProcessInstanceId, getTaskId, getTime
Methods inherited from interface org.flowable.engine.impl.persistence.entity.HistoricDetailEntity
getDetailType, setActivityInstanceId, setDetailType, setExecutionId, setProcessInstanceId, setTaskId, setTime
Methods inherited from interface org.flowable.variable.api.types.ValueFields
getExecutionId, getProcessInstanceId, getTaskId
-
Field Details
-
revision
protected int revision -
name
-
variableType
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
cachedValue
-
-
Constructor Details
-
HistoricDetailVariableInstanceUpdateEntityImpl
public HistoricDetailVariableInstanceUpdateEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
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 interfaceEntity
- Overrides:
getPersistentState
in classHistoricDetailEntityImpl
-
getValue
- Specified by:
getValue
in interfaceHistoricVariableUpdate
-
getVariableTypeName
- Specified by:
getVariableTypeName
in interfaceHistoricVariableUpdate
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNext
in interfaceHasRevision
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceValueFields
- Returns:
- the byte array value, if any, or null.
-
getByteArrayRef
- Specified by:
getByteArrayRef
in interfaceHistoricDetailVariableInstanceUpdateEntity
-
setBytes
public void setBytes(byte[] bytes) Description copied from interface:ValueFields
Sets the byte array value. A value of null is allowed.- Specified by:
setBytes
in interfaceValueFields
-
getRevision
public int getRevision()- Specified by:
getRevision
in interfaceHasRevision
- Specified by:
getRevision
in interfaceHistoricVariableUpdate
-
setRevision
public void setRevision(int revision) - Specified by:
setRevision
in interfaceHasRevision
-
getVariableName
- Specified by:
getVariableName
in interfaceHistoricVariableUpdate
-
setName
- Specified by:
setName
in interfaceHistoricDetailVariableInstanceUpdateEntity
-
getName
- Specified by:
getName
in interfaceValueFields
- Returns:
- the name of the variable
-
getVariableType
- Specified by:
getVariableType
in interfaceHistoricDetailVariableInstanceUpdateEntity
-
setVariableType
- Specified by:
setVariableType
in interfaceHistoricDetailVariableInstanceUpdateEntity
-
getLongValue
- Specified by:
getLongValue
in interfaceValueFields
- Returns:
- the long value, if any, or null.
-
setLongValue
Description copied from interface:ValueFields
Sets the long value. A value of null is allowed.- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValue
in interfaceValueFields
- Returns:
- the double value, if any, or null.
-
setDoubleValue
Description copied from interface:ValueFields
Sets the double value. A value of null is allowed.- Specified by:
setDoubleValue
in interfaceValueFields
-
getTextValue
- Specified by:
getTextValue
in interfaceValueFields
- Returns:
- the first text value, if any, or null.
-
setTextValue
Description copied from interface:ValueFields
Sets the first text value. A value of null is allowed.- Specified by:
setTextValue
in interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2
in interfaceValueFields
- Returns:
- the second text value, if any, or null.
-
setTextValue2
Description copied from interface:ValueFields
Sets second text value. A value of null is allowed.- Specified by:
setTextValue2
in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceValueFields
-
toString
-
getScopeId
- Specified by:
getScopeId
in interfaceValueFields
- Returns:
- the scope id of the variable
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceValueFields
- Returns:
- the sub scope id of the variable
-
getScopeType
- Specified by:
getScopeType
in interfaceValueFields
- Returns:
- the scope type of the variable
-