73468c9ae4d3025a9d375a2196a6e4f5f3350a72
[jalview.git] / src / jalview / xml / binding / jalview / Feature.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: 2021.08.30 at 11:05:22 AM BST 
6 //
7
8
9 package jalview.xml.binding.jalview;
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
18
19 /**
20  * <p>Java class for feature complex type.
21  * 
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * 
24  * <pre>
25  * <complexType name="feature">
26  *   <complexContent>
27  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28  *       <sequence>
29  *         <element name="otherData" maxOccurs="unbounded" minOccurs="0">
30  *           <complexType>
31  *             <complexContent>
32  *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33  *                 <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
34  *                 <attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" />
35  *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36  *               </restriction>
37  *             </complexContent>
38  *           </complexType>
39  *         </element>
40  *       </sequence>
41  *       <attribute name="begin" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
42  *       <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
43  *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
44  *       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
45  *       <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
46  *       <attribute name="featureGroup" type="{http://www.w3.org/2001/XMLSchema}string" />
47  *       <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}float" />
48  *     </restriction>
49  *   </complexContent>
50  * </complexType>
51  * </pre>
52  * 
53  * 
54  */
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "feature", namespace = "www.jalview.org", propOrder = {
57     "otherData"
58 })
59 public class Feature {
60
61     protected List<Feature.OtherData> otherData;
62     @XmlAttribute(name = "begin", required = true)
63     protected int begin;
64     @XmlAttribute(name = "end", required = true)
65     protected int end;
66     @XmlAttribute(name = "type", required = true)
67     protected String type;
68     @XmlAttribute(name = "description")
69     protected String description;
70     @XmlAttribute(name = "status")
71     protected String status;
72     @XmlAttribute(name = "featureGroup")
73     protected String featureGroup;
74     @XmlAttribute(name = "score")
75     protected Float score;
76
77     /**
78      * Gets the value of the otherData property.
79      * 
80      * &lt;p&gt;
81      * This accessor method returns a reference to the live list,
82      * not a snapshot. Therefore any modification you make to the
83      * returned list will be present inside the JAXB object.
84      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the otherData property.
85      * 
86      * &lt;p&gt;
87      * For example, to add a new item, do as follows:
88      * &lt;pre&gt;
89      *    getOtherData().add(newItem);
90      * &lt;/pre&gt;
91      * 
92      * 
93      * &lt;p&gt;
94      * Objects of the following type(s) are allowed in the list
95      * {@link Feature.OtherData }
96      * 
97      * 
98      */
99     public List<Feature.OtherData> getOtherData() {
100         if (otherData == null) {
101             otherData = new ArrayList<Feature.OtherData>();
102         }
103         return this.otherData;
104     }
105
106     /**
107      * Gets the value of the begin property.
108      * 
109      */
110     public int getBegin() {
111         return begin;
112     }
113
114     /**
115      * Sets the value of the begin property.
116      * 
117      */
118     public void setBegin(int value) {
119         this.begin = value;
120     }
121
122     /**
123      * Gets the value of the end property.
124      * 
125      */
126     public int getEnd() {
127         return end;
128     }
129
130     /**
131      * Sets the value of the end property.
132      * 
133      */
134     public void setEnd(int value) {
135         this.end = value;
136     }
137
138     /**
139      * Gets the value of the type property.
140      * 
141      * @return
142      *     possible object is
143      *     {@link String }
144      *     
145      */
146     public String getType() {
147         return type;
148     }
149
150     /**
151      * Sets the value of the type property.
152      * 
153      * @param value
154      *     allowed object is
155      *     {@link String }
156      *     
157      */
158     public void setType(String value) {
159         this.type = value;
160     }
161
162     /**
163      * Gets the value of the description property.
164      * 
165      * @return
166      *     possible object is
167      *     {@link String }
168      *     
169      */
170     public String getDescription() {
171         return description;
172     }
173
174     /**
175      * Sets the value of the description property.
176      * 
177      * @param value
178      *     allowed object is
179      *     {@link String }
180      *     
181      */
182     public void setDescription(String value) {
183         this.description = value;
184     }
185
186     /**
187      * Gets the value of the status property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link String }
192      *     
193      */
194     public String getStatus() {
195         return status;
196     }
197
198     /**
199      * Sets the value of the status property.
200      * 
201      * @param value
202      *     allowed object is
203      *     {@link String }
204      *     
205      */
206     public void setStatus(String value) {
207         this.status = value;
208     }
209
210     /**
211      * Gets the value of the featureGroup property.
212      * 
213      * @return
214      *     possible object is
215      *     {@link String }
216      *     
217      */
218     public String getFeatureGroup() {
219         return featureGroup;
220     }
221
222     /**
223      * Sets the value of the featureGroup property.
224      * 
225      * @param value
226      *     allowed object is
227      *     {@link String }
228      *     
229      */
230     public void setFeatureGroup(String value) {
231         this.featureGroup = value;
232     }
233
234     /**
235      * Gets the value of the score property.
236      * 
237      * @return
238      *     possible object is
239      *     {@link Float }
240      *     
241      */
242     public Float getScore() {
243         return score;
244     }
245
246     /**
247      * Sets the value of the score property.
248      * 
249      * @param value
250      *     allowed object is
251      *     {@link Float }
252      *     
253      */
254     public void setScore(Float value) {
255         this.score = value;
256     }
257
258
259     /**
260      * &lt;p&gt;Java class for anonymous complex type.
261      * 
262      * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
263      * 
264      * &lt;pre&gt;
265      * &amp;lt;complexType&amp;gt;
266      *   &amp;lt;complexContent&amp;gt;
267      *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
268      *       &amp;lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&amp;gt;
269      *       &amp;lt;attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" /&amp;gt;
270      *       &amp;lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&amp;gt;
271      *     &amp;lt;/restriction&amp;gt;
272      *   &amp;lt;/complexContent&amp;gt;
273      * &amp;lt;/complexType&amp;gt;
274      * &lt;/pre&gt;
275      * 
276      * 
277      */
278     @XmlAccessorType(XmlAccessType.FIELD)
279     @XmlType(name = "")
280     public static class OtherData {
281
282         @XmlAttribute(name = "key", required = true)
283         protected String key;
284         @XmlAttribute(name = "key2")
285         protected String key2;
286         @XmlAttribute(name = "value", required = true)
287         protected String value;
288
289         /**
290          * Gets the value of the key property.
291          * 
292          * @return
293          *     possible object is
294          *     {@link String }
295          *     
296          */
297         public String getKey() {
298             return key;
299         }
300
301         /**
302          * Sets the value of the key property.
303          * 
304          * @param value
305          *     allowed object is
306          *     {@link String }
307          *     
308          */
309         public void setKey(String value) {
310             this.key = value;
311         }
312
313         /**
314          * Gets the value of the key2 property.
315          * 
316          * @return
317          *     possible object is
318          *     {@link String }
319          *     
320          */
321         public String getKey2() {
322             return key2;
323         }
324
325         /**
326          * Sets the value of the key2 property.
327          * 
328          * @param value
329          *     allowed object is
330          *     {@link String }
331          *     
332          */
333         public void setKey2(String value) {
334             this.key2 = value;
335         }
336
337         /**
338          * Gets the value of the value property.
339          * 
340          * @return
341          *     possible object is
342          *     {@link String }
343          *     
344          */
345         public String getValue() {
346             return value;
347         }
348
349         /**
350          * Sets the value of the value property.
351          * 
352          * @param value
353          *     allowed object is
354          *     {@link String }
355          *     
356          */
357         public void setValue(String value) {
358             this.value = value;
359         }
360
361     }
362
363 }