Class WriteFeedCallbackContext
- java.lang.Object
-
- org.apache.olingo.odata2.api.ep.callback.WriteCallbackContext
-
- org.apache.olingo.odata2.api.ep.callback.WriteFeedCallbackContext
-
public class WriteFeedCallbackContext extends WriteCallbackContext
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 Constructor Description WriteFeedCallbackContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetSelfLink()This 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
-
-
-
-
Method Detail
-
setSelfLink
public void setSelfLink(URI selfLink)
Sets the self Link for this feed.- Parameters:
selfLink- SelfLink
-
getSelfLink
public URI 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
-
-