public class Alternatives extends LinkCollection
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{https://phenotips.org/}LinkCollection"> <sequence> <element name="patient" type="{https://phenotips.org/}Alternative" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Alternative> |
patients |
links
Constructor and Description |
---|
Alternatives() |
Modifier and Type | Method and Description |
---|---|
List<Alternative> |
getPatients()
Gets the value of the patients property.
|
Alternatives |
withLinks(Collection<Link> values) |
Alternatives |
withLinks(Link... values) |
Alternatives |
withPatients(Alternative... values) |
Alternatives |
withPatients(Collection<Alternative> values) |
getLinks
protected List<Alternative> patients
public List<Alternative> getPatients()
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 patients property.
For example, to add a new item, do as follows:
getPatients().add(newItem);
Objects of the following type(s) are allowed in the list
Alternative
public Alternatives withPatients(Alternative... values)
public Alternatives withPatients(Collection<Alternative> values)
public Alternatives withLinks(Link... values)
withLinks
in class LinkCollection
public Alternatives withLinks(Collection<Link> values)
withLinks
in class LinkCollection
Copyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.