Clover icon

Coverage Report

  1. Project Clover database Mon Nov 11 2024 15:05:32 GMT
  2. Package jalview.xml.binding.jalview

File Mapping.java

 

Coverage histogram

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

Code metrics

0
6
6
1
128
42
6
1
1
6
1

Classes

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