Interface IntegrationObjectConversionService
- All Known Implementing Classes:
DefaultIntegrationObjectConversionService
public interface IntegrationObjectConversionService
The service class that can convert any type system item into a Map which is representation of the Integration Object.
-
Method Summary
Modifier and TypeMethodDescriptionconvert(@NotNull ItemModel itemModel, @NotNull IntegrationObjectDescriptor ioDescriptor) Converts an item model to aMap.Convert the item model to a Map<String,Object> which is representation of the Integration Object.convert(ItemToMapConversionContext context) Converts a context object to aMap.
-
Method Details
-
convert
Convert the item model to a Map<String,Object> which is representation of the Integration Object.- Parameters:
itemModel- the item modelintegrationObjectCode- the integration object code- Returns:
- a Map<String,Object> representation of the Integration Object.
-
convert
Converts a context object to aMap.- Parameters:
context- a context containing the data item to convert and the integration object item model describing structure of the conversion result.- Returns:
- a Map<String,Object> representation of the data item.
-
convert
Map<String,Object> convert(@NotNull @NotNull ItemModel itemModel, @NotNull @NotNull IntegrationObjectDescriptor ioDescriptor) Converts an item model to aMap.- Parameters:
itemModel- an item model to convertioDescriptor- an integration object descriptor- Returns:
- a Map<String,Object> representation of the item model
-