Interface EntityModelPopulator
-
- All Known Implementing Classes:
DefaultEntityModelPopulator
public interface EntityModelPopulatorConverts and populates Items based on EdmEntity information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpopulateEntity(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, ItemConversionRequest conversionRequest)Populate oDataEntry with the given infovoidpopulateItem(ItemModel item, StorageRequest storageRequest)Populate ItemModel with the given info
-
-
-
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 populatestorageRequest- 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.EdmExceptionPopulate oDataEntry with the given info- Parameters:
oDataEntry- The OData entryconversionRequest- the request context- Throws:
org.apache.olingo.odata2.api.edm.EdmException- -
-
-