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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.apache.olingo.odata2.api.ep.entry.ODataEntry generate​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.lang.String integrationKey)
      Generates a OData entry representing the Alias for the EntityType integrationKey property references.
      default org.apache.olingo.odata2.api.ep.entry.ODataEntry generate​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.util.List<org.apache.olingo.odata2.api.uri.KeyPredicate> keyPredicates)
      Generates a OData entry representing the Alias for the EntityType integrationKey property references.
    • Method Detail

      • generate

        org.apache.olingo.odata2.api.ep.entry.ODataEntry generate​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                  java.lang.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 to
        integrationKey - - 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,
                                                                          java.util.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 to
        keyPredicates - - Key predicates that represents the integration key
        Returns:
        oDataEntry - represents the oDataEntry
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException