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