Clover icon

Coverage Report

  1. Project Clover database Mon Dec 8 2025 11:12:19 GMT
  2. Package jalview.xml.binding.jalview

File AlcodonFrame.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
60% of files have more coverage

Code metrics

4
16
12
3
346
82
14
0.88
1.33
4
1.17

Classes

Class Line # Actions
AlcodonFrame 69 6 4
0.00%
AlcodonFrame.AlcodMap 163 4 4
0.00%
AlcodonFrame.Alcodon 263 6 6
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

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