Class ReadFeedResult
java.lang.Object
org.apache.olingo.odata2.api.ep.callback.ReadResult
org.apache.olingo.odata2.api.ep.callback.ReadFeedResult
A
ReadFeedResult represents an inlined navigation property which points to a feed (in the form of a list of
ODataEntry instances).
The ReadFeedResult contains the EntityProviderReadProperties which were used for read,
the navigationPropertyName and the read/de-serialized inlined entities.
If inlined navigation property is nullable the ReadFeedResult has the
navigationPropertyName and a NULL entry set.-
Field Summary
Fields inherited from class org.apache.olingo.odata2.api.ep.callback.ReadResult
navigationProperty, readProperties -
Constructor Summary
ConstructorsConstructorDescriptionReadFeedResult(EntityProviderReadProperties properties, EdmNavigationProperty navigationProperty, ODataFeed entry, String entryMetadataId) Constructor. -
Method Summary
Methods inherited from class org.apache.olingo.odata2.api.ep.callback.ReadResult
getNavigationProperty, getReadProperties
-
Constructor Details
-
Method Details
-
getResult
Description copied from class:ReadResultCommon access method to read result.- Specified by:
getResultin classReadResult- Returns:
- an
ODataEntryfor the case of an single read entry or a list ofODataEntryin the case of an read feed.
-
isFeed
public boolean isFeed()Description copied from class:ReadResultReturn whether this entry is afeed(multiplicity of1..m) or a singleentry(multiplicity of0..1or1..1).- Specified by:
isFeedin classReadResult- Returns:
truefor a feed andfalsefor an entry
-
toString
- Overrides:
toStringin classReadResult
-
getParentEntryId
- Returns:
- the rootEntryId
-