Clover icon

Coverage Report

  1. Project Clover database Mon Dec 8 2025 13:36:16 GMT
  2. Package jalview.xml.binding.jalview

File Mapping.java

 

Coverage histogram

../../../../img/srcFileCovDistChart5.png
44% of files have more coverage

Code metrics

0
6
6
1
147
40
6
1
1
6
1

Classes

Class Line # Actions
Mapping 60 6 6
0.550%
 

Contributing tests

This file is covered by 2 tests. .

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 javax.xml.bind.annotation.XmlAccessType;
12    import javax.xml.bind.annotation.XmlAccessorType;
13    import javax.xml.bind.annotation.XmlAttribute;
14    import javax.xml.bind.annotation.XmlElement;
15    import javax.xml.bind.annotation.XmlRootElement;
16    import javax.xml.bind.annotation.XmlType;
17   
18   
19    /**
20    * Represent the jalview.datamodel.Mapping object -
21    * it also provides
22    * a way of storing sequences that are mapped 'to'
23    * without adding them
24    * to the sequence set (which will mean they are
25    * then added to the alignment too).
26    *
27    * <p>Java class for anonymous complex type</p>.
28    *
29    * <p>The following schema fragment specifies the expected content contained within this class.</p>
30    *
31    * <pre>
32    * &lt;complexType&gt;
33    * &lt;complexContent&gt;
34    * &lt;extension base="{www.vamsas.ac.uk/jalview/version2}mapListType"&gt;
35    * &lt;sequence&gt;
36    * &lt;choice minOccurs="0"&gt;
37    * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Sequence"/&gt;
38    * &lt;element name="dseqFor"&gt;
39    * &lt;simpleType&gt;
40    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
41    * &lt;/restriction&gt;
42    * &lt;/simpleType&gt;
43    * &lt;/element&gt;
44    * &lt;/choice&gt;
45    * &lt;/sequence&gt;
46    * &lt;attribute name="mappingType" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
47    * &lt;/extension&gt;
48    * &lt;/complexContent&gt;
49    * &lt;/complexType&gt;
50    * </pre>
51    *
52    *
53    */
54    @XmlAccessorType(XmlAccessType.FIELD)
55    @XmlType(name = "", propOrder = {
56    "sequence",
57    "dseqFor"
58    })
59    @XmlRootElement(name = "Mapping")
 
60    public class Mapping
61    extends MapListType
62    {
63   
64    @XmlElement(name = "Sequence")
65    protected Sequence sequence;
66    protected String dseqFor;
67    /**
68    * Biotype of the mapping e.g. CdsToPeptide
69    *
70    */
71    @XmlAttribute(name = "mappingType")
72    protected String mappingType;
73   
74    /**
75    * Gets the value of the sequence property.
76    *
77    * @return
78    * possible object is
79    * {@link Sequence }
80    *
81    */
 
82  23 toggle public Sequence getSequence() {
83  23 return sequence;
84    }
85   
86    /**
87    * Sets the value of the sequence property.
88    *
89    * @param value
90    * allowed object is
91    * {@link Sequence }
92    *
93    */
 
94  0 toggle public void setSequence(Sequence value) {
95  0 this.sequence = value;
96    }
97   
98    /**
99    * Gets the value of the dseqFor property.
100    *
101    * @return
102    * possible object is
103    * {@link String }
104    *
105    */
 
106  69 toggle public String getDseqFor() {
107  69 return dseqFor;
108    }
109   
110    /**
111    * Sets the value of the dseqFor property.
112    *
113    * @param value
114    * allowed object is
115    * {@link String }
116    *
117    */
 
118  1 toggle public void setDseqFor(String value) {
119  1 this.dseqFor = value;
120    }
121   
122    /**
123    * Biotype of the mapping e.g. CdsToPeptide
124    *
125    * @return
126    * possible object is
127    * {@link String }
128    *
129    */
 
130  0 toggle public String getMappingType() {
131  0 return mappingType;
132    }
133   
134    /**
135    * Sets the value of the mappingType property.
136    *
137    * @param value
138    * allowed object is
139    * {@link String }
140    *
141    * @see #getMappingType()
142    */
 
143  0 toggle public void setMappingType(String value) {
144  0 this.mappingType = value;
145    }
146   
147    }