Class LongValueSerlializer

  • All Implemented Interfaces:
    TypedValueSerializer<org.camunda.bpm.engine.variable.value.LongValue>

    public class LongValueSerlializer
    extends PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.LongValue>
    Author:
    Tom Baeyens, Daniel Meyer
    • Constructor Detail

      • LongValueSerlializer

        public LongValueSerlializer()
    • Method Detail

      • convertToTypedValue

        public org.camunda.bpm.engine.variable.value.LongValue 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
      • readValue

        public org.camunda.bpm.engine.variable.value.LongValue readValue​(ValueFields valueFields,
                                                                         boolean asTransientValue)
        Specified by:
        readValue in class PrimitiveValueSerializer<org.camunda.bpm.engine.variable.value.LongValue>
      • writeValue

        public void writeValue​(org.camunda.bpm.engine.variable.value.LongValue value,
                               ValueFields valueFields)
        Description copied from interface: TypedValueSerializer
        Serialize a TypedValue to the ValueFields.
        Parameters:
        value - the TypedValue to persist
        valueFields - the ValueFields to which the value should be persisted