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
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.XmlType;
21 * Describes a physiological reaction.
23 * <p>Java class for physiologicalReactionType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="physiologicalReactionType"&gt;
29 * &lt;complexContent&gt;
30 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31 * &lt;sequence&gt;
32 * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType"/&gt;
33 * &lt;/sequence&gt;
34 * &lt;attribute name="direction" use="required"&gt;
35 * &lt;simpleType&gt;
36 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
37 * &lt;enumeration value="left-to-right"/&gt;
38 * &lt;enumeration value="right-to-left"/&gt;
39 * &lt;/restriction&gt;
40 * &lt;/simpleType&gt;
41 * &lt;/attribute&gt;
42 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
43 * &lt;/restriction&gt;
44 * &lt;/complexContent&gt;
45 * &lt;/complexType&gt;
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "physiologicalReactionType", propOrder = {
54 public class PhysiologicalReactionType {
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;
64 * Gets the value of the dbReference property.
68 * {@link DbReferenceType }
71 public DbReferenceType getDbReference() {
76 * Sets the value of the dbReference property.
80 * {@link DbReferenceType }
83 public void setDbReference(DbReferenceType value) {
84 this.dbReference = value;
88 * Gets the value of the direction property.
95 public String getDirection() {
100 * Sets the value of the direction property.
107 public void setDirection(String value) {
108 this.direction = value;
112 * Gets the value of the evidence property.
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 <CODE>set</CODE> method for the evidence property.
121 * For example, to add a new item, do as follows:
123 * getEvidence().add(newItem);
128 * Objects of the following type(s) are allowed in the list
133 public List<Integer> getEvidence() {
134 if (evidence == null) {
135 evidence = new ArrayList<Integer>();
137 return this.evidence;