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 chemical reaction.
23 * <p>Java class for reactionType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="reactionType"&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="text" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
33 * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/&gt;
34 * &lt;/sequence&gt;
35 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
36 * &lt;/restriction&gt;
37 * &lt;/complexContent&gt;
38 * &lt;/complexType&gt;
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "reactionType", propOrder = {
48 public class ReactionType {
50 @XmlElement(required = true)
51 protected String text;
52 @XmlElement(required = true)
53 protected List<DbReferenceType> dbReference;
54 @XmlAttribute(name = "evidence")
55 protected List<Integer> evidence;
58 * Gets the value of the text property.
65 public String getText() {
70 * Sets the value of the text property.
77 public void setText(String value) {
82 * Gets the value of the dbReference property.
85 * This accessor method returns a reference to the live list,
86 * not a snapshot. Therefore any modification you make to the
87 * returned list will be present inside the JAXB object.
88 * This is why there is not a <CODE>set</CODE> method for the dbReference property.
91 * For example, to add a new item, do as follows:
93 * getDbReference().add(newItem);
98 * Objects of the following type(s) are allowed in the list
99 * {@link DbReferenceType }
103 public List<DbReferenceType> getDbReference() {
104 if (dbReference == null) {
105 dbReference = new ArrayList<DbReferenceType>();
107 return this.dbReference;
111 * Gets the value of the evidence property.
114 * This accessor method returns a reference to the live list,
115 * not a snapshot. Therefore any modification you make to the
116 * returned list will be present inside the JAXB object.
117 * This is why there is not a <CODE>set</CODE> method for the evidence property.
120 * For example, to add a new item, do as follows:
122 * getEvidence().add(newItem);
127 * Objects of the following type(s) are allowed in the list
132 public List<Integer> getEvidence() {
133 if (evidence == null) {
134 evidence = new ArrayList<Integer>();
136 return this.evidence;