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 Details

    • convert

      Map<String,Object> convert(ItemModel itemModel, String integrationObjectCode)
      Convert the item model to a Map<String,Object> which is representation of the Integration Object.
      Parameters:
      itemModel - the item model
      integrationObjectCode - the integration object code
      Returns:
      a Map<String,Object> representation of the Integration Object.
    • convert

      Converts a context object to a Map.
      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 a Map.
      Parameters:
      itemModel - an item model to convert
      ioDescriptor - an integration object descriptor
      Returns:
      a Map<String,Object> representation of the item model