Clover icon

Coverage Report

  1. Project Clover database Wed Nov 13 2024 16:21:17 GMT
  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
198
71
12
1
1
12
1

Classes

Class Line # Actions
AnnotationElement 48 12 12
1.0100%
 

Contributing tests

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