Interface IntegrationKeyToODataEntryGenerator
- All Known Implementing Classes:
DefaultIntegrationKeyToODataEntryGenerator
public interface IntegrationKeyToODataEntryGenerator
Takes the components of the integration key and generates an
ODataEntry to represent them-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.ep.entry.ODataEntryGenerates a OData entry representing the Alias for the EntityType integrationKey property references.default org.apache.olingo.odata2.api.ep.entry.ODataEntrygenerate(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, List<org.apache.olingo.odata2.api.uri.KeyPredicate> keyPredicates) Generates a OData entry representing the Alias for the EntityType integrationKey property references.
-
Method Details
-
generate
org.apache.olingo.odata2.api.ep.entry.ODataEntry generate(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, String integrationKey) throws org.apache.olingo.odata2.api.edm.EdmException Generates a OData entry representing the Alias for the EntityType integrationKey property references.- Parameters:
entitySet- - EntitySet that is being posted tointegrationKey- - integrationKey string for the item- Returns:
- oDataEntry - represents the oDataEntry
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
generate
default org.apache.olingo.odata2.api.ep.entry.ODataEntry generate(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, List<org.apache.olingo.odata2.api.uri.KeyPredicate> keyPredicates) throws org.apache.olingo.odata2.api.edm.EdmException Generates a OData entry representing the Alias for the EntityType integrationKey property references.- Parameters:
entitySet- - EntitySet that is being posted tokeyPredicates- - Key predicates that represents the integration key- Returns:
- oDataEntry - represents the oDataEntry
- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-