ad22872b70291ea458b65b4e748f383d9d48b221
[jalview.git] / src / jalview / xml / binding / uniprot / EvidencedStringType.java
1 //
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: 2019.04.05 at 08:01:44 AM BST 
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  * &lt;complexType name="evidencedStringType">
27  *   &lt;simpleContent>
28  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
29  *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
30  *       &lt;attribute name="status">
31  *         &lt;simpleType>
32  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
33  *             &lt;enumeration value="by similarity"/>
34  *             &lt;enumeration value="probable"/>
35  *             &lt;enumeration value="potential"/>
36  *           &lt;/restriction>
37  *         &lt;/simpleType>
38  *       &lt;/attribute>
39  *     &lt;/extension>
40  *   &lt;/simpleContent>
41  * &lt;/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      * <p>
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 <CODE>set</CODE> method for the evidence property.
91      * 
92      * <p>
93      * For example, to add a new item, do as follows:
94      * <pre>
95      *    getEvidence().add(newItem);
96      * </pre>
97      * 
98      * 
99      * <p>
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 }