Class WriteFeedCallbackContext
java.lang.Object
org.apache.olingo.odata2.api.ep.callback.WriteCallbackContext
org.apache.olingo.odata2.api.ep.callback.WriteFeedCallbackContext
Context given if the target of an expand is a feed. It contains the source entity set, the navigation property
pointing to the entry which has to be expanded, the current expand select tree node and the data of the source entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis self link is the same as the link displayed for the navigation property e.g.voidsetSelfLink(URI selfLink) Sets the self Link for this feed.Methods inherited from class org.apache.olingo.odata2.api.ep.callback.WriteCallbackContext
extractKeyFromEntryData, getCurrentExpandSelectTreeNode, getCurrentWriteProperties, getEntryData, getNavigationProperty, getSourceEntitySet, setCurrentExpandSelectTreeNode, setCurrentWriteProperties, setEntryData, setNavigationProperty, setSourceEntitySet
-
Constructor Details
-
WriteFeedCallbackContext
public WriteFeedCallbackContext()
-
-
Method Details
-
setSelfLink
Sets the self Link for this feed.- Parameters:
selfLink-
-
getSelfLink
This self link is the same as the link displayed for the navigation property e.g. Rooms(1)/nr_Buildings.- Returns:
- the self link calculated by the library
-