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 ByteArrayRefprotected Objectprotected Doubleprotected Longprotected Stringprotected intprotected Stringprotected Stringprotected VariableTypeFields inherited from class org.flowable.engine.impl.persistence.entity.HistoricDetailEntityImpl
activityInstanceId, detailType, executionId, processInstanceId, taskId, timeFields 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.intintgetValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetLongValue(Long longValue) Sets the long value.voidvoidsetRevision(int revision) voidsetTextValue(String textValue) Sets the first text value.voidsetTextValue2(String textValue2) Sets second text value.voidsetVariableType(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, setTimeMethods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.engine.history.HistoricDetail
getActivityInstanceId, getExecutionId, getId, getProcessInstanceId, getTaskId, getTimeMethods inherited from interface org.flowable.engine.impl.persistence.entity.HistoricDetailEntity
getDetailType, setActivityInstanceId, setDetailType, setExecutionId, setProcessInstanceId, setTaskId, setTimeMethods 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:EntityReturns 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:
getPersistentStatein interfaceEntity- Overrides:
getPersistentStatein classHistoricDetailEntityImpl
-
getValue
- Specified by:
getValuein interfaceHistoricVariableUpdate
-
getVariableTypeName
- Specified by:
getVariableTypeNamein interfaceHistoricVariableUpdate
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNextin interfaceHasRevision
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceValueFields- Returns:
- the byte array value, if any, or null.
-
getByteArrayRef
- Specified by:
getByteArrayRefin interfaceHistoricDetailVariableInstanceUpdateEntity
-
setBytes
public void setBytes(byte[] bytes) Description copied from interface:ValueFieldsSets the byte array value. A value of null is allowed.- Specified by:
setBytesin interfaceValueFields
-
getRevision
public int getRevision()- Specified by:
getRevisionin interfaceHasRevision- Specified by:
getRevisionin interfaceHistoricVariableUpdate
-
setRevision
public void setRevision(int revision) - Specified by:
setRevisionin interfaceHasRevision
-
getVariableName
- Specified by:
getVariableNamein interfaceHistoricVariableUpdate
-
setName
- Specified by:
setNamein interfaceHistoricDetailVariableInstanceUpdateEntity
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getVariableType
- Specified by:
getVariableTypein interfaceHistoricDetailVariableInstanceUpdateEntity
-
setVariableType
- Specified by:
setVariableTypein interfaceHistoricDetailVariableInstanceUpdateEntity
-
getLongValue
- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
Description copied from interface:ValueFieldsSets the long value. A value of null is allowed.- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
Description copied from interface:ValueFieldsSets the double value. A value of null is allowed.- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
Description copied from interface:ValueFieldsSets the first text value. A value of null is allowed.- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
Description copied from interface:ValueFieldsSets second text value. A value of null is allowed.- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceValueFields
-
toString
-
getScopeId
- Specified by:
getScopeIdin interfaceValueFields- Returns:
- the scope id of the variable
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceValueFields- Returns:
- the sub scope id of the variable
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields- Returns:
- the scope type of the variable
-