Clover icon

Coverage Report

  1. Project Clover database Mon Oct 6 2025 17:39:40 BST
  2. Package jalview.xml.binding.jalview

File AnnotationElement.java

 

Coverage histogram

../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

0
12
12
1
203
60
12
1
1
12
1

Classes

Class Line # Actions
AnnotationElement 56 12 12
1.0100%
 

Contributing tests

This file is covered by 34 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.XmlRootElement;
15    import javax.xml.bind.annotation.XmlType;
16   
17   
18    /**
19    * <p>Java class for anonymous complex type</p>.
20    *
21    * <p>The following schema fragment specifies the expected content contained within this class.</p>
22    *
23    * <pre>
24    * &lt;complexType&gt;
25    * &lt;complexContent&gt;
26    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
27    * &lt;sequence&gt;
28    * &lt;element name="displayCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
29    * &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
30    * &lt;element name="secondaryStructure" minOccurs="0"&gt;
31    * &lt;simpleType&gt;
32    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
33    * &lt;length value="1"/&gt;
34    * &lt;/restriction&gt;
35    * &lt;/simpleType&gt;
36    * &lt;/element&gt;
37    * &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/&gt;
38    * &lt;/sequence&gt;
39    * &lt;attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
40    * &lt;attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
41    * &lt;/restriction&gt;
42    * &lt;/complexContent&gt;
43    * &lt;/complexType&gt;
44    * </pre>
45    *
46    *
47    */
48    @XmlAccessorType(XmlAccessType.FIELD)
49    @XmlType(name = "", propOrder = {
50    "displayCharacter",
51    "description",
52    "secondaryStructure",
53    "value"
54    })
55    @XmlRootElement(name = "annotationElement")
 
56    public class AnnotationElement {
57   
58    protected String displayCharacter;
59    protected String description;
60    protected String secondaryStructure;
61    protected Float value;
62    @XmlAttribute(name = "position", required = true)
63    protected int position;
64    @XmlAttribute(name = "colour")
65    protected Integer colour;
66   
67    /**
68    * Gets the value of the displayCharacter property.
69    *
70    * @return
71    * possible object is
72    * {@link String }
73    *
74    */
 
75  335691 toggle public String getDisplayCharacter() {
76  335691 return displayCharacter;
77    }
78   
79    /**
80    * Sets the value of the displayCharacter property.
81    *
82    * @param value
83    * allowed object is
84    * {@link String }
85    *
86    */
 
87  75835 toggle public void setDisplayCharacter(String value) {
88  75835 this.displayCharacter = value;
89    }
90   
91    /**
92    * Gets the value of the description property.
93    *
94    * @return
95    * possible object is
96    * {@link String }
97    *
98    */
 
99  335691 toggle public String getDescription() {
100  335691 return description;
101    }
102   
103    /**
104    * Sets the value of the description property.
105    *
106    * @param value
107    * allowed object is
108    * {@link String }
109    *
110    */
 
111  75513 toggle public void setDescription(String value) {
112  75513 this.description = value;
113    }
114   
115    /**
116    * Gets the value of the secondaryStructure property.
117    *
118    * @return
119    * possible object is
120    * {@link String }
121    *
122    */
 
123  391219 toggle public String getSecondaryStructure() {
124  391219 return secondaryStructure;
125    }
126   
127    /**
128    * Sets the value of the secondaryStructure property.
129    *
130    * @param value
131    * allowed object is
132    * {@link String }
133    *
134    */
 
135  17100 toggle public void setSecondaryStructure(String value) {
136  17100 this.secondaryStructure = value;
137    }
138   
139    /**
140    * Gets the value of the value property.
141    *
142    * @return
143    * possible object is
144    * {@link Float }
145    *
146    */
 
147  335691 toggle public Float getValue() {
148  335691 return value;
149    }
150   
151    /**
152    * Sets the value of the value property.
153    *
154    * @param value
155    * allowed object is
156    * {@link Float }
157    *
158    */
 
159  78297 toggle public void setValue(Float value) {
160  78297 this.value = value;
161    }
162   
163    /**
164    * Gets the value of the position property.
165    *
166    */
 
167  335691 toggle public int getPosition() {
168  335691 return position;
169    }
170   
171    /**
172    * Sets the value of the position property.
173    *
174    */
 
175  80001 toggle public void setPosition(int value) {
176  80001 this.position = value;
177    }
178   
179    /**
180    * Gets the value of the colour property.
181    *
182    * @return
183    * possible object is
184    * {@link Integer }
185    *
186    */
 
187  335691 toggle public Integer getColour() {
188  335691 return colour;
189    }
190   
191    /**
192    * Sets the value of the colour property.
193    *
194    * @param value
195    * allowed object is
196    * {@link Integer }
197    *
198    */
 
199  58659 toggle public void setColour(Integer value) {
200  58659 this.colour = value;
201    }
202   
203    }