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>
Modifier and Type | Field and Description |
---|---|
protected List<Source> |
sources |
links
Constructor and Description |
---|
Sources() |
Modifier and Type | Method and Description |
---|---|
List<Source> |
getSources()
Gets the value of the sources property.
|
Sources |
withSources(Collection<Source> values) |
Sources |
withSources(Source... values) |
getLinks, withLinks, withLinks
public List<Source> getSources()
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
public Sources withSources(Collection<Source> values)
Copyright © 2004–2022 XWiki. All rights reserved.