Clover icon

Coverage Report

  1. Project Clover database Thu Nov 7 2024 10:11:34 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
208
71
12
1
1
12
1

Classes

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