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.03.17 at 05:31:46 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 * <complexType name="sourceDataType">
33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <choice maxOccurs="unbounded">
35 * <element name="strain">
38 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
39 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
44 * <element name="plasmid">
47 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
48 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
53 * <element name="transposon">
56 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
57 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
62 * <element name="tissue">
65 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
66 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
73 * </complexContent>
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.
134 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
135 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
137 * </simpleContent>
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.
218 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
219 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
221 * </simpleContent>
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.
302 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
303 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
305 * </simpleContent>
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.
386 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
387 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
389 * </simpleContent>
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;