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