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.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
19 * Describes the source organism.
22 * Java class for organismType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="organismType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/>
34 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
35 * <element name="lineage" minOccurs="0">
38 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 * <element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
43 * </complexContent>
47 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
49 * </complexContent>
55 @XmlAccessorType(XmlAccessType.FIELD)
57 name = "organismType",
59 { "name", "dbReference", "lineage" })
60 public class OrganismType
63 @XmlElement(required = true)
64 protected List<OrganismNameType> name;
66 @XmlElement(required = true)
67 protected List<DbReferenceType> dbReference;
69 protected OrganismType.Lineage lineage;
71 @XmlAttribute(name = "evidence")
72 protected List<Integer> evidence;
75 * Gets the value of the name property.
78 * This accessor method returns a reference to the live list, not a snapshot.
79 * Therefore any modification you make to the returned list will be present
80 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
81 * for the name property.
84 * For example, to add a new item, do as follows:
87 * getName().add(newItem);
92 * Objects of the following type(s) are allowed in the list
93 * {@link OrganismNameType }
97 public List<OrganismNameType> getName()
101 name = new ArrayList<OrganismNameType>();
107 * Gets the value of the dbReference property.
110 * This accessor method returns a reference to the live list, not a snapshot.
111 * Therefore any modification you make to the returned list will be present
112 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
113 * for the dbReference property.
116 * For example, to add a new item, do as follows:
119 * getDbReference().add(newItem);
124 * Objects of the following type(s) are allowed in the list
125 * {@link DbReferenceType }
129 public List<DbReferenceType> getDbReference()
131 if (dbReference == null)
133 dbReference = new ArrayList<DbReferenceType>();
135 return this.dbReference;
139 * Gets the value of the lineage property.
141 * @return possible object is {@link OrganismType.Lineage }
144 public OrganismType.Lineage getLineage()
150 * Sets the value of the lineage property.
153 * allowed object is {@link OrganismType.Lineage }
156 public void setLineage(OrganismType.Lineage value)
158 this.lineage = value;
162 * Gets the value of the evidence property.
165 * This accessor method returns a reference to the live list, not a snapshot.
166 * Therefore any modification you make to the returned list will be present
167 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
168 * for the evidence property.
171 * For example, to add a new item, do as follows:
174 * getEvidence().add(newItem);
179 * Objects of the following type(s) are allowed in the list {@link Integer }
183 public List<Integer> getEvidence()
185 if (evidence == null)
187 evidence = new ArrayList<Integer>();
189 return this.evidence;
194 * Java class for anonymous complex type.
197 * The following schema fragment specifies the expected content contained
202 * <complexContent>
203 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
205 * <element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
208 * </complexContent>
214 @XmlAccessorType(XmlAccessType.FIELD)
215 @XmlType(name = "", propOrder = { "taxon" })
216 public static class Lineage
219 @XmlElement(required = true)
220 protected List<String> taxon;
223 * Gets the value of the taxon property.
226 * This accessor method returns a reference to the live list, not a
227 * snapshot. Therefore any modification you make to the returned list will
228 * be present inside the JAXB object. This is why there is not a
229 * <CODE>set</CODE> method for the taxon property.
232 * For example, to add a new item, do as follows:
235 * getTaxon().add(newItem);
240 * Objects of the following type(s) are allowed in the list {@link String }
244 public List<String> getTaxon()
248 taxon = new ArrayList<String>();