Interface IntegrationObjectConversionService
-
- All Known Implementing Classes:
DefaultIntegrationObjectConversionService
public interface IntegrationObjectConversionServiceThe 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 Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>convert(ItemModel itemModel, java.lang.String integrationObjectCode)Deprecated, for removal: This API element is subject to removal in a future version.this method is not used internally anymore.java.util.Map<java.lang.String,java.lang.Object>convert(ItemToMapConversionContext context)Converts a context object to aMap.
-
-
-
Method Detail
-
convert
@Deprecated(since="2011.0", forRemoval=true) java.util.Map<java.lang.String,java.lang.Object> convert(ItemModel itemModel, java.lang.String integrationObjectCode)Deprecated, for removal: This API element is subject to removal in a future version.this method is not used internally anymore. Useconvert(ItemToMapConversionContext)method instead as it eliminates the need to lookup the integration object by its code and therefore is more efficient.Convert the item model to a Mapwhich is representation of the Integration Object. - Parameters:
itemModel- the item modelintegrationObjectCode- 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 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
representation of the data item.
-
-