1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
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.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 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
42 |
|
@XmlType(name = "AnnotationColourScheme", namespace = "www.jalview.org") |
|
|
| 93.8% |
Uncovered Elements: 2 (32) |
Complexity: 16 |
Complexity Density: 1 |
|
43 |
|
public class AnnotationColourScheme { |
44 |
|
|
45 |
|
@XmlAttribute(name = "aboveThreshold") |
46 |
|
protected Integer aboveThreshold; |
47 |
|
@XmlAttribute(name = "annotation") |
48 |
|
protected String annotation; |
49 |
|
@XmlAttribute(name = "minColour") |
50 |
|
protected Integer minColour; |
51 |
|
@XmlAttribute(name = "maxColour") |
52 |
|
protected Integer maxColour; |
53 |
|
@XmlAttribute(name = "colourScheme") |
54 |
|
protected String colourScheme; |
55 |
|
@XmlAttribute(name = "threshold") |
56 |
|
protected Float threshold; |
57 |
|
@XmlAttribute(name = "perSequence") |
58 |
|
protected Boolean perSequence; |
59 |
|
@XmlAttribute(name = "predefinedColours") |
60 |
|
protected Boolean predefinedColours; |
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
@return |
66 |
|
|
67 |
|
@link |
68 |
|
|
69 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
2 |
public Integer getAboveThreshold() {... |
71 |
2 |
return aboveThreshold; |
72 |
|
} |
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
@param |
78 |
|
|
79 |
|
@link |
80 |
|
|
81 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
2 |
public void setAboveThreshold(Integer value) {... |
83 |
2 |
this.aboveThreshold = value; |
84 |
|
} |
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
@return |
90 |
|
|
91 |
|
@link |
92 |
|
|
93 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
2 |
public String getAnnotation() {... |
95 |
2 |
return annotation; |
96 |
|
} |
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
@param |
102 |
|
|
103 |
|
@link |
104 |
|
|
105 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
2 |
public void setAnnotation(String value) {... |
107 |
2 |
this.annotation = value; |
108 |
|
} |
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
@return |
114 |
|
|
115 |
|
@link |
116 |
|
|
117 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
118 |
2 |
public Integer getMinColour() {... |
119 |
2 |
return minColour; |
120 |
|
} |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
@param |
126 |
|
|
127 |
|
@link |
128 |
|
|
129 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
130 |
2 |
public void setMinColour(Integer value) {... |
131 |
2 |
this.minColour = value; |
132 |
|
} |
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
@return |
138 |
|
|
139 |
|
@link |
140 |
|
|
141 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
2 |
public Integer getMaxColour() {... |
143 |
2 |
return maxColour; |
144 |
|
} |
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
@param |
150 |
|
|
151 |
|
@link |
152 |
|
|
153 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
2 |
public void setMaxColour(Integer value) {... |
155 |
2 |
this.maxColour = value; |
156 |
|
} |
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
@return |
162 |
|
|
163 |
|
@link |
164 |
|
|
165 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
166 |
2 |
public String getColourScheme() {... |
167 |
2 |
return colourScheme; |
168 |
|
} |
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
@param |
174 |
|
|
175 |
|
@link |
176 |
|
|
177 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
178 |
2 |
public void setColourScheme(String value) {... |
179 |
2 |
this.colourScheme = value; |
180 |
|
} |
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
@return |
186 |
|
|
187 |
|
@link |
188 |
|
|
189 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
190 |
0 |
public Float getThreshold() {... |
191 |
0 |
return threshold; |
192 |
|
} |
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
@param |
198 |
|
|
199 |
|
@link |
200 |
|
|
201 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
202 |
2 |
public void setThreshold(Float value) {... |
203 |
2 |
this.threshold = value; |
204 |
|
} |
205 |
|
|
206 |
|
|
207 |
|
|
208 |
|
|
209 |
|
@return |
210 |
|
|
211 |
|
@link |
212 |
|
|
213 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
214 |
2 |
public Boolean isPerSequence() {... |
215 |
2 |
return perSequence; |
216 |
|
} |
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
@param |
222 |
|
|
223 |
|
@link |
224 |
|
|
225 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
226 |
2 |
public void setPerSequence(Boolean value) {... |
227 |
2 |
this.perSequence = value; |
228 |
|
} |
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
@return |
234 |
|
|
235 |
|
@link |
236 |
|
|
237 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
238 |
2 |
public Boolean isPredefinedColours() {... |
239 |
2 |
return predefinedColours; |
240 |
|
} |
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
@param |
246 |
|
|
247 |
|
@link |
248 |
|
|
249 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
250 |
2 |
public void setPredefinedColours(Boolean value) {... |
251 |
2 |
this.predefinedColours = value; |
252 |
|
} |
253 |
|
|
254 |
|
} |