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.02.22 at 05:27:56 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 * <complexType name="nameListType">
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <choice maxOccurs="unbounded">
30 * <element name="consortium" type="{http://uniprot.org/uniprot}consortiumType"/>
31 * <element name="person" type="{http://uniprot.org/uniprot}personType"/>
34 * </complexContent>
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;