Class: Operaton::Bpm::Client::Variable::Impl::Mapper::PrimitiveValueMapper

Inherits:
AbstractTypedValueMapper show all
Defined in:
lib/operaton/bpm/client/variable/impl/mapper/primitive_value_mapper.rb

Overview

Mirrors org.operaton.bpm.client.variable.impl.mapper.PrimitiveValueMapper

Instance Attribute Summary

Attributes inherited from AbstractTypedValueMapper

#value_type

Instance Method Summary collapse

Methods inherited from AbstractTypedValueMapper

#can_handle_typed_value, #can_handle_typed_value_field, #initialize, #serialization_dataformat, #type

Methods included from ValueMapper

#can_handle_typed_value, #can_handle_typed_value_field, #convert_to_typed_value, #serialization_dataformat, #type, #write_value

Constructor Details

This class inherits a constructor from Operaton::Bpm::Client::Variable::Impl::AbstractTypedValueMapper

Instance Method Details

#read_typed_value(typed_value_field) ⇒ Object

Subclasses implement the single-argument variant, mirroring the Java abstract readValue(TypedValueField).

Raises:

  • (NotImplementedError)


19
20
21
# File 'lib/operaton/bpm/client/variable/impl/mapper/primitive_value_mapper.rb', line 19

def read_typed_value(typed_value_field)
  raise NotImplementedError
end

#read_value(typed_value_field, _deserialize_object_value = true) ⇒ Object



13
14
15
# File 'lib/operaton/bpm/client/variable/impl/mapper/primitive_value_mapper.rb', line 13

def read_value(typed_value_field, _deserialize_object_value = true)
  read_typed_value(typed_value_field)
end