Package org.xwiki.rest.model.jaxb
Class Pages
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Pages
-
public class Pages extends LinkCollection
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="pageSummary" type="{http://www.xwiki.org}PageSummary" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PageSummary>
pageSummaries
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Pages()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PageSummary>
getPageSummaries()
Gets the value of the pageSummaries property.Pages
withLinks(Collection<Link> values)
Pages
withLinks(Link... values)
Pages
withPageSummaries(Collection<PageSummary> values)
Pages
withPageSummaries(PageSummary... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Field Detail
-
pageSummaries
protected List<PageSummary> pageSummaries
-
-
Method Detail
-
getPageSummaries
public List<PageSummary> getPageSummaries()
Gets the value of the pageSummaries property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the pageSummaries property.For example, to add a new item, do as follows:
getPageSummaries().add(newItem);
Objects of the following type(s) are allowed in the list
PageSummary
-
withPageSummaries
public Pages withPageSummaries(PageSummary... values)
-
withPageSummaries
public Pages withPageSummaries(Collection<PageSummary> values)
-
withLinks
public Pages withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public Pages withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-