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.XmlElements;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.XmlValue;
23 * Describes the source of the sequence according to the citation.
24 * Equivalent to the flat file RC-line.
26 * <p>Java class for sourceDataType complex type.
28 * <p>The following schema fragment specifies the expected content contained within this class.
31 * &lt;complexType name="sourceDataType"&gt;
32 * &lt;complexContent&gt;
33 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34 * &lt;choice maxOccurs="unbounded"&gt;
35 * &lt;element name="strain"&gt;
36 * &lt;complexType&gt;
37 * &lt;simpleContent&gt;
38 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
39 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
40 * &lt;/extension&gt;
41 * &lt;/simpleContent&gt;
42 * &lt;/complexType&gt;
43 * &lt;/element&gt;
44 * &lt;element name="plasmid"&gt;
45 * &lt;complexType&gt;
46 * &lt;simpleContent&gt;
47 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
48 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
49 * &lt;/extension&gt;
50 * &lt;/simpleContent&gt;
51 * &lt;/complexType&gt;
52 * &lt;/element&gt;
53 * &lt;element name="transposon"&gt;
54 * &lt;complexType&gt;
55 * &lt;simpleContent&gt;
56 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
57 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
58 * &lt;/extension&gt;
59 * &lt;/simpleContent&gt;
60 * &lt;/complexType&gt;
61 * &lt;/element&gt;
62 * &lt;element name="tissue"&gt;
63 * &lt;complexType&gt;
64 * &lt;simpleContent&gt;
65 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
66 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
67 * &lt;/extension&gt;
68 * &lt;/simpleContent&gt;
69 * &lt;/complexType&gt;
70 * &lt;/element&gt;
71 * &lt;/choice&gt;
72 * &lt;/restriction&gt;
73 * &lt;/complexContent&gt;
74 * &lt;/complexType&gt;
79 @XmlAccessorType(XmlAccessType.FIELD)
80 @XmlType(name = "sourceDataType", propOrder = {
81 "strainOrPlasmidOrTransposon"
83 public class SourceDataType {
86 @XmlElement(name = "strain", type = SourceDataType.Strain.class),
87 @XmlElement(name = "plasmid", type = SourceDataType.Plasmid.class),
88 @XmlElement(name = "transposon", type = SourceDataType.Transposon.class),
89 @XmlElement(name = "tissue", type = SourceDataType.Tissue.class)
91 protected List<Object> strainOrPlasmidOrTransposon;
94 * Gets the value of the strainOrPlasmidOrTransposon property.
97 * This accessor method returns a reference to the live list,
98 * not a snapshot. Therefore any modification you make to the
99 * returned list will be present inside the JAXB object.
100 * This is why there is not a <CODE>set</CODE> method for the strainOrPlasmidOrTransposon property.
103 * For example, to add a new item, do as follows:
105 * getStrainOrPlasmidOrTransposon().add(newItem);
110 * Objects of the following type(s) are allowed in the list
111 * {@link SourceDataType.Strain }
112 * {@link SourceDataType.Plasmid }
113 * {@link SourceDataType.Transposon }
114 * {@link SourceDataType.Tissue }
118 public List<Object> getStrainOrPlasmidOrTransposon() {
119 if (strainOrPlasmidOrTransposon == null) {
120 strainOrPlasmidOrTransposon = new ArrayList<Object>();
122 return this.strainOrPlasmidOrTransposon;
127 * <p>Java class for anonymous complex type.
129 * <p>The following schema fragment specifies the expected content contained within this class.
132 * &lt;complexType&gt;
133 * &lt;simpleContent&gt;
134 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
135 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
136 * &lt;/extension&gt;
137 * &lt;/simpleContent&gt;
138 * &lt;/complexType&gt;
143 @XmlAccessorType(XmlAccessType.FIELD)
144 @XmlType(name = "", propOrder = {
147 public static class Plasmid {
150 protected String value;
151 @XmlAttribute(name = "evidence")
152 protected List<Integer> evidence;
155 * Gets the value of the value property.
162 public String getValue() {
167 * Sets the value of the value property.
174 public void setValue(String value) {
179 * Gets the value of the evidence property.
182 * This accessor method returns a reference to the live list,
183 * not a snapshot. Therefore any modification you make to the
184 * returned list will be present inside the JAXB object.
185 * This is why there is not a <CODE>set</CODE> method for the evidence property.
188 * For example, to add a new item, do as follows:
190 * getEvidence().add(newItem);
195 * Objects of the following type(s) are allowed in the list
200 public List<Integer> getEvidence() {
201 if (evidence == null) {
202 evidence = new ArrayList<Integer>();
204 return this.evidence;
211 * <p>Java class for anonymous complex type.
213 * <p>The following schema fragment specifies the expected content contained within this class.
216 * &lt;complexType&gt;
217 * &lt;simpleContent&gt;
218 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
219 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
220 * &lt;/extension&gt;
221 * &lt;/simpleContent&gt;
222 * &lt;/complexType&gt;
227 @XmlAccessorType(XmlAccessType.FIELD)
228 @XmlType(name = "", propOrder = {
231 public static class Strain {
234 protected String value;
235 @XmlAttribute(name = "evidence")
236 protected List<Integer> evidence;
239 * Gets the value of the value property.
246 public String getValue() {
251 * Sets the value of the value property.
258 public void setValue(String value) {
263 * Gets the value of the evidence property.
266 * This accessor method returns a reference to the live list,
267 * not a snapshot. Therefore any modification you make to the
268 * returned list will be present inside the JAXB object.
269 * This is why there is not a <CODE>set</CODE> method for the evidence property.
272 * For example, to add a new item, do as follows:
274 * getEvidence().add(newItem);
279 * Objects of the following type(s) are allowed in the list
284 public List<Integer> getEvidence() {
285 if (evidence == null) {
286 evidence = new ArrayList<Integer>();
288 return this.evidence;
295 * <p>Java class for anonymous complex type.
297 * <p>The following schema fragment specifies the expected content contained within this class.
300 * &lt;complexType&gt;
301 * &lt;simpleContent&gt;
302 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
303 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
304 * &lt;/extension&gt;
305 * &lt;/simpleContent&gt;
306 * &lt;/complexType&gt;
311 @XmlAccessorType(XmlAccessType.FIELD)
312 @XmlType(name = "", propOrder = {
315 public static class Tissue {
318 protected String value;
319 @XmlAttribute(name = "evidence")
320 protected List<Integer> evidence;
323 * Gets the value of the value property.
330 public String getValue() {
335 * Sets the value of the value property.
342 public void setValue(String value) {
347 * Gets the value of the evidence property.
350 * This accessor method returns a reference to the live list,
351 * not a snapshot. Therefore any modification you make to the
352 * returned list will be present inside the JAXB object.
353 * This is why there is not a <CODE>set</CODE> method for the evidence property.
356 * For example, to add a new item, do as follows:
358 * getEvidence().add(newItem);
363 * Objects of the following type(s) are allowed in the list
368 public List<Integer> getEvidence() {
369 if (evidence == null) {
370 evidence = new ArrayList<Integer>();
372 return this.evidence;
379 * <p>Java class for anonymous complex type.
381 * <p>The following schema fragment specifies the expected content contained within this class.
384 * &lt;complexType&gt;
385 * &lt;simpleContent&gt;
386 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
387 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
388 * &lt;/extension&gt;
389 * &lt;/simpleContent&gt;
390 * &lt;/complexType&gt;
395 @XmlAccessorType(XmlAccessType.FIELD)
396 @XmlType(name = "", propOrder = {
399 public static class Transposon {
402 protected String value;
403 @XmlAttribute(name = "evidence")
404 protected List<Integer> evidence;
407 * Gets the value of the value property.
414 public String getValue() {
419 * Sets the value of the value property.
426 public void setValue(String value) {
431 * Gets the value of the evidence property.
434 * This accessor method returns a reference to the live list,
435 * not a snapshot. Therefore any modification you make to the
436 * returned list will be present inside the JAXB object.
437 * This is why there is not a <CODE>set</CODE> method for the evidence property.
440 * For example, to add a new item, do as follows:
442 * getEvidence().add(newItem);
447 * Objects of the following type(s) are allowed in the list
452 public List<Integer> getEvidence() {
453 if (evidence == null) {
454 evidence = new ArrayList<Integer>();
456 return this.evidence;