JAL-3785 JAL- Merge branch 'bug/JAL-3785autoOverviewTitle' into 2_11_2_develop
[jalview.git] / src / jalview / xml / binding / uniprot / EvidencedStringType.java
1 //
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 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
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.XmlType;
17 import javax.xml.bind.annotation.XmlValue;
18
19
20 /**
21  * <p>Java class for evidencedStringType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * <complexType name="evidencedStringType">
27  *   <simpleContent>
28  *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
29  *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
30  *       <attribute name="status">
31  *         <simpleType>
32  *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
33  *             <enumeration value="by similarity"/>
34  *             <enumeration value="probable"/>
35  *             <enumeration value="potential"/>
36  *           </restriction>
37  *         </simpleType>
38  *       </attribute>
39  *     </extension>
40  *   </simpleContent>
41  * </complexType>
42  * </pre>
43  * 
44  * 
45  */
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "evidencedStringType", propOrder = {
48     "value"
49 })
50 public class EvidencedStringType {
51
52     @XmlValue
53     protected String value;
54     @XmlAttribute(name = "evidence")
55     protected List<Integer> evidence;
56     @XmlAttribute(name = "status")
57     protected String status;
58
59     /**
60      * Gets the value of the value property.
61      * 
62      * @return
63      *     possible object is
64      *     {@link String }
65      *     
66      */
67     public String getValue() {
68         return value;
69     }
70
71     /**
72      * Sets the value of the value property.
73      * 
74      * @param value
75      *     allowed object is
76      *     {@link String }
77      *     
78      */
79     public void setValue(String value) {
80         this.value = value;
81     }
82
83     /**
84      * Gets the value of the evidence property.
85      * 
86      * &lt;p&gt;
87      * This accessor method returns a reference to the live list,
88      * not a snapshot. Therefore any modification you make to the
89      * returned list will be present inside the JAXB object.
90      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the evidence property.
91      * 
92      * &lt;p&gt;
93      * For example, to add a new item, do as follows:
94      * &lt;pre&gt;
95      *    getEvidence().add(newItem);
96      * &lt;/pre&gt;
97      * 
98      * 
99      * &lt;p&gt;
100      * Objects of the following type(s) are allowed in the list
101      * {@link Integer }
102      * 
103      * 
104      */
105     public List<Integer> getEvidence() {
106         if (evidence == null) {
107             evidence = new ArrayList<Integer>();
108         }
109         return this.evidence;
110     }
111
112     /**
113      * Gets the value of the status property.
114      * 
115      * @return
116      *     possible object is
117      *     {@link String }
118      *     
119      */
120     public String getStatus() {
121         return status;
122     }
123
124     /**
125      * Sets the value of the status property.
126      * 
127      * @param value
128      *     allowed object is
129      *     {@link String }
130      *     
131      */
132     public void setStatus(String value) {
133         this.status = value;
134     }
135
136 }