Interface EntityModelPopulator

  • All Known Implementing Classes:
    DefaultEntityModelPopulator

    public interface EntityModelPopulator
    Converts and populates Items based on EdmEntity information.
    • Method Detail

      • populateItem

        void populateItem​(ItemModel item,
                          StorageRequest storageRequest)
                   throws org.apache.olingo.odata2.api.edm.EdmException
        Populate ItemModel with the given info
        Parameters:
        item - The ItemModel to populate
        storageRequest - The request context
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException - -
      • populateEntity

        void populateEntity​(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry,
                            ItemConversionRequest conversionRequest)
                     throws org.apache.olingo.odata2.api.edm.EdmException
        Populate oDataEntry with the given info
        Parameters:
        oDataEntry - The OData entry
        conversionRequest - the request context
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException - -