Package org.eclipse.lyo.core.trs
Class Page
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.core.trs.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 Summary
-
Method Summary
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
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
- 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
- Parameters:
pageOf
- the pageOf to set
-