Class HistoricVariableInstanceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.variable.service.impl.persistence.entity.AbstractVariableServiceEntity
org.flowable.variable.service.impl.persistence.entity.HistoricVariableInstanceEntityImpl
- All Implemented Interfaces:
Serializable,HistoricData,HasRevision,Entity,HistoricVariableInstance,ValueFields,HistoricVariableInstanceEntity
public class HistoricVariableInstanceEntityImpl
extends AbstractVariableServiceEntity
implements HistoricVariableInstanceEntity, Serializable
- Author:
- Christian Lipphardt (camunda), Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected Dateprotected Doubleprotected Stringprotected Dateprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected VariableTypeFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Returns the time when the variable was created.protected StringThe process instance reference.Returns the time when the value of the variable was last updated.getName()Returns a representation of the object, as would be stored in the database.The process instance reference.getTime()getValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetCreateTime(Date createTime) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetExecutionId(String executionId) voidsetLastUpdatedTime(Date lastUpdatedTime) voidsetLongValue(Long longValue) Sets the long value.voidsetMetaInfo(String metaInfo) voidvoidsetProcessInstanceId(String processInstanceId) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidsetSubScopeId(String subScopeId) voidvoidsetTextValue(String textValue) Sets the first text value.voidsetTextValue2(String textValue2) Sets second text value.voidsetVariableType(VariableType variableType) toString()Methods inherited from class org.flowable.variable.service.impl.persistence.entity.AbstractVariableServiceEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, 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.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.flowable.variable.api.history.HistoricVariableInstance
getId
-
Field Details
-
name
-
variableType
-
processInstanceId
-
executionId
-
taskId
-
scopeId
-
subScopeId
-
scopeType
-
createTime
-
lastUpdatedTime
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
metaInfo
-
cachedValue
-
-
Constructor Details
-
HistoricVariableInstanceEntityImpl
public HistoricVariableInstanceEntityImpl()
-
-
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
-
getValue
- Specified by:
getValuein interfaceHistoricVariableInstance
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceValueFields- Returns:
- the byte array value, if any, or null.
-
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
-
getVariableTypeName
- Specified by:
getVariableTypeNamein interfaceHistoricVariableInstance
-
getVariableName
- Specified by:
getVariableNamein interfaceHistoricVariableInstance
-
getVariableType
- Specified by:
getVariableTypein interfaceHistoricVariableInstanceEntity
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
setName
- Specified by:
setNamein interfaceHistoricVariableInstanceEntity
-
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
-
setVariableType
- Specified by:
setVariableTypein interfaceHistoricVariableInstanceEntity
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceHistoricVariableInstanceEntity
-
getProcessInstanceId
Description copied from interface:HistoricVariableInstanceThe process instance reference.- Specified by:
getProcessInstanceIdin interfaceHistoricVariableInstance- Specified by:
getProcessInstanceIdin interfaceValueFields- Returns:
- the process instance id of the variable
-
getTaskId
- Specified by:
getTaskIdin interfaceHistoricVariableInstance- Specified by:
getTaskIdin interfaceValueFields- Returns:
- the task id of the variable
-
setTaskId
- Specified by:
setTaskIdin interfaceHistoricVariableInstanceEntity
-
getCreateTime
Description copied from interface:HistoricVariableInstanceReturns the time when the variable was created.- Specified by:
getCreateTimein interfaceHistoricVariableInstance
-
setCreateTime
- Specified by:
setCreateTimein interfaceHistoricVariableInstanceEntity
-
getLastUpdatedTime
Description copied from interface:HistoricVariableInstanceReturns the time when the value of the variable was last updated. Note that aHistoricVariableInstanceonly contains the latest value of the variable.- Specified by:
getLastUpdatedTimein interfaceHistoricVariableInstance
-
setLastUpdatedTime
- Specified by:
setLastUpdatedTimein interfaceHistoricVariableInstanceEntity
-
getTime
- Specified by:
getTimein interfaceHistoricData
-
getExecutionId
Description copied from interface:HistoricVariableInstanceThe process instance reference.- Specified by:
getExecutionIdin interfaceHistoricVariableInstance- Specified by:
getExecutionIdin interfaceValueFields- Returns:
- the execution id of the variable
-
setExecutionId
- Specified by:
setExecutionIdin interfaceHistoricVariableInstanceEntity
-
getScopeId
- Specified by:
getScopeIdin interfaceHistoricVariableInstance- Specified by:
getScopeIdin interfaceValueFields- Returns:
- the scope id of the variable
-
setScopeId
- Specified by:
setScopeIdin interfaceHistoricVariableInstanceEntity
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceHistoricVariableInstance- Specified by:
getSubScopeIdin interfaceValueFields- Returns:
- the sub scope id of the variable
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceHistoricVariableInstanceEntity
-
getScopeType
- Specified by:
getScopeTypein interfaceHistoricVariableInstance- Specified by:
getScopeTypein interfaceValueFields- Returns:
- the scope type of the variable
-
setScopeType
- Specified by:
setScopeTypein interfaceHistoricVariableInstanceEntity
-
getMetaInfo
- Specified by:
getMetaInfoin interfaceHistoricVariableInstance
-
setMetaInfo
- Specified by:
setMetaInfoin interfaceHistoricVariableInstanceEntity
-
getByteArrayRef
- Specified by:
getByteArrayRefin interfaceHistoricVariableInstanceEntity
-
getEngineType
-
toString
-