Class Variable
- java.lang.Object
-
- org.jbpm.process.core.context.variable.Variable
-
- All Implemented Interfaces:
Serializable,TypeObject,ValueObject
public class Variable extends Object implements TypeObject, ValueObject, Serializable
Default implementation of a variable.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringREADONLY_TAGstatic StringREQUIRED_TAGstatic StringVARIABLE_TAGS
-
Constructor Summary
Constructors Constructor Description Variable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getMetaData()ObjectgetMetaData(String name)StringgetName()List<String>getTags()DataTypegetType()ObjectgetValue()booleanhasTag(String tagName)voidsetMetaData(String name, Object value)voidsetName(String name)voidsetType(DataType type)voidsetValue(Object value)StringtoString()
-
-
-
Field Detail
-
VARIABLE_TAGS
public static final String VARIABLE_TAGS
- See Also:
- Constant Field Values
-
READONLY_TAG
public static final String READONLY_TAG
- See Also:
- Constant Field Values
-
REQUIRED_TAG
public static final String REQUIRED_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public DataType getType()
- Specified by:
getTypein interfaceTypeObject
-
setType
public void setType(DataType type)
- Specified by:
setTypein interfaceTypeObject
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceValueObject
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfaceValueObject
-
hasTag
public boolean hasTag(String tagName)
-
-