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: 2018.09.13 at 10:18:53 AM BST
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 * <complexType name="organismType">
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/>
33 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
34 * <element name="lineage" minOccurs="0">
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 * <element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
42 * </complexContent>
46 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
48 * </complexContent>
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.
189 * <complexContent>
190 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
192 * <element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
195 * </complexContent>
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>();