public class TransientVariableInstance extends Object implements 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) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
Object |
getCachedValue() |
Double |
getDoubleValue() |
String |
getExecutionId() |
String |
getId() |
Long |
getLongValue() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
String |
getProcessInstanceId() |
int |
getRevision() |
int |
getRevisionNext() |
String |
getTaskId() |
String |
getTextValue() |
String |
getTextValue2() |
String |
getTypeName() |
Object |
getValue() |
boolean |
isDeleted() |
boolean |
isInserted() |
boolean |
isUpdated() |
void |
setBytes(byte[] bytes)
Sets the byte array value.
|
void |
setCachedValue(Object cachedValue) |
void |
setDeleted(boolean deleted) |
void |
setDoubleValue(Double doubleValue)
Sets the double value.
|
void |
setExecutionId(String executionId) |
void |
setId(String id) |
void |
setInserted(boolean inserted) |
void |
setLongValue(Long longValue)
Sets the long value.
|
void |
setName(String name) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setRevision(int revision) |
void |
setTaskId(String taskId) |
void |
setTextValue(String textValue)
Sets the first text value.
|
void |
setTextValue2(String textValue2)
Sets second text value.
|
void |
setTypeName(String typeName) |
void |
setUpdated(boolean updated) |
void |
setValue(Object value) |
public static String TYPE_TRANSIENT
protected String variableName
protected Object variableValue
public String getName()
getName in interface ValueFieldspublic String getTextValue()
getTextValue in interface ValueFieldspublic void setTextValue(String textValue)
ValueFieldssetTextValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
ValueFieldssetTextValue2 in interface ValueFieldspublic Long getLongValue()
getLongValue in interface ValueFieldspublic void setLongValue(Long longValue)
ValueFieldssetLongValue in interface ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface ValueFieldspublic void setDoubleValue(Double doubleValue)
ValueFieldssetDoubleValue in interface ValueFieldspublic byte[] getBytes()
getBytes in interface ValueFieldspublic void setBytes(byte[] bytes)
ValueFieldssetBytes in interface ValueFieldspublic Object getCachedValue()
getCachedValue in interface ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface ValueFieldspublic boolean isInserted()
isInserted in interface Entitypublic void setInserted(boolean inserted)
setInserted in interface Entitypublic void setUpdated(boolean updated)
setUpdated in interface Entitypublic void setDeleted(boolean deleted)
setDeleted in interface Entitypublic Object getPersistentState()
EntitygetPersistentState in interface Entitypublic void setRevision(int revision)
setRevision in interface HasRevisionpublic int getRevision()
getRevision in interface HasRevisionpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic void setName(String name)
setName in interface VariableInstancepublic void setProcessInstanceId(String processInstanceId)
setProcessInstanceId in interface VariableInstancepublic void setExecutionId(String executionId)
setExecutionId in interface VariableInstancepublic Object getValue()
getValue in interface VariableInstancepublic void setValue(Object value)
setValue in interface VariableInstancepublic String getTypeName()
getTypeName in interface VariableInstancepublic void setTypeName(String typeName)
setTypeName in interface VariableInstancepublic String getProcessInstanceId()
getProcessInstanceId in interface VariableInstancegetProcessInstanceId in interface ValueFieldspublic String getTaskId()
getTaskId in interface VariableInstancegetTaskId in interface ValueFieldspublic void setTaskId(String taskId)
setTaskId in interface VariableInstancepublic String getExecutionId()
getExecutionId in interface VariableInstancegetExecutionId in interface ValueFieldsCopyright © 2010–2018 Alfresco. All rights reserved.