1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
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 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
53 |
|
@XmlType( |
54 |
|
name = "", |
55 |
|
propOrder = |
56 |
|
{ "displayCharacter", "description", "secondaryStructure", "value" }) |
57 |
|
@XmlRootElement(name = "annotationElement") |
|
|
| 100% |
Uncovered Elements: 0 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
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 |
|
|
77 |
|
|
78 |
|
@return@link |
79 |
|
|
80 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
270138 |
public String getDisplayCharacter()... |
82 |
|
{ |
83 |
270138 |
return displayCharacter; |
84 |
|
} |
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
@param |
90 |
|
@link |
91 |
|
|
92 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
93 |
40832 |
public void setDisplayCharacter(String value)... |
94 |
|
{ |
95 |
40832 |
this.displayCharacter = value; |
96 |
|
} |
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
@return@link |
102 |
|
|
103 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
104 |
270138 |
public String getDescription()... |
105 |
|
{ |
106 |
270138 |
return description; |
107 |
|
} |
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
@param |
113 |
|
@link |
114 |
|
|
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
40510 |
public void setDescription(String value)... |
117 |
|
{ |
118 |
40510 |
this.description = value; |
119 |
|
} |
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
@return@link |
125 |
|
|
126 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
283458 |
public String getSecondaryStructure()... |
128 |
|
{ |
129 |
283458 |
return secondaryStructure; |
130 |
|
} |
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
@param |
136 |
|
@link |
137 |
|
|
138 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
139 |
6548 |
public void setSecondaryStructure(String value)... |
140 |
|
{ |
141 |
6548 |
this.secondaryStructure = value; |
142 |
|
} |
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
@return@link |
148 |
|
|
149 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
150 |
270138 |
public Float getValue()... |
151 |
|
{ |
152 |
270138 |
return value; |
153 |
|
} |
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
@param |
159 |
|
@link |
160 |
|
|
161 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
162 |
43294 |
public void setValue(Float value)... |
163 |
|
{ |
164 |
43294 |
this.value = value; |
165 |
|
} |
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
171 |
270138 |
public int getPosition()... |
172 |
|
{ |
173 |
270138 |
return position; |
174 |
|
} |
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
180 |
44998 |
public void setPosition(int value)... |
181 |
|
{ |
182 |
44998 |
this.position = value; |
183 |
|
} |
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
@return@link |
189 |
|
|
190 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
191 |
270138 |
public Integer getColour()... |
192 |
|
{ |
193 |
270138 |
return colour; |
194 |
|
} |
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
@param |
200 |
|
@link |
201 |
|
|
202 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
203 |
24220 |
public void setColour(Integer value)... |
204 |
|
{ |
205 |
24220 |
this.colour = value; |
206 |
|
} |
207 |
|
|
208 |
|
} |