org.camunda.bpm.engine.impl.variable.serializer
Class ShortValueSerializer
java.lang.Object
org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer<T>
org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<ShortValue>
org.camunda.bpm.engine.impl.variable.serializer.ShortValueSerializer
- All Implemented Interfaces:
- TypedValueSerializer<ShortValue>
public class ShortValueSerializer
- extends PrimitiveValueSerializer<ShortValue>
- Author:
- Daniel Meyer, Joram Barrez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortValueSerializer
public ShortValueSerializer()
convertToTypedValue
public ShortValue convertToTypedValue(UntypedValueImpl untypedValue)
- Description copied from interface:
TypedValueSerializer
- Returns a typed value for the provided untyped value. This is used on cases where the user sets an untyped
value which is then detected to be handled by this
TypedValueSerializer (by invocation of TypedValueSerializer.canHandle(TypedValue)).
- Parameters:
untypedValue - the untyped value
- Returns:
- the corresponding typed value
readValue
public ShortValue readValue(ValueFields valueFields)
- Specified by:
readValue in class PrimitiveValueSerializer<ShortValue>
writeValue
public void writeValue(ShortValue value,
ValueFields valueFields)
- Description copied from interface:
TypedValueSerializer
- Serialize a
TypedValue to the ValueFields.
- Parameters:
value - the TypedValue to persistvalueFields - the ValueFields to which the value should be persisted
Copyright © 2015 camunda services GmbH. All rights reserved.