Package | Description |
---|---|
org.apache.olingo.odata2.api.edm |
Entity Data Model API
The Entity Data Model is described in the OData protocol specification
as well as in the Conceptual Schema Definition for the OData Protocol.
|
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 . |
org.apache.olingo.odata2.api.ep.callback |
Entity Provider Callbacks
These callbacks will be used to support the $expand query option.
|
org.apache.olingo.odata2.api.uri |
URI Parser Facade
The URI package has one central class
UriParser to parse a request URI
as well as several interfaces that provide access to parsed parts of the URI. |
org.apache.olingo.odata2.api.uri.info |
URI Parser Result Views
The interfaces of this package provide access to the relevant parts of the parsed
request URI for the methods that process a request inside the dispatcher.
|
org.apache.olingo.odata2.client.api.ep | |
org.apache.olingo.odata2.client.api.uri | |
org.apache.olingo.odata2.client.core.edm.Impl | |
org.apache.olingo.odata2.client.core.ep | |
org.apache.olingo.odata2.client.core.ep.deserializer | |
org.apache.olingo.odata2.client.core.uri | |
org.apache.olingo.odata2.ref.processor |
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
EdmAssociationSetEnd.getEntitySet()
Get the entity set
|
EdmEntitySet |
EdmFunctionImport.getEntitySet()
Get the edm entity set
|
EdmEntitySet |
EdmEntityContainer.getEntitySet(String name)
Get contained EntitySet by name
|
EdmEntitySet |
EdmEntitySet.getRelatedEntitySet(EdmNavigationProperty navigationProperty)
Get the related entity set by providing the navigation property
|
Modifier and Type | Method and Description |
---|---|
List<EdmEntitySet> |
EdmEntityContainer.getEntitySets()
ATTENTION: This method does not support LAZY LOADING.
|
List<EdmEntitySet> |
Edm.getEntitySets()
Get all contained EntitySets
|
Modifier and Type | Method and Description |
---|---|
EdmAssociationSet |
EdmEntityContainer.getAssociationSet(EdmEntitySet sourceEntitySet,
EdmNavigationProperty navigationProperty)
Get contained AssociationSet by providing the source entity set and the navigation property
|
Modifier and Type | Method and Description |
---|---|
static ODataDeltaFeed |
EntityProvider.readDeltaFeed(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) a delta data feed from
content (as InputStream ) in specified format
(given as contentType ) based on entity data model (given as EdmEntitySet ) and
provide this data as ODataEntry . |
ODataDeltaFeed |
EntityProvider.EntityProviderInterface.readDeltaFeed(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) a delta data feed from
content (as InputStream ) in specified format
(given as contentType )
based on entity data model (given as EdmEntitySet ) and provide this data as
ODataDeltaFeed . |
static ODataEntry |
EntityProvider.readEntry(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) data from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmEntitySet ) and provide this data as ODataEntry
. |
ODataEntry |
EntityProvider.EntityProviderInterface.readEntry(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Reads (de-serializes) data from
content (as InputStream )
in specified format (given as contentType ) based on
entity data model (given as EdmEntitySet )
and provides this data as ODataEntry . |
static ODataFeed |
EntityProvider.readFeed(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) a data feed from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmEntitySet ) and provide this data as ODataEntry
. |
ODataFeed |
EntityProvider.EntityProviderInterface.readFeed(String contentType,
EdmEntitySet entitySet,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) a data feed from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmEntitySet ) and provide this data as
ODataFeed . |
static String |
EntityProvider.readLink(String contentType,
EdmEntitySet entitySet,
InputStream content)
Read (de-serialize) a link from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmEntitySet ) and provide the link as String . |
String |
EntityProvider.EntityProviderInterface.readLink(String contentType,
EdmEntitySet entitySet,
InputStream content)
Read (de-serialize) a link from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmEntitySet ) and provide the link as String . |
static List<String> |
EntityProvider.readLinks(String contentType,
EdmEntitySet entitySet,
InputStream content)
Read (de-serialize) a link collection from
content (as InputStream )
in specified format (given as contentType ) based on entity data model
(given as EdmEntitySet ) and provide the links as List of Strings. |
List<String> |
EntityProvider.EntityProviderInterface.readLinks(String contentType,
EdmEntitySet entitySet,
InputStream content)
Read (de-serialize) all links from
content (as InputStream )
in specified format (given as contentType ) based on entity data model
(given as EdmEntitySet ) and provide the link as List of Strings. |
static ODataResponse |
EntityProvider.writeEntry(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write given
data (which is given in form of a Map for which contains all properties
as property name to property value mapping) for the entry in the specified
format (given as contentType ) based on entity data model for an entity set (given as
EdmEntitySet )
and properties for this entity provider (given as EntityProviderWriteProperties ). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeEntry(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write given
data (which is given in form of a Map for which contains all properties
as property name to property value mapping) for the entry in the specified
format (given as contentType ) based on entity data model for an entity set (given as
EdmEntitySet )
and properties for this entity provider (given as EntityProviderWriteProperties ). |
static ODataResponse |
EntityProvider.writeFeed(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
|
ODataResponse |
EntityProvider.EntityProviderInterface.writeFeed(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
|
static ODataResponse |
EntityProvider.writeLink(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write link for key property based on
entity data model for an entity set (given as
EdmEntitySet )
in the specified format (given as contentType ). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeLink(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write link for key property based on
entity data model for an entity set (given as
EdmEntitySet )
in the specified format (given as contentType ). |
static ODataResponse |
EntityProvider.writeLinks(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
Write all links for key property based on
entity data model for an entity set (given as
EdmEntitySet )
in the specified format (given as contentType ) for a set of entries. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeLinks(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
Write all links for key property based on
entity data model for an entity set (given as
EdmEntitySet )
in the specified format (given as contentType ) for a set of entries. |
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
WriteCallbackContext.getSourceEntitySet()
Returns entity set which contains an entry that should be expanded
|
Modifier and Type | Method and Description |
---|---|
void |
WriteCallbackContext.setSourceEntitySet(EdmEntitySet entitySet)
Do Not Call This Method!
|
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
NavigationSegment.getEntitySet()
Gets the target entity set.
|
EdmEntitySet |
UriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
UriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
NavigationPropertySegment.getTargetEntitySet()
Gets the target entity set.
|
Modifier and Type | Method and Description |
---|---|
static ExpandSelectTreeNode.ExpandSelectTreeNodeBuilder |
ExpandSelectTreeNode.entitySet(EdmEntitySet entitySet)
Creates a builder instance and sets the entitySet for this node.
|
abstract ExpandSelectTreeNode.ExpandSelectTreeNodeBuilder |
ExpandSelectTreeNode.ExpandSelectTreeNodeBuilder.entitySet(EdmEntitySet entitySet)
Sets the entitySet for this node.
|
abstract List<KeyPredicate> |
UriParser.getKeyFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot)
Retrieves the key predicates from a canonical link to an entity.
|
static List<KeyPredicate> |
UriParser.getKeyPredicatesFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot)
Retrieves the key predicates from a canonical link to an entity.
|
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
PutMergePatchUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntitySetCountUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntityLinkCountUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntityUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
PostUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntitySetLinksUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetComplexPropertyUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
DeleteUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntitySetUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetMediaResourceUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntitySetLinksCountUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntityLinkUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetSimplePropertyUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
GetEntityCountUriInfo.getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation
has been used.
|
EdmEntitySet |
PutMergePatchUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityLinkCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
PostUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetLinksUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetComplexPropertyUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
DeleteUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetMediaResourceUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetLinksCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityLinkUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetSimplePropertyUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
Modifier and Type | Method and Description |
---|---|
ODataEntry |
ContentTypeBasedDeserializer.readEntry(EdmEntitySet entitySet,
EntityStream content)
Returns an ODataEntry
|
ODataFeed |
ContentTypeBasedDeserializer.readFeed(EdmEntitySet entitySet,
EntityStream content)
Returns an ODataFeed
|
ODataResponse |
ContentTypeBasedSerializer.writeEntry(EdmEntitySet entitySet,
Entity data)
Returns an OData Response for a given entry
|
ODataResponse |
ContentTypeBasedSerializer.writeFeed(EdmEntitySet entitySet,
EntityCollection data)
Returns an OData Response for a given feed
|
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilder.appendEntitySetSegment(EdmEntitySet entitySet)
Appends EntitySet segment to the URI.
|
Modifier and Type | Class and Description |
---|---|
class |
EdmEntitySetImpl
Objects of this class represent EdmEntitySet
|
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
EdmFunctionImportImpl.getEntitySet() |
EdmEntitySet |
EdmAssociationSetEndImpl.getEntitySet() |
EdmEntitySet |
EdmEntityContainerImpl.getEntitySet(String name) |
EdmEntitySet |
EdmEntitySetImpl.getRelatedEntitySet(EdmNavigationProperty navigationProperty) |
Modifier and Type | Method and Description |
---|---|
List<EdmEntitySet> |
EdmEntityContainerImpl.getEdmEntitySets() |
List<EdmEntitySet> |
EdmImpl.getEdmEntitySets() |
List<EdmEntitySet> |
EdmEntityContainerImpl.getEntitySets() |
List<EdmEntitySet> |
EdmImpl.getEntitySets() |
Modifier and Type | Method and Description |
---|---|
EdmAssociationSet |
EdmEntityContainerImpl.getAssociationSet(EdmEntitySet sourceEntitySet,
EdmNavigationProperty navigationProperty) |
void |
EdmAssociationSetEndImpl.setEntitySet(EdmEntitySet entitySet) |
Modifier and Type | Method and Description |
---|---|
EdmEntityContainerImpl |
EdmEntityContainerImpl.setEdmEntitySets(List<EdmEntitySet> edmEntitySets) |
EdmImpl |
EdmImpl.setEdmEntitySets(List<EdmEntitySet> edmEntitySets) |
Modifier and Type | Method and Description |
---|---|
ODataEntry |
JsonSerializerDeserializer.readEntry(EdmEntitySet entitySet,
EntityStream content) |
ODataEntry |
AtomSerializerDeserializer.readEntry(EdmEntitySet entitySet,
EntityStream content) |
ODataFeed |
JsonSerializerDeserializer.readFeed(EdmEntitySet entitySet,
EntityStream content) |
ODataFeed |
AtomSerializerDeserializer.readFeed(EdmEntitySet entitySet,
EntityStream content) |
ODataResponse |
JsonSerializerDeserializer.writeEntry(EdmEntitySet entitySet,
Entity data) |
ODataResponse |
AtomSerializerDeserializer.writeEntry(EdmEntitySet entitySet,
Entity data) |
ODataResponse |
JsonSerializerDeserializer.writeFeed(EdmEntitySet entitySet,
EntityCollection data) |
ODataResponse |
AtomSerializerDeserializer.writeFeed(EdmEntitySet entitySet,
EntityCollection data) |
Modifier and Type | Method and Description |
---|---|
ODataDeltaFeed |
JsonEntityDeserializer.readDeltaFeed(EdmEntitySet entitySet,
EntityStream entityStream)
Returns an ODataDeltaFeed deserializing EntityStream
|
ODataEntry |
XmlEntityDeserializer.readEntry(EdmEntitySet entitySet,
EntityStream entity)
Returns an ODataEntry deserializing EntityStream
|
ODataEntry |
JsonEntityDeserializer.readEntry(EdmEntitySet entitySet,
EntityStream entityStream)
Returns an ODataEntry deserializing EntityStream
|
ODataDeltaFeed |
XmlEntityDeserializer.readFeed(EdmEntitySet entitySet,
EntityStream entity)
Returns an ODataDeltaFeed deserializing EntityStream
|
ODataFeed |
JsonEntityDeserializer.readFeed(EdmEntitySet entitySet,
EntityStream entityStream)
Returns an ODataFeed deserializing EntityStream
|
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilderImpl.appendEntitySetSegment(EdmEntitySet entitySet) |
Modifier and Type | Method and Description |
---|---|
void |
ScenarioDataSource.createData(EdmEntitySet entitySet,
Object data) |
void |
ScenarioDataSource.deleteData(EdmEntitySet entitySet,
Map<String,Object> keys) |
void |
ScenarioDataSource.deleteRelation(EdmEntitySet sourceEntitySet,
Object sourceData,
EdmEntitySet targetEntitySet,
Map<String,Object> targetKeys) |
Object |
ScenarioDataSource.newDataObject(EdmEntitySet entitySet) |
ScenarioDataSource.BinaryData |
ScenarioDataSource.readBinaryData(EdmEntitySet entitySet,
Object mediaLinkEntryData) |
List<?> |
ScenarioDataSource.readData(EdmEntitySet entitySet) |
Object |
ScenarioDataSource.readData(EdmEntitySet entitySet,
Map<String,Object> keys) |
Object |
ScenarioDataSource.readRelatedData(EdmEntitySet sourceEntitySet,
Object sourceData,
EdmEntitySet targetEntitySet,
Map<String,Object> targetKeys) |
void |
ScenarioDataSource.writeBinaryData(EdmEntitySet entitySet,
Object mediaLinkEntryData,
ScenarioDataSource.BinaryData binaryData) |
void |
ScenarioDataSource.writeRelation(EdmEntitySet sourceEntitySet,
Object sourceData,
EdmEntitySet targetEntitySet,
Map<String,Object> targetKeys) |
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.