JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / uniprot / ReactionType.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 package jalview.xml.binding.uniprot;
9
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;
17
18 /**
19  * Describes a chemical reaction.
20  * 
21  * <p>
22  * Java class for reactionType complex type.
23  * 
24  * <p>
25  * The following schema fragment specifies the expected content contained within
26  * this class.
27  * 
28  * <pre>
29  * &lt;complexType name="reactionType">
30  *   &lt;complexContent>
31  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  *       &lt;sequence>
33  *         &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
34  *         &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
35  *       &lt;/sequence>
36  *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
37  *     &lt;/restriction>
38  *   &lt;/complexContent>
39  * &lt;/complexType>
40  * </pre>
41  * 
42  * 
43  */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "reactionType", propOrder = { "text", "dbReference" })
46 public class ReactionType
47 {
48
49   @XmlElement(required = true)
50   protected String text;
51
52   @XmlElement(required = true)
53   protected List<DbReferenceType> dbReference;
54
55   @XmlAttribute(name = "evidence")
56   protected List<Integer> evidence;
57
58   /**
59    * Gets the value of the text property.
60    * 
61    * @return possible object is {@link String }
62    * 
63    */
64   public String getText()
65   {
66     return text;
67   }
68
69   /**
70    * Sets the value of the text property.
71    * 
72    * @param value
73    *          allowed object is {@link String }
74    * 
75    */
76   public void setText(String value)
77   {
78     this.text = value;
79   }
80
81   /**
82    * Gets the value of the dbReference property.
83    * 
84    * <p>
85    * This accessor method returns a reference to the live list, not a snapshot.
86    * Therefore any modification you make to the returned list will be present
87    * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
88    * for the dbReference property.
89    * 
90    * <p>
91    * For example, to add a new item, do as follows:
92    * 
93    * <pre>
94    * getDbReference().add(newItem);
95    * </pre>
96    * 
97    * 
98    * <p>
99    * Objects of the following type(s) are allowed in the list
100    * {@link DbReferenceType }
101    * 
102    * 
103    */
104   public List<DbReferenceType> getDbReference()
105   {
106     if (dbReference == null)
107     {
108       dbReference = new ArrayList<DbReferenceType>();
109     }
110     return this.dbReference;
111   }
112
113   /**
114    * Gets the value of the evidence property.
115    * 
116    * <p>
117    * This accessor method returns a reference to the live list, not a snapshot.
118    * Therefore any modification you make to the returned list will be present
119    * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
120    * for the evidence property.
121    * 
122    * <p>
123    * For example, to add a new item, do as follows:
124    * 
125    * <pre>
126    * getEvidence().add(newItem);
127    * </pre>
128    * 
129    * 
130    * <p>
131    * Objects of the following type(s) are allowed in the list {@link Integer }
132    * 
133    * 
134    */
135   public List<Integer> getEvidence()
136   {
137     if (evidence == null)
138     {
139       evidence = new ArrayList<Integer>();
140     }
141     return this.evidence;
142   }
143
144 }