Class Page

All Implemented Interfaces:
IExtendedResource, IResource

@OslcNamespace("http://www.w3.org/ns/ldp#") @OslcResourceShape(title="A Page in the Base Resource", describes="http://www.w3.org/ns/ldp#Page") public class Page extends AbstractResource
In TRS, the Base Resource is paginated using the W3C Linked Data Platform (LDP) Container pagination. This class defines a LDP resource.
  • Constructor Details

    • Page

      public Page()
  • Method Details

    • getNextPage

      @OslcName("nextPage") @OslcDescription("The representation of a page resource will contain a subset of the Base\'s rdfs:member predicates. In addition, it will contain another triple, whose subject is the page resource itself (i.e., not the Base resource), with a reference to the next page.") @OslcPropertyDefinition("http://www.w3.org/ns/ldp#nextPage") @OslcTitle("Next Page") public URI getNextPage()
      Returns:
      the nextPage
    • setNextPage

      public void setNextPage(URI nextPage)
      Parameters:
      nextPage - the nextPage to set
    • getPageOf

      @OslcName("pageOf") @OslcDescription("A reference back to the base resource this page belongs to.") @OslcPropertyDefinition("http://www.w3.org/ns/ldp#pageOf") @OslcTitle("Page Of") public Base getPageOf()
      Returns:
      the pageOf
    • setPageOf

      public void setPageOf(Base pageOf)
      Parameters:
      pageOf - the pageOf to set