2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT
9 package jalview.xml.binding.uniprot;
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlElements;
17 import javax.xml.bind.annotation.XmlType;
21 * <p>Java class for nameListType complex type.
23 * <p>The following schema fragment specifies the expected content contained within this class.
26 * &lt;complexType name="nameListType"&gt;
27 * &lt;complexContent&gt;
28 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
29 * &lt;choice maxOccurs="unbounded"&gt;
30 * &lt;element name="consortium" type="{http://uniprot.org/uniprot}consortiumType"/&gt;
31 * &lt;element name="person" type="{http://uniprot.org/uniprot}personType"/&gt;
32 * &lt;/choice&gt;
33 * &lt;/restriction&gt;
34 * &lt;/complexContent&gt;
35 * &lt;/complexType&gt;
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "nameListType", propOrder = {
44 public class NameListType {
47 @XmlElement(name = "consortium", type = ConsortiumType.class),
48 @XmlElement(name = "person", type = PersonType.class)
50 protected List<Object> consortiumOrPerson;
53 * Gets the value of the consortiumOrPerson property.
56 * This accessor method returns a reference to the live list,
57 * not a snapshot. Therefore any modification you make to the
58 * returned list will be present inside the JAXB object.
59 * This is why there is not a <CODE>set</CODE> method for the consortiumOrPerson property.
62 * For example, to add a new item, do as follows:
64 * getConsortiumOrPerson().add(newItem);
69 * Objects of the following type(s) are allowed in the list
70 * {@link ConsortiumType }
75 public List<Object> getConsortiumOrPerson() {
76 if (consortiumOrPerson == null) {
77 consortiumOrPerson = new ArrayList<Object>();
79 return this.consortiumOrPerson;