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
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getNextPage()
Base
getPageOf()
void
setNextPage(URI nextPage)
void
setPageOf(Base pageOf)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
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
-
-