org.camunda.bpm.engine.impl.core.variable.type
Class ObjectTypeImpl
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
org.camunda.bpm.engine.impl.core.variable.type.ObjectTypeImpl
- All Implemented Interfaces:
- Serializable, SerializableValueType, ValueType
public class ObjectTypeImpl
- extends AbstractValueTypeImpl
- implements SerializableValueType
- Author:
- Daniel Meyer
- See Also:
- Serialized Form
| Fields inherited from interface org.camunda.bpm.engine.variable.type.ValueType |
BOOLEAN, BYTES, DATE, DOUBLE, INTEGER, LONG, NULL, NUMBER, OBJECT, SHORT, STRING |
VALUE_INFO_OBJECT_TYPE_NAME
public static final String VALUE_INFO_OBJECT_TYPE_NAME
- See Also:
- Constant Field Values
VALUE_INFO_SERIALIZATION_DATA_FORMAT
public static final String VALUE_INFO_SERIALIZATION_DATA_FORMAT
- See Also:
- Constant Field Values
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
ObjectTypeImpl
public ObjectTypeImpl()
isPrimitiveValueType
public boolean isPrimitiveValueType()
- Description copied from interface:
ValueType
- Indicates whether this type is primitive valued. Primitive valued types can be handled
natively by the process engine.
- Specified by:
isPrimitiveValueType in interface ValueType
- Returns:
- true if this is a primitive valued type. False otherwise
createValue
public TypedValue createValue(Object value,
Map<String,Object> valueInfo)
- Description copied from interface:
ValueType
- Creates a new TypedValue using this type.
- Specified by:
createValue in interface ValueType
- Parameters:
value - the value
- Returns:
- the typed value for the value
getValueInfo
public Map<String,Object> getValueInfo(TypedValue typedValue)
- Description copied from interface:
ValueType
- Get the value info for a
TypedValue.
- Specified by:
getValueInfo in interface ValueType
- Returns:
createValueFromSerialized
public SerializableValue createValueFromSerialized(String serializedValue,
Map<String,Object> valueInfo)
- Description copied from interface:
SerializableValueType
- Creates a new TypedValue using this type.
- Specified by:
createValueFromSerialized in interface SerializableValueType
- Parameters:
serializedValue - the value in serialized form
- Returns:
- the typed value for the value
applyValueInfo
protected void applyValueInfo(ObjectValueBuilder builder,
Map<String,Object> valueInfo)
Copyright © 2015 camunda services GmbH. All rights reserved.