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 Summary
Modifier and TypeMethodDescriptionconvertAttributeValue(@NotNull ConversionParameters parameters) Converts an ODataEntry attribute value to values acceptable byIntegrationItem.
-
Method Details
-
convertAttributeValue
Converts an ODataEntry attribute value to values acceptable byIntegrationItem.- Parameters:
parameters- context for the value conversion, which carries attribute name, value, ODataContext, etc. For that reason the conversion parameters cannot benullor otherwise conversion is not possible.- Returns:
- converted value that is OData independent and can be used as attribute value in
IntegrationItem. This value may benullbecause attributes may havenullvalues.
-