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