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 Details

    • WriteFeedCallbackContext

      public WriteFeedCallbackContext()
  • Method Details

    • setSelfLink

      public void setSelfLink(URI selfLink)
      Sets the self Link for this feed.
      Parameters:
      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