org.camunda.bpm.engine.impl.variable.serializer
Class IntegerValueSerializer
java.lang.Object
org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer<T>
org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.IntegerValue>
org.camunda.bpm.engine.impl.variable.serializer.IntegerValueSerializer
- All Implemented Interfaces:
- TypedValueSerializer<org.camunda.bpm.engine.variable.value.IntegerValue>
public class IntegerValueSerializer
- extends PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.IntegerValue>
- Author:
- Joram Barrez, Daniel Meyer
Method Summary |
org.camunda.bpm.engine.variable.value.IntegerValue |
convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value. |
org.camunda.bpm.engine.variable.value.IntegerValue |
readValue(ValueFields valueFields)
|
void |
writeValue(org.camunda.bpm.engine.variable.value.IntegerValue variableValue,
ValueFields valueFields)
Serialize a TypedValue to the ValueFields . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerValueSerializer
public IntegerValueSerializer()
convertToTypedValue
public org.camunda.bpm.engine.variable.value.IntegerValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.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
writeValue
public void writeValue(org.camunda.bpm.engine.variable.value.IntegerValue variableValue,
ValueFields valueFields)
- Description copied from interface:
TypedValueSerializer
- Serialize a
TypedValue
to the ValueFields
.
- Parameters:
variableValue
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persisted
readValue
public org.camunda.bpm.engine.variable.value.IntegerValue readValue(ValueFields valueFields)
- Specified by:
readValue
in class PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.IntegerValue>
Copyright © 2016 camunda services GmbH. All rights reserved.