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: 2023.05.13 at 06:58:42 PM BST
8 package jalview.xml.binding.uniprot;
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;
19 * Describes a physiological reaction.
22 * Java class for physiologicalReactionType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="physiologicalReactionType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType"/>
35 * <attribute name="direction" use="required">
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
38 * <enumeration value="left-to-right"/>
39 * <enumeration value="right-to-left"/>
43 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
45 * </complexContent>
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "physiologicalReactionType", propOrder = { "dbReference" })
53 public class PhysiologicalReactionType
56 @XmlElement(required = true)
57 protected DbReferenceType dbReference;
59 @XmlAttribute(name = "direction", required = true)
60 protected String direction;
62 @XmlAttribute(name = "evidence")
63 protected List<Integer> evidence;
66 * Gets the value of the dbReference property.
68 * @return possible object is {@link DbReferenceType }
71 public DbReferenceType getDbReference()
77 * Sets the value of the dbReference property.
80 * allowed object is {@link DbReferenceType }
83 public void setDbReference(DbReferenceType value)
85 this.dbReference = value;
89 * Gets the value of the direction property.
91 * @return possible object is {@link String }
94 public String getDirection()
100 * Sets the value of the direction property.
103 * allowed object is {@link String }
106 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, 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.
121 * For example, to add a new item, do as follows:
124 * getEvidence().add(newItem);
129 * Objects of the following type(s) are allowed in the list {@link Integer }
133 public List<Integer> getEvidence()
135 if (evidence == null)
137 evidence = new ArrayList<Integer>();
139 return this.evidence;