public class TransientVariableInstance extends Object implements org.flowable.variable.api.persistence.entity.VariableInstance
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.| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_TRANSIENT |
protected String |
variableName |
protected Object |
variableValue |
| Constructor and Description |
|---|
TransientVariableInstance(String variableName,
Object variableValue) |
public static String TYPE_TRANSIENT
protected String variableName
protected Object variableValue
public String getName()
getName in interface org.flowable.variable.api.types.ValueFieldspublic String getTextValue()
getTextValue in interface org.flowable.variable.api.types.ValueFieldspublic void setTextValue(String textValue)
setTextValue in interface org.flowable.variable.api.types.ValueFieldspublic String getTextValue2()
getTextValue2 in interface org.flowable.variable.api.types.ValueFieldspublic void setTextValue2(String textValue2)
setTextValue2 in interface org.flowable.variable.api.types.ValueFieldspublic Long getLongValue()
getLongValue in interface org.flowable.variable.api.types.ValueFieldspublic void setLongValue(Long longValue)
setLongValue in interface org.flowable.variable.api.types.ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface org.flowable.variable.api.types.ValueFieldspublic void setDoubleValue(Double doubleValue)
setDoubleValue in interface org.flowable.variable.api.types.ValueFieldspublic byte[] getBytes()
getBytes in interface org.flowable.variable.api.types.ValueFieldspublic void setBytes(byte[] bytes)
setBytes in interface org.flowable.variable.api.types.ValueFieldspublic Object getCachedValue()
getCachedValue in interface org.flowable.variable.api.types.ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface org.flowable.variable.api.types.ValueFieldspublic String getId()
getId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setId(String id)
setId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setName(String name)
setName in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setProcessInstanceId(String processInstanceId)
setProcessInstanceId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setProcessDefinitionId(String processDefinitionId)
setProcessDefinitionId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setExecutionId(String executionId)
setExecutionId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic Object getValue()
getValue in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setValue(Object value)
setValue in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic String getTypeName()
getTypeName in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setTypeName(String typeName)
setTypeName in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic String getProcessInstanceId()
getProcessInstanceId in interface org.flowable.variable.api.types.ValueFieldspublic String getProcessDefinitionId()
getProcessDefinitionId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic String getTaskId()
getTaskId in interface org.flowable.variable.api.types.ValueFieldspublic void setTaskId(String taskId)
setTaskId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic String getExecutionId()
getExecutionId in interface org.flowable.variable.api.types.ValueFieldspublic String getScopeId()
getScopeId in interface org.flowable.variable.api.types.ValueFieldspublic String getSubScopeId()
getSubScopeId in interface org.flowable.variable.api.types.ValueFieldspublic String getScopeType()
getScopeType in interface org.flowable.variable.api.types.ValueFieldspublic void setScopeId(String scopeId)
setScopeId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setSubScopeId(String subScopeId)
setSubScopeId in interface org.flowable.variable.api.persistence.entity.VariableInstancepublic void setScopeType(String scopeType)
setScopeType in interface org.flowable.variable.api.persistence.entity.VariableInstanceCopyright © 2018 Flowable. All rights reserved.