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
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>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLinks()
Gets the value of the links property.withLinks
(Collection<Link> values)
-
Field Details
-
links
-
-
Constructor Details
-
LinkCollection
public LinkCollection()
-
-
Method Details
-
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
-
withLinks
-