Package org.xwiki.rest.model.jaxb
Class LinkCollection
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- Direct Known Subclasses:
Attachment
,Attachments
,Attribute
,Class
,Classes
,Client
,Comment
,Comments
,History
,HistorySummary
,JobLog
,JobStatus
,Objects
,ObjectSummary
,Pages
,PageSummary
,Properties
,Property
,PropertyValues
,SearchResult
,SearchResults
,Space
,Spaces
,Syntaxes
,Tag
,Tags
,Translation
,Translations
,Wiki
,Wikis
,Xwiki
public class LinkCollection extends Object
Java class for LinkCollection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LinkCollection"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="link" type="{http://www.xwiki.org}Link" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description LinkCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Link>
getLinks()
Gets the value of the links property.LinkCollection
withLinks(Collection<Link> values)
LinkCollection
withLinks(Link... values)
-
-
-
Method Detail
-
getLinks
public List<Link> getLinks()
Gets the value of the links 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 links property.For example, to add a new item, do as follows:
getLinks().add(newItem);
Objects of the following type(s) are allowed in the list
Link
-
withLinks
public LinkCollection withLinks(Link... values)
-
withLinks
public LinkCollection withLinks(Collection<Link> values)
-
-