Interface PayloadAttributeValueConverter

All Known Implementing Classes:
DefaultPayloadAttributeValueConverter

public interface PayloadAttributeValueConverter
A converter of attribute values in an ODataEntry to values that are OData independent, i.e. ODataFeed values are converted to Collection, ODataEntrys are converted to IntegrationItem or for the special cases they are converted to primitives, localized values, etc.
  • Method Details

    • convertAttributeValue

      Object convertAttributeValue(@NotNull @NotNull ConversionParameters parameters)
      Converts an ODataEntry attribute value to values acceptable by IntegrationItem.
      Parameters:
      parameters - context for the value conversion, which carries attribute name, value, ODataContext, etc. For that reason the conversion parameters cannot be null or otherwise conversion is not possible.
      Returns:
      converted value that is OData independent and can be used as attribute value in IntegrationItem. This value may be null because attributes may have null values.