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