Clover icon

Coverage Report

  1. Project Clover database Thu Aug 13 2020 12:04:21 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 22 tests. .

Source view

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: 2019.06.07 at 02:21:15 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.
20    *
21    * <p>The following schema fragment specifies the expected content contained within this class.
22    *
23    * <pre>
24    * &lt;complexType>
25    * &lt;complexContent>
26    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27    * &lt;sequence>
28    * &lt;element name="displayCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
29    * &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30    * &lt;element name="secondaryStructure" minOccurs="0">
31    * &lt;simpleType>
32    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
33    * &lt;length value="1"/>
34    * &lt;/restriction>
35    * &lt;/simpleType>
36    * &lt;/element>
37    * &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
38    * &lt;/sequence>
39    * &lt;attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
40    * &lt;attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
41    * &lt;/restriction>
42    * &lt;/complexContent>
43    * &lt;/complexType>
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  265715 toggle public String getDisplayCharacter() {
76  265715 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  35830 toggle public void setDisplayCharacter(String value) {
88  35830 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  265715 toggle public String getDescription() {
100  265715 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  34908 toggle public void setDescription(String value) {
112  34908 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  278779 toggle public String getSecondaryStructure() {
124  278779 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  6484 toggle public void setSecondaryStructure(String value) {
136  6484 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  265715 toggle public Float getValue() {
148  265715 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  37623 toggle public void setValue(Float value) {
160  37623 this.value = value;
161    }
162   
163    /**
164    * Gets the value of the position property.
165    *
166    */
 
167  265715 toggle public int getPosition() {
168  265715 return position;
169    }
170   
171    /**
172    * Sets the value of the position property.
173    *
174    */
 
175  39327 toggle public void setPosition(int value) {
176  39327 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  265715 toggle public Integer getColour() {
188  265715 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  20104 toggle public void setColour(Integer value) {
200  20104 this.colour = value;
201    }
202   
203    }