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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> convert​(ItemModel itemModel, java.lang.String integrationObjectCode)
      Convert the item model to a Map which is representation of the Integration Object.
      java.util.Map<java.lang.String,​java.lang.Object> convert​(ItemToMapConversionContext context)
      Converts a context object to a Map.
    • Method Detail

      • convert

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

        java.util.Map<java.lang.String,​java.lang.Object> convert​(ItemToMapConversionContext context)
        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 representation of the data item.