Class TransientVariableInstance
java.lang.Object
org.flowable.variable.service.impl.persistence.entity.TransientVariableInstance
- All Implemented Interfaces:
VariableInstance,ValueFields
A dummy implementation of
VariableInstance, used for storing transient variables on a VariableScope, as the VariableScope works with instances of VariableInstance
and not with raw key/values.
Nothing more than a thin wrapper around a name and value. All the other methods are not implemented.- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()getId()getName()getValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetExecutionId(String executionId) voidvoidsetLongValue(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.voidsetTypeName(String typeName) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.variable.api.persistence.entity.VariableInstance
isReadOnly
-
Field Details
-
TYPE_TRANSIENT
- See Also:
-
variableName
-
variableValue
-
taskId
-
executionId
-
processInstanceId
-
processDefinitionId
-
scopeId
-
subScopeId
-
scopeDefinitionId
-
scopeType
-
metaInfo
-
-
Constructor Details
-
TransientVariableInstance
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getId
- Specified by:
getIdin interfaceVariableInstance
-
setId
- Specified by:
setIdin interfaceVariableInstance
-
setName
- Specified by:
setNamein interfaceVariableInstance
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceVariableInstance
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionIdin interfaceVariableInstance
-
setExecutionId
- Specified by:
setExecutionIdin interfaceVariableInstance
-
getValue
- Specified by:
getValuein interfaceVariableInstance
-
setValue
- Specified by:
setValuein interfaceVariableInstance
-
getTypeName
- Specified by:
getTypeNamein interfaceVariableInstance
-
setTypeName
- Specified by:
setTypeNamein interfaceVariableInstance
-
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
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields- Returns:
- the scope type 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
-
setScopeType
- Specified by:
setScopeTypein interfaceVariableInstance
-
getScopeDefinitionId
- Specified by:
getScopeDefinitionIdin interfaceVariableInstance
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceVariableInstance
-
getMetaInfo
- Specified by:
getMetaInfoin interfaceVariableInstance
-
setMetaInfo
- Specified by:
setMetaInfoin interfaceVariableInstance
-
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
-
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
-
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
-
getCachedValue
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceValueFields
-