c3838ec7a5e7d65f69c7ec900f9a137adaba3804
[jalview.git] / src / jalview / xml / binding / uniprot / SourceDataType.java
1 //
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: 2019.04.05 at 08:01:44 AM BST 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
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;
20
21
22 /**
23  * Describes the source of the sequence according to the citation.
24  *             Equivalent to the flat file RC-line.
25  * 
26  * <p>Java class for sourceDataType complex type.
27  * 
28  * <p>The following schema fragment specifies the expected content contained within this class.
29  * 
30  * <pre>
31  * &lt;complexType name="sourceDataType">
32  *   &lt;complexContent>
33  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34  *       &lt;choice maxOccurs="unbounded">
35  *         &lt;element name="strain">
36  *           &lt;complexType>
37  *             &lt;simpleContent>
38  *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
39  *                 &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
40  *               &lt;/extension>
41  *             &lt;/simpleContent>
42  *           &lt;/complexType>
43  *         &lt;/element>
44  *         &lt;element name="plasmid">
45  *           &lt;complexType>
46  *             &lt;simpleContent>
47  *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
48  *                 &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
49  *               &lt;/extension>
50  *             &lt;/simpleContent>
51  *           &lt;/complexType>
52  *         &lt;/element>
53  *         &lt;element name="transposon">
54  *           &lt;complexType>
55  *             &lt;simpleContent>
56  *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
57  *                 &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
58  *               &lt;/extension>
59  *             &lt;/simpleContent>
60  *           &lt;/complexType>
61  *         &lt;/element>
62  *         &lt;element name="tissue">
63  *           &lt;complexType>
64  *             &lt;simpleContent>
65  *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
66  *                 &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
67  *               &lt;/extension>
68  *             &lt;/simpleContent>
69  *           &lt;/complexType>
70  *         &lt;/element>
71  *       &lt;/choice>
72  *     &lt;/restriction>
73  *   &lt;/complexContent>
74  * &lt;/complexType>
75  * </pre>
76  * 
77  * 
78  */
79 @XmlAccessorType(XmlAccessType.FIELD)
80 @XmlType(name = "sourceDataType", propOrder = {
81     "strainOrPlasmidOrTransposon"
82 })
83 public class SourceDataType {
84
85     @XmlElements({
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)
90     })
91     protected List<Object> strainOrPlasmidOrTransposon;
92
93     /**
94      * Gets the value of the strainOrPlasmidOrTransposon property.
95      * 
96      * <p>
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.
101      * 
102      * <p>
103      * For example, to add a new item, do as follows:
104      * <pre>
105      *    getStrainOrPlasmidOrTransposon().add(newItem);
106      * </pre>
107      * 
108      * 
109      * <p>
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 }
115      * 
116      * 
117      */
118     public List<Object> getStrainOrPlasmidOrTransposon() {
119         if (strainOrPlasmidOrTransposon == null) {
120             strainOrPlasmidOrTransposon = new ArrayList<Object>();
121         }
122         return this.strainOrPlasmidOrTransposon;
123     }
124
125
126     /**
127      * <p>Java class for anonymous complex type.
128      * 
129      * <p>The following schema fragment specifies the expected content contained within this class.
130      * 
131      * <pre>
132      * &lt;complexType>
133      *   &lt;simpleContent>
134      *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
135      *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
136      *     &lt;/extension>
137      *   &lt;/simpleContent>
138      * &lt;/complexType>
139      * </pre>
140      * 
141      * 
142      */
143     @XmlAccessorType(XmlAccessType.FIELD)
144     @XmlType(name = "", propOrder = {
145         "value"
146     })
147     public static class Plasmid {
148
149         @XmlValue
150         protected String value;
151         @XmlAttribute(name = "evidence")
152         protected List<Integer> evidence;
153
154         /**
155          * Gets the value of the value property.
156          * 
157          * @return
158          *     possible object is
159          *     {@link String }
160          *     
161          */
162         public String getValue() {
163             return value;
164         }
165
166         /**
167          * Sets the value of the value property.
168          * 
169          * @param value
170          *     allowed object is
171          *     {@link String }
172          *     
173          */
174         public void setValue(String value) {
175             this.value = value;
176         }
177
178         /**
179          * Gets the value of the evidence property.
180          * 
181          * <p>
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.
186          * 
187          * <p>
188          * For example, to add a new item, do as follows:
189          * <pre>
190          *    getEvidence().add(newItem);
191          * </pre>
192          * 
193          * 
194          * <p>
195          * Objects of the following type(s) are allowed in the list
196          * {@link Integer }
197          * 
198          * 
199          */
200         public List<Integer> getEvidence() {
201             if (evidence == null) {
202                 evidence = new ArrayList<Integer>();
203             }
204             return this.evidence;
205         }
206
207     }
208
209
210     /**
211      * <p>Java class for anonymous complex type.
212      * 
213      * <p>The following schema fragment specifies the expected content contained within this class.
214      * 
215      * <pre>
216      * &lt;complexType>
217      *   &lt;simpleContent>
218      *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
219      *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
220      *     &lt;/extension>
221      *   &lt;/simpleContent>
222      * &lt;/complexType>
223      * </pre>
224      * 
225      * 
226      */
227     @XmlAccessorType(XmlAccessType.FIELD)
228     @XmlType(name = "", propOrder = {
229         "value"
230     })
231     public static class Strain {
232
233         @XmlValue
234         protected String value;
235         @XmlAttribute(name = "evidence")
236         protected List<Integer> evidence;
237
238         /**
239          * Gets the value of the value property.
240          * 
241          * @return
242          *     possible object is
243          *     {@link String }
244          *     
245          */
246         public String getValue() {
247             return value;
248         }
249
250         /**
251          * Sets the value of the value property.
252          * 
253          * @param value
254          *     allowed object is
255          *     {@link String }
256          *     
257          */
258         public void setValue(String value) {
259             this.value = value;
260         }
261
262         /**
263          * Gets the value of the evidence property.
264          * 
265          * <p>
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.
270          * 
271          * <p>
272          * For example, to add a new item, do as follows:
273          * <pre>
274          *    getEvidence().add(newItem);
275          * </pre>
276          * 
277          * 
278          * <p>
279          * Objects of the following type(s) are allowed in the list
280          * {@link Integer }
281          * 
282          * 
283          */
284         public List<Integer> getEvidence() {
285             if (evidence == null) {
286                 evidence = new ArrayList<Integer>();
287             }
288             return this.evidence;
289         }
290
291     }
292
293
294     /**
295      * <p>Java class for anonymous complex type.
296      * 
297      * <p>The following schema fragment specifies the expected content contained within this class.
298      * 
299      * <pre>
300      * &lt;complexType>
301      *   &lt;simpleContent>
302      *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
303      *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
304      *     &lt;/extension>
305      *   &lt;/simpleContent>
306      * &lt;/complexType>
307      * </pre>
308      * 
309      * 
310      */
311     @XmlAccessorType(XmlAccessType.FIELD)
312     @XmlType(name = "", propOrder = {
313         "value"
314     })
315     public static class Tissue {
316
317         @XmlValue
318         protected String value;
319         @XmlAttribute(name = "evidence")
320         protected List<Integer> evidence;
321
322         /**
323          * Gets the value of the value property.
324          * 
325          * @return
326          *     possible object is
327          *     {@link String }
328          *     
329          */
330         public String getValue() {
331             return value;
332         }
333
334         /**
335          * Sets the value of the value property.
336          * 
337          * @param value
338          *     allowed object is
339          *     {@link String }
340          *     
341          */
342         public void setValue(String value) {
343             this.value = value;
344         }
345
346         /**
347          * Gets the value of the evidence property.
348          * 
349          * <p>
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.
354          * 
355          * <p>
356          * For example, to add a new item, do as follows:
357          * <pre>
358          *    getEvidence().add(newItem);
359          * </pre>
360          * 
361          * 
362          * <p>
363          * Objects of the following type(s) are allowed in the list
364          * {@link Integer }
365          * 
366          * 
367          */
368         public List<Integer> getEvidence() {
369             if (evidence == null) {
370                 evidence = new ArrayList<Integer>();
371             }
372             return this.evidence;
373         }
374
375     }
376
377
378     /**
379      * <p>Java class for anonymous complex type.
380      * 
381      * <p>The following schema fragment specifies the expected content contained within this class.
382      * 
383      * <pre>
384      * &lt;complexType>
385      *   &lt;simpleContent>
386      *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
387      *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
388      *     &lt;/extension>
389      *   &lt;/simpleContent>
390      * &lt;/complexType>
391      * </pre>
392      * 
393      * 
394      */
395     @XmlAccessorType(XmlAccessType.FIELD)
396     @XmlType(name = "", propOrder = {
397         "value"
398     })
399     public static class Transposon {
400
401         @XmlValue
402         protected String value;
403         @XmlAttribute(name = "evidence")
404         protected List<Integer> evidence;
405
406         /**
407          * Gets the value of the value property.
408          * 
409          * @return
410          *     possible object is
411          *     {@link String }
412          *     
413          */
414         public String getValue() {
415             return value;
416         }
417
418         /**
419          * Sets the value of the value property.
420          * 
421          * @param value
422          *     allowed object is
423          *     {@link String }
424          *     
425          */
426         public void setValue(String value) {
427             this.value = value;
428         }
429
430         /**
431          * Gets the value of the evidence property.
432          * 
433          * <p>
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.
438          * 
439          * <p>
440          * For example, to add a new item, do as follows:
441          * <pre>
442          *    getEvidence().add(newItem);
443          * </pre>
444          * 
445          * 
446          * <p>
447          * Objects of the following type(s) are allowed in the list
448          * {@link Integer }
449          * 
450          * 
451          */
452         public List<Integer> getEvidence() {
453             if (evidence == null) {
454                 evidence = new ArrayList<Integer>();
455             }
456             return this.evidence;
457         }
458
459     }
460
461 }