9d356a0880a0e1bc6d4b1f61145b663945dc6964
[jalview.git] / src / jalview / xml / binding / jalview / AlcodonFrame.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: 2023.08.28 at 01:52:46 PM BST 
6 //
7
8
9 package jalview.xml.binding.jalview;
10
11 import java.math.BigInteger;
12 import java.util.ArrayList;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /**
23  * <p>Java class for anonymous complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * &lt;complexType>
29  *   &lt;complexContent>
30  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       &lt;sequence>
32  *         &lt;element name="alcodon" maxOccurs="unbounded" minOccurs="0">
33  *           &lt;complexType>
34  *             &lt;complexContent>
35  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36  *                 &lt;attribute name="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" />
37  *                 &lt;attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" />
38  *                 &lt;attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" />
39  *               &lt;/restriction>
40  *             &lt;/complexContent>
41  *           &lt;/complexType>
42  *         &lt;/element>
43  *         &lt;element name="alcodMap" maxOccurs="unbounded" minOccurs="0">
44  *           &lt;complexType>
45  *             &lt;complexContent>
46  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47  *                 &lt;sequence>
48  *                   &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/>
49  *                 &lt;/sequence>
50  *                 &lt;attribute name="dnasq" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
51  *               &lt;/restriction>
52  *             &lt;/complexContent>
53  *           &lt;/complexType>
54  *         &lt;/element>
55  *       &lt;/sequence>
56  *     &lt;/restriction>
57  *   &lt;/complexContent>
58  * &lt;/complexType>
59  * </pre>
60  * 
61  * 
62  */
63 @XmlAccessorType(XmlAccessType.FIELD)
64 @XmlType(name = "", propOrder = {
65     "alcodon",
66     "alcodMap"
67 })
68 @XmlRootElement(name = "AlcodonFrame")
69 public class AlcodonFrame {
70
71     protected List<AlcodonFrame.Alcodon> alcodon;
72     protected List<AlcodonFrame.AlcodMap> alcodMap;
73
74     /**
75      * Gets the value of the alcodon property.
76      * 
77      * <p>
78      * This accessor method returns a reference to the live list,
79      * not a snapshot. Therefore any modification you make to the
80      * returned list will be present inside the JAXB object.
81      * This is why there is not a <CODE>set</CODE> method for the alcodon property.
82      * 
83      * <p>
84      * For example, to add a new item, do as follows:
85      * <pre>
86      *    getAlcodon().add(newItem);
87      * </pre>
88      * 
89      * 
90      * <p>
91      * Objects of the following type(s) are allowed in the list
92      * {@link AlcodonFrame.Alcodon }
93      * 
94      * 
95      */
96     public List<AlcodonFrame.Alcodon> getAlcodon() {
97         if (alcodon == null) {
98             alcodon = new ArrayList<AlcodonFrame.Alcodon>();
99         }
100         return this.alcodon;
101     }
102
103     /**
104      * Gets the value of the alcodMap property.
105      * 
106      * <p>
107      * This accessor method returns a reference to the live list,
108      * not a snapshot. Therefore any modification you make to the
109      * returned list will be present inside the JAXB object.
110      * This is why there is not a <CODE>set</CODE> method for the alcodMap property.
111      * 
112      * <p>
113      * For example, to add a new item, do as follows:
114      * <pre>
115      *    getAlcodMap().add(newItem);
116      * </pre>
117      * 
118      * 
119      * <p>
120      * Objects of the following type(s) are allowed in the list
121      * {@link AlcodonFrame.AlcodMap }
122      * 
123      * 
124      */
125     public List<AlcodonFrame.AlcodMap> getAlcodMap() {
126         if (alcodMap == null) {
127             alcodMap = new ArrayList<AlcodonFrame.AlcodMap>();
128         }
129         return this.alcodMap;
130     }
131
132
133     /**
134      * <p>Java class for anonymous complex type.
135      * 
136      * <p>The following schema fragment specifies the expected content contained within this class.
137      * 
138      * <pre>
139      * &lt;complexType>
140      *   &lt;complexContent>
141      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
142      *       &lt;sequence>
143      *         &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/>
144      *       &lt;/sequence>
145      *       &lt;attribute name="dnasq" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
146      *     &lt;/restriction>
147      *   &lt;/complexContent>
148      * &lt;/complexType>
149      * </pre>
150      * 
151      * 
152      */
153     @XmlAccessorType(XmlAccessType.FIELD)
154     @XmlType(name = "", propOrder = {
155         "mapping"
156     })
157     public static class AlcodMap {
158
159         @XmlElement(name = "Mapping", required = true)
160         protected Mapping mapping;
161         @XmlAttribute(name = "dnasq", required = true)
162         protected String dnasq;
163
164         /**
165          * 
166          *                                                                              a Mapping entry and an associated protein
167          *                                                                              sequence
168          *                                                                      
169          * 
170          * @return
171          *     possible object is
172          *     {@link Mapping }
173          *     
174          */
175         public Mapping getMapping() {
176             return mapping;
177         }
178
179         /**
180          * Sets the value of the mapping property.
181          * 
182          * @param value
183          *     allowed object is
184          *     {@link Mapping }
185          *     
186          */
187         public void setMapping(Mapping value) {
188             this.mapping = value;
189         }
190
191         /**
192          * Gets the value of the dnasq property.
193          * 
194          * @return
195          *     possible object is
196          *     {@link String }
197          *     
198          */
199         public String getDnasq() {
200             return dnasq;
201         }
202
203         /**
204          * Sets the value of the dnasq property.
205          * 
206          * @param value
207          *     allowed object is
208          *     {@link String }
209          *     
210          */
211         public void setDnasq(String value) {
212             this.dnasq = value;
213         }
214
215     }
216
217
218     /**
219      * 
220      *                                                          specifies a series of aligned codons from an
221      *                                                          associated DNA sequence alignment that when translated
222      *                                                          correspond to columns of a peptide alignment.
223      *                                                          Element may have
224      *                                                          either all pos1,2,3 attributes specified, or none at all
225      *                                                          (indicating a gapped column with no translated peptide).
226      *                                                  
227      * 
228      * <p>Java class for anonymous complex type.
229      * 
230      * <p>The following schema fragment specifies the expected content contained within this class.
231      * 
232      * <pre>
233      * &lt;complexType>
234      *   &lt;complexContent>
235      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
236      *       &lt;attribute name="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" />
237      *       &lt;attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" />
238      *       &lt;attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" />
239      *     &lt;/restriction>
240      *   &lt;/complexContent>
241      * &lt;/complexType>
242      * </pre>
243      * 
244      * 
245      */
246     @XmlAccessorType(XmlAccessType.FIELD)
247     @XmlType(name = "")
248     public static class Alcodon {
249
250         @XmlAttribute(name = "pos1")
251         protected BigInteger pos1;
252         @XmlAttribute(name = "pos2")
253         protected BigInteger pos2;
254         @XmlAttribute(name = "pos3")
255         protected BigInteger pos3;
256
257         /**
258          * Gets the value of the pos1 property.
259          * 
260          * @return
261          *     possible object is
262          *     {@link BigInteger }
263          *     
264          */
265         public BigInteger getPos1() {
266             return pos1;
267         }
268
269         /**
270          * Sets the value of the pos1 property.
271          * 
272          * @param value
273          *     allowed object is
274          *     {@link BigInteger }
275          *     
276          */
277         public void setPos1(BigInteger value) {
278             this.pos1 = value;
279         }
280
281         /**
282          * Gets the value of the pos2 property.
283          * 
284          * @return
285          *     possible object is
286          *     {@link BigInteger }
287          *     
288          */
289         public BigInteger getPos2() {
290             return pos2;
291         }
292
293         /**
294          * Sets the value of the pos2 property.
295          * 
296          * @param value
297          *     allowed object is
298          *     {@link BigInteger }
299          *     
300          */
301         public void setPos2(BigInteger value) {
302             this.pos2 = value;
303         }
304
305         /**
306          * Gets the value of the pos3 property.
307          * 
308          * @return
309          *     possible object is
310          *     {@link BigInteger }
311          *     
312          */
313         public BigInteger getPos3() {
314             return pos3;
315         }
316
317         /**
318          * Sets the value of the pos3 property.
319          * 
320          * @param value
321          *     allowed object is
322          *     {@link BigInteger }
323          *     
324          */
325         public void setPos3(BigInteger value) {
326             this.pos3 = value;
327         }
328
329     }
330
331 }