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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlType;
21 * Describes the source organism.
23 * <p>Java class for organismType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="organismType"&gt;
29 * &lt;complexContent&gt;
30 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31 * &lt;sequence&gt;
32 * &lt;element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/&gt;
33 * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/&gt;
34 * &lt;element name="lineage" minOccurs="0"&gt;
35 * &lt;complexType&gt;
36 * &lt;complexContent&gt;
37 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
38 * &lt;sequence&gt;
39 * &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt;
40 * &lt;/sequence&gt;
41 * &lt;/restriction&gt;
42 * &lt;/complexContent&gt;
43 * &lt;/complexType&gt;
44 * &lt;/element&gt;
45 * &lt;/sequence&gt;
46 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
47 * &lt;/restriction&gt;
48 * &lt;/complexContent&gt;
49 * &lt;/complexType&gt;
54 @XmlAccessorType(XmlAccessType.FIELD)
55 @XmlType(name = "organismType", propOrder = {
60 public class OrganismType {
62 @XmlElement(required = true)
63 protected List<OrganismNameType> name;
64 @XmlElement(required = true)
65 protected List<DbReferenceType> dbReference;
66 protected OrganismType.Lineage lineage;
67 @XmlAttribute(name = "evidence")
68 protected List<Integer> evidence;
71 * Gets the value of the name property.
74 * This accessor method returns a reference to the live list,
75 * not a snapshot. Therefore any modification you make to the
76 * returned list will be present inside the JAXB object.
77 * This is why there is not a <CODE>set</CODE> method for the name property.
80 * For example, to add a new item, do as follows:
82 * getName().add(newItem);
87 * Objects of the following type(s) are allowed in the list
88 * {@link OrganismNameType }
92 public List<OrganismNameType> getName() {
94 name = new ArrayList<OrganismNameType>();
100 * Gets the value of the dbReference property.
103 * This accessor method returns a reference to the live list,
104 * not a snapshot. Therefore any modification you make to the
105 * returned list will be present inside the JAXB object.
106 * This is why there is not a <CODE>set</CODE> method for the dbReference property.
109 * For example, to add a new item, do as follows:
111 * getDbReference().add(newItem);
116 * Objects of the following type(s) are allowed in the list
117 * {@link DbReferenceType }
121 public List<DbReferenceType> getDbReference() {
122 if (dbReference == null) {
123 dbReference = new ArrayList<DbReferenceType>();
125 return this.dbReference;
129 * Gets the value of the lineage property.
133 * {@link OrganismType.Lineage }
136 public OrganismType.Lineage getLineage() {
141 * Sets the value of the lineage property.
145 * {@link OrganismType.Lineage }
148 public void setLineage(OrganismType.Lineage value) {
149 this.lineage = value;
153 * Gets the value of the evidence property.
156 * This accessor method returns a reference to the live list,
157 * not a snapshot. Therefore any modification you make to the
158 * returned list will be present inside the JAXB object.
159 * This is why there is not a <CODE>set</CODE> method for the evidence property.
162 * For example, to add a new item, do as follows:
164 * getEvidence().add(newItem);
169 * Objects of the following type(s) are allowed in the list
174 public List<Integer> getEvidence() {
175 if (evidence == null) {
176 evidence = new ArrayList<Integer>();
178 return this.evidence;
183 * <p>Java class for anonymous complex type.
185 * <p>The following schema fragment specifies the expected content contained within this class.
188 * &lt;complexType&gt;
189 * &lt;complexContent&gt;
190 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
191 * &lt;sequence&gt;
192 * &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt;
193 * &lt;/sequence&gt;
194 * &lt;/restriction&gt;
195 * &lt;/complexContent&gt;
196 * &lt;/complexType&gt;
201 @XmlAccessorType(XmlAccessType.FIELD)
202 @XmlType(name = "", propOrder = {
205 public static class Lineage {
207 @XmlElement(required = true)
208 protected List<String> taxon;
211 * Gets the value of the taxon property.
214 * This accessor method returns a reference to the live list,
215 * not a snapshot. Therefore any modification you make to the
216 * returned list will be present inside the JAXB object.
217 * This is why there is not a <CODE>set</CODE> method for the taxon property.
220 * For example, to add a new item, do as follows:
222 * getTaxon().add(newItem);
227 * Objects of the following type(s) are allowed in the list
232 public List<String> getTaxon() {
234 taxon = new ArrayList<String>();