Class VariableInstanceEntityImpl
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.VariableInstanceEntityImpl
- All Implemented Interfaces:
Serializable,HasRevision,Entity,VariableInstance,ValueFields,VariableInstanceEntity
public class VariableInstanceEntityImpl
extends AbstractVariableServiceEntity
implements VariableInstanceEntity, ValueFields, Serializable
- Author:
- Tom Baeyens, Marcus Klimstra (CGI), Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected booleanprotected Doubleprotected Stringprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected VariableTypeprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidbyte[]getBytes()protected StringgetName()Returns a representation of the object, as would be stored in the database.getType()getValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetExecutionId(String executionId) voidsetLongValue(Long longValue) Sets the long value.voidsetMetaInfo(String metaInfo) voidvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetScopeDefinitionId(String scopeDefinitionId) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidsetSubScopeId(String subScopeId) voidvoidsetTextValue(String textValue) Sets the first text value.voidsetTextValue2(String textValue2) Sets second text value.voidsetType(VariableType type) voidsetTypeName(String typeName) voidtoString()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.persistence.entity.VariableInstance
getId, setIdMethods inherited from interface org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity
isReadOnly
-
Field Details
-
name
-
type
-
typeName
-
executionId
-
processInstanceId
-
processDefinitionId
-
taskId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
metaInfo
-
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
VariableInstanceEntityImpl
public VariableInstanceEntityImpl()
-
-
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
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceVariableInstanceEntity
-
setExecutionId
- Specified by:
setExecutionIdin interfaceVariableInstance
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceVariableInstance
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionIdin interfaceVariableInstance
-
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
-
getByteArrayRef
- Specified by:
getByteArrayRefin interfaceVariableInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValuein interfaceVariableInstance
-
setValue
- Specified by:
setValuein interfaceVariableInstance
-
setName
- Specified by:
setNamein interfaceVariableInstance
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getTypeName
- Specified by:
getTypeNamein interfaceVariableInstance
-
setTypeName
- Specified by:
setTypeNamein interfaceVariableInstance
-
getType
- Specified by:
getTypein interfaceVariableInstanceEntity
-
setType
- Specified by:
setTypein interfaceVariableInstanceEntity
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceValueFields- Returns:
- the process instance id of the variable
-
getProcessDefinitionId
- Specified by:
getProcessDefinitionIdin interfaceVariableInstance
-
getTaskId
- Specified by:
getTaskIdin interfaceValueFields- Returns:
- the task id of the variable
-
setTaskId
- Specified by:
setTaskIdin interfaceVariableInstance
-
getExecutionId
- Specified by:
getExecutionIdin interfaceValueFields- Returns:
- the execution id of the variable
-
getScopeId
- Specified by:
getScopeIdin interfaceValueFields- Returns:
- the scope id of the variable
-
setScopeId
- Specified by:
setScopeIdin interfaceVariableInstance
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceValueFields- Returns:
- the sub scope id of the variable
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceVariableInstance
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields- Returns:
- the scope type of the variable
-
setScopeType
- Specified by:
setScopeTypein interfaceVariableInstance
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceVariableInstance
-
getScopeDefinitionId
- Specified by:
getScopeDefinitionIdin interfaceVariableInstance
-
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
-
getMetaInfo
- Specified by:
getMetaInfoin interfaceVariableInstance
-
setMetaInfo
- Specified by:
setMetaInfoin interfaceVariableInstance
-
getCachedValue
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceValueFields
-
getEngineType
-
toString
-