Package | Description |
---|---|
org.apache.olingo.odata2.api.edm |
Entity Data Model API
|
org.apache.olingo.odata2.api.ep |
Entity Provider
|
org.apache.olingo.odata2.api.ep.callback |
Entity Provider Callbacks
|
org.apache.olingo.odata2.api.uri |
URI Parser Facade
|
org.apache.olingo.odata2.api.uri.info |
URI Parser Result Views
|
org.apache.olingo.odata2.ref.processor |
Modifier and Type | Method and Description |
---|---|
EdmEntitySet |
EdmFunctionImport.getEntitySet()
Get the edm entity set
|
EdmEntitySet |
EdmAssociationSetEnd.getEntitySet()
Get the 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 |
PostUriInfo.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 |
GetMediaResourceUriInfo.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 |
GetEntitySetUriInfo.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 |
GetEntitySetLinksCountUriInfo.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 |
GetEntityLinkUriInfo.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 |
GetEntityCountUriInfo.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 |
PutMergePatchUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
PostUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetSimplePropertyUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetMediaResourceUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetLinksUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetLinksCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntitySetCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityLinkUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityLinkCountUriInfo.getTargetEntitySet()
Gets the target entity set after navigation.
|
EdmEntitySet |
GetEntityCountUriInfo.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.
|
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-2017 The Apache Software Foundation. All Rights Reserved.