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.03.17 at 05:31:46 PM GMT
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 chemical reaction.
22 * Java class for reactionType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="reactionType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
34 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
36 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
38 * </complexContent>
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "reactionType", propOrder = { "text", "dbReference" })
46 public class ReactionType
49 @XmlElement(required = true)
50 protected String text;
52 @XmlElement(required = true)
53 protected List<DbReferenceType> dbReference;
55 @XmlAttribute(name = "evidence")
56 protected List<Integer> evidence;
59 * Gets the value of the text property.
61 * @return possible object is {@link String }
64 public String getText()
70 * Sets the value of the text property.
73 * allowed object is {@link String }
76 public void setText(String value)
82 * Gets the value of the dbReference property.
85 * This accessor method returns a reference to the live list, not a snapshot.
86 * Therefore any modification you make to the returned list will be present
87 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
88 * for the dbReference property.
91 * For example, to add a new item, do as follows:
94 * getDbReference().add(newItem);
99 * Objects of the following type(s) are allowed in the list
100 * {@link DbReferenceType }
104 public List<DbReferenceType> getDbReference()
106 if (dbReference == null)
108 dbReference = new ArrayList<DbReferenceType>();
110 return this.dbReference;
114 * Gets the value of the evidence property.
117 * This accessor method returns a reference to the live list, not a snapshot.
118 * Therefore any modification you make to the returned list will be present
119 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
120 * for the evidence property.
123 * For example, to add a new item, do as follows:
126 * getEvidence().add(newItem);
131 * Objects of the following type(s) are allowed in the list {@link Integer }
135 public List<Integer> getEvidence()
137 if (evidence == null)
139 evidence = new ArrayList<Integer>();
141 return this.evidence;