2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2023.05.13 at 06:58:42 PM BST
8 package jalview.xml.binding.uniprot;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlElements;
16 import javax.xml.bind.annotation.XmlType;
20 * Java class for nameListType complex type.
23 * The following schema fragment specifies the expected content contained within
27 * <complexType name="nameListType">
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <choice maxOccurs="unbounded">
31 * <element name="consortium" type="{http://uniprot.org/uniprot}consortiumType"/>
32 * <element name="person" type="{http://uniprot.org/uniprot}personType"/>
35 * </complexContent>
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "nameListType", propOrder = { "consortiumOrPerson" })
43 public class NameListType
47 @XmlElement(name = "consortium", type = ConsortiumType.class),
48 @XmlElement(name = "person", type = PersonType.class) })
49 protected List<Object> consortiumOrPerson;
52 * Gets the value of the consortiumOrPerson property.
55 * This accessor method returns a reference to the live list, not a snapshot.
56 * Therefore any modification you make to the returned list will be present
57 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
58 * for the consortiumOrPerson property.
61 * 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 } {@link PersonType }
74 public List<Object> getConsortiumOrPerson()
76 if (consortiumOrPerson == null)
78 consortiumOrPerson = new ArrayList<Object>();
80 return this.consortiumOrPerson;