Package org.apache.olingo.odata2.api.ep
Entity Provider
The org.apache.olingo.odata2.api.ep package contains all classes related and necessary to provide an
EntityProvider.
An EntityProvider provides all necessary read and write methods
for accessing
the entities defined in an Entity Data Model.
Therefore this library provides (in its core packages) as convenience basic
EntityProvider for accessing entities in the XML and JSON
format.
For support of additional formats it is recommended to handle those directly within an implementation of a
ODataProcessor (it is possible but not recommended to implement an own
EntityProvider for support of additional formats).
-
Interface Summary Interface Description EntityProvider.EntityProviderInterface (Internal) interface for allEntityProvidernecessary read and write methods for accessing entities defined in anEntity Data Model. -
Class Summary Class Description EntityProvider Entity ProviderEntityProviderBatchProperties TheEntityProviderBatchPropertiescontains necessary informations to parse a Batch Request body.EntityProviderBatchProperties.EntityProviderBatchPropertiesBuilder EntityProviderReadProperties TheEntityProviderReadPropertiescontains all necessary settings to read an entity with theEntityProvider.EntityProviderReadProperties.EntityProviderReadPropertiesBuilder Builder forEntityProviderReadProperties.EntityProviderWriteProperties EntityProviderWritePropertiescontains all additional properties which are necessary to write (serialize) anODataEntryinto an specific format (e.g.EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder -
Exception Summary Exception Description EntityProviderException AnEntityProviderExceptionis the base exception for allEntityProviderrelated exceptions.