Package org.apache.olingo.odata2.api.ep
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).
-
ClassDescriptionEntity Provider(Internal) interface for all
EntityProvidernecessary read and write methods for accessing entities defined in anEntity Data Model.TheEntityProviderBatchPropertiescontains necessary informations to parse a Batch Request body.AnEntityProviderExceptionis the base exception for allEntityProviderrelated exceptions.TheEntityProviderReadPropertiescontains all necessary settings to read an entity with theEntityProvider.Builder forEntityProviderReadProperties.EntityProviderWritePropertiescontains all additional properties which are necessary to write (serialize) anODataEntryinto an specific format (e.g.