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