org.camunda.bpm.engine.impl.variable
Class PrimitiveVariableType
java.lang.Object
org.camunda.bpm.engine.impl.variable.PrimitiveVariableType
- All Implemented Interfaces:
- VariableType
- Direct Known Subclasses:
- BooleanType, ByteArrayType, DoubleType, IntegerType, LongType, NullType, ShortType, StringType
public abstract class PrimitiveVariableType
- extends Object
- implements VariableType
Primitive variable types do not differentiate between an object and a serialized representation, i.e.
VariableType.getValue(ValueFields) and getSerializedValue(ValueFields) return the same values (or in the latter case wrapped).
Similarly, VariableType.setValue(Object, ValueFields) and setValueFromSerialized(Object, Map, ValueFields) expect
the same value argument and an empty or null configuration map in the latter case.
- Author:
- Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimitiveVariableType
public PrimitiveVariableType()
getSerializedValue
public SerializedVariableValue getSerializedValue(ValueFields valueFields)
- Specified by:
getSerializedValue in interface VariableType
setValueFromSerialized
public void setValueFromSerialized(Object serializedValue,
Map<String,Object> configuration,
ValueFields valueFields)
- Specified by:
setValueFromSerialized in interface VariableType
isAbleToStoreSerializedValue
public boolean isAbleToStoreSerializedValue(Object value,
Map<String,Object> configuration)
- Specified by:
isAbleToStoreSerializedValue in interface VariableType
storesCustomObjects
public boolean storesCustomObjects()
- Specified by:
storesCustomObjects in interface VariableType
Copyright © 2014 camunda services GmbH. All Rights Reserved.