Class Sources
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.livedata.rest.model.jaxb.Sources
-
public class Sources extends LinkCollection
Java class for Sources complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Sources"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="source" type="{http://www.xwiki.org/liveData}Source" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Source>
sources
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Sources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Source>
getSources()
Gets the value of the sources property.Sources
withSources(Collection<Source> values)
Sources
withSources(Source... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks, withLinks, withLinks
-
-
-
-
Method Detail
-
getSources
public List<Source> getSources()
Gets the value of the sources 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 sources property.For example, to add a new item, do as follows:
getSources().add(newItem);
Objects of the following type(s) are allowed in the list
Source
-
withSources
public Sources withSources(Collection<Source> values)
-
-