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="{https://phenotips.org/}Link" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
LinkCollection() |
| Modifier and Type | Method and Description |
|---|---|
List<Link> |
getLinks()
Gets the value of the links property.
|
LinkCollection |
withLinks(Collection<Link> values) |
LinkCollection |
withLinks(Link... values) |
public List<Link> getLinks()
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
public LinkCollection withLinks(Link... values)
public LinkCollection withLinks(Collection<Link> values)
Copyright © 2011–2015 University of Toronto, Computational Biology Lab. All rights reserved.