Interface ODataEntryToIntegrationItemConverter
-
- All Known Implementing Classes:
DefaultODataEntryToIntegrationItemConverter
public interface ODataEntryToIntegrationItemConverterConverts anODataEntryto an instance ofIntegrationItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IntegrationItemconvert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Deprecated, for removal: This API element is subject to removal in a future version.IntegrationItemconvert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Performs the conversion whenTypeDescriptorfor the integration item to create is available.IntegrationItemconvert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry, IntegrationItem parentItem)Performs conversion of an OData entry nested in the payload of an outer entry.IntegrationItemconvert(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Performs the conversion when there is noTypeDescriptoravailable.
-
-
-
Method Detail
-
convert
IntegrationItem convert(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) throws org.apache.olingo.odata2.api.edm.EdmException
Performs the conversion when there is noTypeDescriptoravailable. In this case the type descriptor will be derived from the other parameters.- Parameters:
context- context of the request containing the entryentitySet- metadata about the entry receivedentry- the entry received to be converted to theIntegrationItem- Returns:
- an integration item converted from the entry
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if there is a problem with the metadata provided by theentitySet
-
convert
@Deprecated(since="19.05.2004-CEP", forRemoval=true) IntegrationItem convert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) throws org.apache.olingo.odata2.api.edm.EdmExceptionDeprecated, for removal: This API element is subject to removal in a future version.Performs the conversion whenTypeDescriptorfor the integration item to create is available.- Parameters:
context- context of the request containing the entrytypeDesc- type descriptor for the integration item to createentitySet- metadata about the entry receivedentry- the entry received to be converted to theIntegrationItem- Returns:
- an integration item converted from the entry
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if there is a problem with the metadata provided by theentitySet
-
convert
IntegrationItem convert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
Performs the conversion whenTypeDescriptorfor the integration item to create is available.- Parameters:
context- context of the request containing the entrytypeDesc- type descriptor for the integration item to createentry- the entry received to be converted to theIntegrationItem- Returns:
- an integration item converted from the entry
-
convert
IntegrationItem convert(org.apache.olingo.odata2.api.processor.ODataContext context, TypeDescriptor typeDesc, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry, IntegrationItem parentItem)
Performs conversion of an OData entry nested in the payload of an outer entry.- Parameters:
context- context of the request containing the entrytypeDesc- type descriptor for the integration item to create, that matches the entry being convertedentry- the entry received to be converted to theIntegrationItemparentItem- integration item that corresponds to the OData entry containing the entry being converted.- Returns:
- an integration item converted from the entry
-
-