1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
package jalview.schemabinding.version2.descriptors; |
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
import jalview.schemabinding.version2.Viewport; |
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
@version |
20 |
|
|
|
|
| 73.6% |
Uncovered Elements: 375 (1,422) |
Complexity: 306 |
Complexity Density: 0.29 |
|
21 |
|
public class ViewportDescriptor extends |
22 |
|
org.exolab.castor.xml.util.XMLClassDescriptorImpl |
23 |
|
{ |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
private boolean _elementDefinition; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
private java.lang.String _nsPrefix; |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
private java.lang.String _nsURI; |
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
private java.lang.String _xmlName; |
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (523) |
Complexity: 1 |
Complexity Density: 0 |
|
53 |
107 |
public ViewportDescriptor()... |
54 |
|
{ |
55 |
107 |
super(); |
56 |
107 |
_nsURI = "www.jalview.org"; |
57 |
107 |
_xmlName = "Viewport"; |
58 |
107 |
_elementDefinition = true; |
59 |
|
|
60 |
|
|
61 |
107 |
setCompositorAsSequence(); |
62 |
107 |
org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null; |
63 |
107 |
org.exolab.castor.mapping.FieldHandler handler = null; |
64 |
107 |
org.exolab.castor.xml.FieldValidator fieldValidator = null; |
65 |
|
|
66 |
|
|
67 |
|
|
68 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
69 |
|
java.lang.Boolean.TYPE, "_conservationSelected", |
70 |
|
"conservationSelected", |
71 |
|
org.exolab.castor.xml.NodeType.Attribute); |
72 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
73 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
74 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
75 |
|
throws IllegalStateException |
76 |
|
{ |
77 |
38 |
Viewport target = (Viewport) object; |
78 |
38 |
if (!target.hasConservationSelected()) |
79 |
|
{ |
80 |
0 |
return null; |
81 |
|
} |
82 |
38 |
return (target.getConservationSelected() ? java.lang.Boolean.TRUE |
83 |
|
: java.lang.Boolean.FALSE); |
84 |
|
} |
85 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
86 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
87 |
|
throws IllegalStateException, IllegalArgumentException |
88 |
|
{ |
89 |
69 |
try |
90 |
|
{ |
91 |
69 |
Viewport target = (Viewport) object; |
92 |
|
|
93 |
69 |
if (value == null) |
94 |
|
{ |
95 |
0 |
target.deleteConservationSelected(); |
96 |
0 |
return; |
97 |
|
} |
98 |
69 |
target.setConservationSelected(((java.lang.Boolean) value) |
99 |
|
.booleanValue()); |
100 |
|
} catch (java.lang.Exception ex) |
101 |
|
{ |
102 |
0 |
throw new IllegalStateException(ex.toString()); |
103 |
|
} |
104 |
|
} |
105 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
107 |
|
{ |
108 |
0 |
return null; |
109 |
|
} |
110 |
|
}; |
111 |
107 |
desc.setHandler(handler); |
112 |
107 |
desc.setMultivalued(false); |
113 |
107 |
addFieldDescriptor(desc); |
114 |
|
|
115 |
|
|
116 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
117 |
|
{ |
118 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
119 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
120 |
107 |
fieldValidator.setValidator(typeValidator); |
121 |
|
} |
122 |
107 |
desc.setValidator(fieldValidator); |
123 |
|
|
124 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
125 |
|
java.lang.Boolean.TYPE, "_pidSelected", "pidSelected", |
126 |
|
org.exolab.castor.xml.NodeType.Attribute); |
127 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
128 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
129 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
130 |
|
throws IllegalStateException |
131 |
|
{ |
132 |
38 |
Viewport target = (Viewport) object; |
133 |
38 |
if (!target.hasPidSelected()) |
134 |
|
{ |
135 |
0 |
return null; |
136 |
|
} |
137 |
38 |
return (target.getPidSelected() ? java.lang.Boolean.TRUE |
138 |
|
: java.lang.Boolean.FALSE); |
139 |
|
} |
140 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
141 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
142 |
|
throws IllegalStateException, IllegalArgumentException |
143 |
|
{ |
144 |
69 |
try |
145 |
|
{ |
146 |
69 |
Viewport target = (Viewport) object; |
147 |
|
|
148 |
69 |
if (value == null) |
149 |
|
{ |
150 |
0 |
target.deletePidSelected(); |
151 |
0 |
return; |
152 |
|
} |
153 |
69 |
target.setPidSelected(((java.lang.Boolean) value).booleanValue()); |
154 |
|
} catch (java.lang.Exception ex) |
155 |
|
{ |
156 |
0 |
throw new IllegalStateException(ex.toString()); |
157 |
|
} |
158 |
|
} |
159 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
160 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
161 |
|
{ |
162 |
0 |
return null; |
163 |
|
} |
164 |
|
}; |
165 |
107 |
desc.setHandler(handler); |
166 |
107 |
desc.setMultivalued(false); |
167 |
107 |
addFieldDescriptor(desc); |
168 |
|
|
169 |
|
|
170 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
171 |
|
{ |
172 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
173 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
174 |
107 |
fieldValidator.setValidator(typeValidator); |
175 |
|
} |
176 |
107 |
desc.setValidator(fieldValidator); |
177 |
|
|
178 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
179 |
|
java.lang.String.class, "_bgColour", "bgColour", |
180 |
|
org.exolab.castor.xml.NodeType.Attribute); |
181 |
107 |
desc.setImmutable(true); |
182 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
183 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
184 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
185 |
|
throws IllegalStateException |
186 |
|
{ |
187 |
38 |
Viewport target = (Viewport) object; |
188 |
38 |
return target.getBgColour(); |
189 |
|
} |
190 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
191 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
192 |
|
throws IllegalStateException, IllegalArgumentException |
193 |
|
{ |
194 |
69 |
try |
195 |
|
{ |
196 |
69 |
Viewport target = (Viewport) object; |
197 |
69 |
target.setBgColour((java.lang.String) value); |
198 |
|
} catch (java.lang.Exception ex) |
199 |
|
{ |
200 |
0 |
throw new IllegalStateException(ex.toString()); |
201 |
|
} |
202 |
|
} |
203 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
204 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
205 |
|
{ |
206 |
0 |
return null; |
207 |
|
} |
208 |
|
}; |
209 |
107 |
desc.setHandler(handler); |
210 |
107 |
desc.setMultivalued(false); |
211 |
107 |
addFieldDescriptor(desc); |
212 |
|
|
213 |
|
|
214 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
215 |
|
{ |
216 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
217 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
218 |
107 |
fieldValidator.setValidator(typeValidator); |
219 |
107 |
typeValidator.setWhiteSpace("preserve"); |
220 |
|
} |
221 |
107 |
desc.setValidator(fieldValidator); |
222 |
|
|
223 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
224 |
|
java.lang.Integer.TYPE, "_consThreshold", "consThreshold", |
225 |
|
org.exolab.castor.xml.NodeType.Attribute); |
226 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
227 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
228 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
229 |
|
throws IllegalStateException |
230 |
|
{ |
231 |
38 |
Viewport target = (Viewport) object; |
232 |
38 |
if (!target.hasConsThreshold()) |
233 |
|
{ |
234 |
36 |
return null; |
235 |
|
} |
236 |
2 |
return new java.lang.Integer(target.getConsThreshold()); |
237 |
|
} |
238 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
239 |
1 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
240 |
|
throws IllegalStateException, IllegalArgumentException |
241 |
|
{ |
242 |
1 |
try |
243 |
|
{ |
244 |
1 |
Viewport target = (Viewport) object; |
245 |
|
|
246 |
1 |
if (value == null) |
247 |
|
{ |
248 |
0 |
target.deleteConsThreshold(); |
249 |
0 |
return; |
250 |
|
} |
251 |
1 |
target.setConsThreshold(((java.lang.Integer) value).intValue()); |
252 |
|
} catch (java.lang.Exception ex) |
253 |
|
{ |
254 |
0 |
throw new IllegalStateException(ex.toString()); |
255 |
|
} |
256 |
|
} |
257 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
258 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
259 |
|
{ |
260 |
0 |
return null; |
261 |
|
} |
262 |
|
}; |
263 |
107 |
desc.setHandler(handler); |
264 |
107 |
desc.setMultivalued(false); |
265 |
107 |
addFieldDescriptor(desc); |
266 |
|
|
267 |
|
|
268 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
269 |
|
{ |
270 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
271 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
272 |
107 |
fieldValidator.setValidator(typeValidator); |
273 |
107 |
typeValidator.setMinInclusive(-2147483648); |
274 |
107 |
typeValidator.setMaxInclusive(2147483647); |
275 |
|
} |
276 |
107 |
desc.setValidator(fieldValidator); |
277 |
|
|
278 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
279 |
|
java.lang.Integer.TYPE, "_pidThreshold", "pidThreshold", |
280 |
|
org.exolab.castor.xml.NodeType.Attribute); |
281 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
282 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
283 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
284 |
|
throws IllegalStateException |
285 |
|
{ |
286 |
38 |
Viewport target = (Viewport) object; |
287 |
38 |
if (!target.hasPidThreshold()) |
288 |
|
{ |
289 |
30 |
return null; |
290 |
|
} |
291 |
8 |
return new java.lang.Integer(target.getPidThreshold()); |
292 |
|
} |
293 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
294 |
4 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
295 |
|
throws IllegalStateException, IllegalArgumentException |
296 |
|
{ |
297 |
4 |
try |
298 |
|
{ |
299 |
4 |
Viewport target = (Viewport) object; |
300 |
|
|
301 |
4 |
if (value == null) |
302 |
|
{ |
303 |
0 |
target.deletePidThreshold(); |
304 |
0 |
return; |
305 |
|
} |
306 |
4 |
target.setPidThreshold(((java.lang.Integer) value).intValue()); |
307 |
|
} catch (java.lang.Exception ex) |
308 |
|
{ |
309 |
0 |
throw new IllegalStateException(ex.toString()); |
310 |
|
} |
311 |
|
} |
312 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
313 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
314 |
|
{ |
315 |
0 |
return null; |
316 |
|
} |
317 |
|
}; |
318 |
107 |
desc.setHandler(handler); |
319 |
107 |
desc.setMultivalued(false); |
320 |
107 |
addFieldDescriptor(desc); |
321 |
|
|
322 |
|
|
323 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
324 |
|
{ |
325 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
326 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
327 |
107 |
fieldValidator.setValidator(typeValidator); |
328 |
107 |
typeValidator.setMinInclusive(-2147483648); |
329 |
107 |
typeValidator.setMaxInclusive(2147483647); |
330 |
|
} |
331 |
107 |
desc.setValidator(fieldValidator); |
332 |
|
|
333 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
334 |
|
java.lang.String.class, "_title", "title", |
335 |
|
org.exolab.castor.xml.NodeType.Attribute); |
336 |
107 |
desc.setImmutable(true); |
337 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
338 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
339 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
340 |
|
throws IllegalStateException |
341 |
|
{ |
342 |
38 |
Viewport target = (Viewport) object; |
343 |
38 |
return target.getTitle(); |
344 |
|
} |
345 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
346 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
347 |
|
throws IllegalStateException, IllegalArgumentException |
348 |
|
{ |
349 |
69 |
try |
350 |
|
{ |
351 |
69 |
Viewport target = (Viewport) object; |
352 |
69 |
target.setTitle((java.lang.String) value); |
353 |
|
} catch (java.lang.Exception ex) |
354 |
|
{ |
355 |
0 |
throw new IllegalStateException(ex.toString()); |
356 |
|
} |
357 |
|
} |
358 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
359 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
360 |
|
{ |
361 |
0 |
return null; |
362 |
|
} |
363 |
|
}; |
364 |
107 |
desc.setHandler(handler); |
365 |
107 |
desc.setMultivalued(false); |
366 |
107 |
addFieldDescriptor(desc); |
367 |
|
|
368 |
|
|
369 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
370 |
|
{ |
371 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
372 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
373 |
107 |
fieldValidator.setValidator(typeValidator); |
374 |
107 |
typeValidator.setWhiteSpace("preserve"); |
375 |
|
} |
376 |
107 |
desc.setValidator(fieldValidator); |
377 |
|
|
378 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
379 |
|
java.lang.Boolean.TYPE, "_showFullId", "showFullId", |
380 |
|
org.exolab.castor.xml.NodeType.Attribute); |
381 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
382 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
383 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
384 |
|
throws IllegalStateException |
385 |
|
{ |
386 |
38 |
Viewport target = (Viewport) object; |
387 |
38 |
if (!target.hasShowFullId()) |
388 |
|
{ |
389 |
0 |
return null; |
390 |
|
} |
391 |
38 |
return (target.getShowFullId() ? java.lang.Boolean.TRUE |
392 |
|
: java.lang.Boolean.FALSE); |
393 |
|
} |
394 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
395 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
396 |
|
throws IllegalStateException, IllegalArgumentException |
397 |
|
{ |
398 |
69 |
try |
399 |
|
{ |
400 |
69 |
Viewport target = (Viewport) object; |
401 |
|
|
402 |
69 |
if (value == null) |
403 |
|
{ |
404 |
0 |
target.deleteShowFullId(); |
405 |
0 |
return; |
406 |
|
} |
407 |
69 |
target.setShowFullId(((java.lang.Boolean) value).booleanValue()); |
408 |
|
} catch (java.lang.Exception ex) |
409 |
|
{ |
410 |
0 |
throw new IllegalStateException(ex.toString()); |
411 |
|
} |
412 |
|
} |
413 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
414 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
415 |
|
{ |
416 |
0 |
return null; |
417 |
|
} |
418 |
|
}; |
419 |
107 |
desc.setHandler(handler); |
420 |
107 |
desc.setMultivalued(false); |
421 |
107 |
addFieldDescriptor(desc); |
422 |
|
|
423 |
|
|
424 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
425 |
|
{ |
426 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
427 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
428 |
107 |
fieldValidator.setValidator(typeValidator); |
429 |
|
} |
430 |
107 |
desc.setValidator(fieldValidator); |
431 |
|
|
432 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
433 |
|
java.lang.Boolean.TYPE, "_rightAlignIds", "rightAlignIds", |
434 |
|
org.exolab.castor.xml.NodeType.Attribute); |
435 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
436 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
437 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
438 |
|
throws IllegalStateException |
439 |
|
{ |
440 |
38 |
Viewport target = (Viewport) object; |
441 |
38 |
if (!target.hasRightAlignIds()) |
442 |
|
{ |
443 |
0 |
return null; |
444 |
|
} |
445 |
38 |
return (target.getRightAlignIds() ? java.lang.Boolean.TRUE |
446 |
|
: java.lang.Boolean.FALSE); |
447 |
|
} |
448 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
449 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
450 |
|
throws IllegalStateException, IllegalArgumentException |
451 |
|
{ |
452 |
69 |
try |
453 |
|
{ |
454 |
69 |
Viewport target = (Viewport) object; |
455 |
|
|
456 |
69 |
if (value == null) |
457 |
|
{ |
458 |
0 |
target.deleteRightAlignIds(); |
459 |
0 |
return; |
460 |
|
} |
461 |
69 |
target.setRightAlignIds(((java.lang.Boolean) value) |
462 |
|
.booleanValue()); |
463 |
|
} catch (java.lang.Exception ex) |
464 |
|
{ |
465 |
0 |
throw new IllegalStateException(ex.toString()); |
466 |
|
} |
467 |
|
} |
468 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
469 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
470 |
|
{ |
471 |
0 |
return null; |
472 |
|
} |
473 |
|
}; |
474 |
107 |
desc.setHandler(handler); |
475 |
107 |
desc.setMultivalued(false); |
476 |
107 |
addFieldDescriptor(desc); |
477 |
|
|
478 |
|
|
479 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
480 |
|
{ |
481 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
482 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
483 |
107 |
fieldValidator.setValidator(typeValidator); |
484 |
|
} |
485 |
107 |
desc.setValidator(fieldValidator); |
486 |
|
|
487 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
488 |
|
java.lang.Boolean.TYPE, "_showText", "showText", |
489 |
|
org.exolab.castor.xml.NodeType.Attribute); |
490 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
491 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
492 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
493 |
|
throws IllegalStateException |
494 |
|
{ |
495 |
38 |
Viewport target = (Viewport) object; |
496 |
38 |
if (!target.hasShowText()) |
497 |
|
{ |
498 |
0 |
return null; |
499 |
|
} |
500 |
38 |
return (target.getShowText() ? java.lang.Boolean.TRUE |
501 |
|
: java.lang.Boolean.FALSE); |
502 |
|
} |
503 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
504 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
505 |
|
throws IllegalStateException, IllegalArgumentException |
506 |
|
{ |
507 |
69 |
try |
508 |
|
{ |
509 |
69 |
Viewport target = (Viewport) object; |
510 |
|
|
511 |
69 |
if (value == null) |
512 |
|
{ |
513 |
0 |
target.deleteShowText(); |
514 |
0 |
return; |
515 |
|
} |
516 |
69 |
target.setShowText(((java.lang.Boolean) value).booleanValue()); |
517 |
|
} catch (java.lang.Exception ex) |
518 |
|
{ |
519 |
0 |
throw new IllegalStateException(ex.toString()); |
520 |
|
} |
521 |
|
} |
522 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
523 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
524 |
|
{ |
525 |
0 |
return null; |
526 |
|
} |
527 |
|
}; |
528 |
107 |
desc.setHandler(handler); |
529 |
107 |
desc.setMultivalued(false); |
530 |
107 |
addFieldDescriptor(desc); |
531 |
|
|
532 |
|
|
533 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
534 |
|
{ |
535 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
536 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
537 |
107 |
fieldValidator.setValidator(typeValidator); |
538 |
|
} |
539 |
107 |
desc.setValidator(fieldValidator); |
540 |
|
|
541 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
542 |
|
java.lang.Boolean.TYPE, "_showColourText", "showColourText", |
543 |
|
org.exolab.castor.xml.NodeType.Attribute); |
544 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
545 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
546 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
547 |
|
throws IllegalStateException |
548 |
|
{ |
549 |
38 |
Viewport target = (Viewport) object; |
550 |
38 |
if (!target.hasShowColourText()) |
551 |
|
{ |
552 |
0 |
return null; |
553 |
|
} |
554 |
38 |
return (target.getShowColourText() ? java.lang.Boolean.TRUE |
555 |
|
: java.lang.Boolean.FALSE); |
556 |
|
} |
557 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
558 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
559 |
|
throws IllegalStateException, IllegalArgumentException |
560 |
|
{ |
561 |
69 |
try |
562 |
|
{ |
563 |
69 |
Viewport target = (Viewport) object; |
564 |
|
|
565 |
69 |
if (value == null) |
566 |
|
{ |
567 |
0 |
target.deleteShowColourText(); |
568 |
0 |
return; |
569 |
|
} |
570 |
69 |
target.setShowColourText(((java.lang.Boolean) value) |
571 |
|
.booleanValue()); |
572 |
|
} catch (java.lang.Exception ex) |
573 |
|
{ |
574 |
0 |
throw new IllegalStateException(ex.toString()); |
575 |
|
} |
576 |
|
} |
577 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
578 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
579 |
|
{ |
580 |
0 |
return null; |
581 |
|
} |
582 |
|
}; |
583 |
107 |
desc.setHandler(handler); |
584 |
107 |
desc.setMultivalued(false); |
585 |
107 |
addFieldDescriptor(desc); |
586 |
|
|
587 |
|
|
588 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
589 |
|
{ |
590 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
591 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
592 |
107 |
fieldValidator.setValidator(typeValidator); |
593 |
|
} |
594 |
107 |
desc.setValidator(fieldValidator); |
595 |
|
|
596 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
597 |
|
java.lang.Boolean.TYPE, "_showUnconserved", "showUnconserved", |
598 |
|
org.exolab.castor.xml.NodeType.Attribute); |
599 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
600 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
601 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
602 |
|
throws IllegalStateException |
603 |
|
{ |
604 |
38 |
Viewport target = (Viewport) object; |
605 |
38 |
if (!target.hasShowUnconserved()) |
606 |
|
{ |
607 |
0 |
return null; |
608 |
|
} |
609 |
38 |
return (target.getShowUnconserved() ? java.lang.Boolean.TRUE |
610 |
|
: java.lang.Boolean.FALSE); |
611 |
|
} |
612 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
613 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
614 |
|
throws IllegalStateException, IllegalArgumentException |
615 |
|
{ |
616 |
69 |
try |
617 |
|
{ |
618 |
69 |
Viewport target = (Viewport) object; |
619 |
|
|
620 |
69 |
if (value == null) |
621 |
|
{ |
622 |
0 |
target.deleteShowUnconserved(); |
623 |
0 |
return; |
624 |
|
} |
625 |
69 |
target.setShowUnconserved(((java.lang.Boolean) value) |
626 |
|
.booleanValue()); |
627 |
|
} catch (java.lang.Exception ex) |
628 |
|
{ |
629 |
0 |
throw new IllegalStateException(ex.toString()); |
630 |
|
} |
631 |
|
} |
632 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
633 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
634 |
|
{ |
635 |
0 |
return null; |
636 |
|
} |
637 |
|
}; |
638 |
107 |
desc.setHandler(handler); |
639 |
107 |
desc.setMultivalued(false); |
640 |
107 |
addFieldDescriptor(desc); |
641 |
|
|
642 |
|
|
643 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
644 |
|
{ |
645 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
646 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
647 |
107 |
fieldValidator.setValidator(typeValidator); |
648 |
|
} |
649 |
107 |
desc.setValidator(fieldValidator); |
650 |
|
|
651 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
652 |
|
java.lang.Boolean.TYPE, "_showBoxes", "showBoxes", |
653 |
|
org.exolab.castor.xml.NodeType.Attribute); |
654 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
655 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
656 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
657 |
|
throws IllegalStateException |
658 |
|
{ |
659 |
38 |
Viewport target = (Viewport) object; |
660 |
38 |
if (!target.hasShowBoxes()) |
661 |
|
{ |
662 |
0 |
return null; |
663 |
|
} |
664 |
38 |
return (target.getShowBoxes() ? java.lang.Boolean.TRUE |
665 |
|
: java.lang.Boolean.FALSE); |
666 |
|
} |
667 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
668 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
669 |
|
throws IllegalStateException, IllegalArgumentException |
670 |
|
{ |
671 |
69 |
try |
672 |
|
{ |
673 |
69 |
Viewport target = (Viewport) object; |
674 |
|
|
675 |
69 |
if (value == null) |
676 |
|
{ |
677 |
0 |
target.deleteShowBoxes(); |
678 |
0 |
return; |
679 |
|
} |
680 |
69 |
target.setShowBoxes(((java.lang.Boolean) value).booleanValue()); |
681 |
|
} catch (java.lang.Exception ex) |
682 |
|
{ |
683 |
0 |
throw new IllegalStateException(ex.toString()); |
684 |
|
} |
685 |
|
} |
686 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
687 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
688 |
|
{ |
689 |
0 |
return null; |
690 |
|
} |
691 |
|
}; |
692 |
107 |
desc.setHandler(handler); |
693 |
107 |
desc.setMultivalued(false); |
694 |
107 |
addFieldDescriptor(desc); |
695 |
|
|
696 |
|
|
697 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
698 |
|
{ |
699 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
700 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
701 |
107 |
fieldValidator.setValidator(typeValidator); |
702 |
|
} |
703 |
107 |
desc.setValidator(fieldValidator); |
704 |
|
|
705 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
706 |
|
java.lang.Boolean.TYPE, "_wrapAlignment", "wrapAlignment", |
707 |
|
org.exolab.castor.xml.NodeType.Attribute); |
708 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
709 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
710 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
711 |
|
throws IllegalStateException |
712 |
|
{ |
713 |
38 |
Viewport target = (Viewport) object; |
714 |
38 |
if (!target.hasWrapAlignment()) |
715 |
|
{ |
716 |
0 |
return null; |
717 |
|
} |
718 |
38 |
return (target.getWrapAlignment() ? java.lang.Boolean.TRUE |
719 |
|
: java.lang.Boolean.FALSE); |
720 |
|
} |
721 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
722 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
723 |
|
throws IllegalStateException, IllegalArgumentException |
724 |
|
{ |
725 |
69 |
try |
726 |
|
{ |
727 |
69 |
Viewport target = (Viewport) object; |
728 |
|
|
729 |
69 |
if (value == null) |
730 |
|
{ |
731 |
0 |
target.deleteWrapAlignment(); |
732 |
0 |
return; |
733 |
|
} |
734 |
69 |
target.setWrapAlignment(((java.lang.Boolean) value) |
735 |
|
.booleanValue()); |
736 |
|
} catch (java.lang.Exception ex) |
737 |
|
{ |
738 |
0 |
throw new IllegalStateException(ex.toString()); |
739 |
|
} |
740 |
|
} |
741 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
742 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
743 |
|
{ |
744 |
0 |
return null; |
745 |
|
} |
746 |
|
}; |
747 |
107 |
desc.setHandler(handler); |
748 |
107 |
desc.setMultivalued(false); |
749 |
107 |
addFieldDescriptor(desc); |
750 |
|
|
751 |
|
|
752 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
753 |
|
{ |
754 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
755 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
756 |
107 |
fieldValidator.setValidator(typeValidator); |
757 |
|
} |
758 |
107 |
desc.setValidator(fieldValidator); |
759 |
|
|
760 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
761 |
|
java.lang.Boolean.TYPE, "_renderGaps", "renderGaps", |
762 |
|
org.exolab.castor.xml.NodeType.Attribute); |
763 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
764 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
765 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
766 |
|
throws IllegalStateException |
767 |
|
{ |
768 |
38 |
Viewport target = (Viewport) object; |
769 |
38 |
if (!target.hasRenderGaps()) |
770 |
|
{ |
771 |
0 |
return null; |
772 |
|
} |
773 |
38 |
return (target.getRenderGaps() ? java.lang.Boolean.TRUE |
774 |
|
: java.lang.Boolean.FALSE); |
775 |
|
} |
776 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
777 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
778 |
|
throws IllegalStateException, IllegalArgumentException |
779 |
|
{ |
780 |
69 |
try |
781 |
|
{ |
782 |
69 |
Viewport target = (Viewport) object; |
783 |
|
|
784 |
69 |
if (value == null) |
785 |
|
{ |
786 |
0 |
target.deleteRenderGaps(); |
787 |
0 |
return; |
788 |
|
} |
789 |
69 |
target.setRenderGaps(((java.lang.Boolean) value).booleanValue()); |
790 |
|
} catch (java.lang.Exception ex) |
791 |
|
{ |
792 |
0 |
throw new IllegalStateException(ex.toString()); |
793 |
|
} |
794 |
|
} |
795 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
796 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
797 |
|
{ |
798 |
0 |
return null; |
799 |
|
} |
800 |
|
}; |
801 |
107 |
desc.setHandler(handler); |
802 |
107 |
desc.setMultivalued(false); |
803 |
107 |
addFieldDescriptor(desc); |
804 |
|
|
805 |
|
|
806 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
807 |
|
{ |
808 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
809 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
810 |
107 |
fieldValidator.setValidator(typeValidator); |
811 |
|
} |
812 |
107 |
desc.setValidator(fieldValidator); |
813 |
|
|
814 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
815 |
|
java.lang.Boolean.TYPE, "_showSequenceFeatures", |
816 |
|
"showSequenceFeatures", |
817 |
|
org.exolab.castor.xml.NodeType.Attribute); |
818 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
819 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
820 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
821 |
|
throws IllegalStateException |
822 |
|
{ |
823 |
38 |
Viewport target = (Viewport) object; |
824 |
38 |
if (!target.hasShowSequenceFeatures()) |
825 |
|
{ |
826 |
0 |
return null; |
827 |
|
} |
828 |
38 |
return (target.getShowSequenceFeatures() ? java.lang.Boolean.TRUE |
829 |
|
: java.lang.Boolean.FALSE); |
830 |
|
} |
831 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
832 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
833 |
|
throws IllegalStateException, IllegalArgumentException |
834 |
|
{ |
835 |
69 |
try |
836 |
|
{ |
837 |
69 |
Viewport target = (Viewport) object; |
838 |
|
|
839 |
69 |
if (value == null) |
840 |
|
{ |
841 |
0 |
target.deleteShowSequenceFeatures(); |
842 |
0 |
return; |
843 |
|
} |
844 |
69 |
target.setShowSequenceFeatures(((java.lang.Boolean) value) |
845 |
|
.booleanValue()); |
846 |
|
} catch (java.lang.Exception ex) |
847 |
|
{ |
848 |
0 |
throw new IllegalStateException(ex.toString()); |
849 |
|
} |
850 |
|
} |
851 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
852 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
853 |
|
{ |
854 |
0 |
return null; |
855 |
|
} |
856 |
|
}; |
857 |
107 |
desc.setHandler(handler); |
858 |
107 |
desc.setMultivalued(false); |
859 |
107 |
addFieldDescriptor(desc); |
860 |
|
|
861 |
|
|
862 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
863 |
|
{ |
864 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
865 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
866 |
107 |
fieldValidator.setValidator(typeValidator); |
867 |
|
} |
868 |
107 |
desc.setValidator(fieldValidator); |
869 |
|
|
870 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
871 |
|
java.lang.Boolean.TYPE, "_showNPfeatureTooltip", |
872 |
|
"showNPfeatureTooltip", |
873 |
|
org.exolab.castor.xml.NodeType.Attribute); |
874 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
875 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
876 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
877 |
|
throws IllegalStateException |
878 |
|
{ |
879 |
38 |
Viewport target = (Viewport) object; |
880 |
38 |
if (!target.hasShowNPfeatureTooltip()) |
881 |
|
{ |
882 |
0 |
return null; |
883 |
|
} |
884 |
38 |
return (target.getShowNPfeatureTooltip() ? java.lang.Boolean.TRUE |
885 |
|
: java.lang.Boolean.FALSE); |
886 |
|
} |
887 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
888 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
889 |
|
throws IllegalStateException, IllegalArgumentException |
890 |
|
{ |
891 |
69 |
try |
892 |
|
{ |
893 |
69 |
Viewport target = (Viewport) object; |
894 |
|
|
895 |
69 |
if (value == null) |
896 |
|
{ |
897 |
0 |
target.deleteShowNPfeatureTooltip(); |
898 |
0 |
return; |
899 |
|
} |
900 |
69 |
target.setShowNPfeatureTooltip(((java.lang.Boolean) value) |
901 |
|
.booleanValue()); |
902 |
|
} catch (java.lang.Exception ex) |
903 |
|
{ |
904 |
0 |
throw new IllegalStateException(ex.toString()); |
905 |
|
} |
906 |
|
} |
907 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
908 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
909 |
|
{ |
910 |
0 |
return null; |
911 |
|
} |
912 |
|
}; |
913 |
107 |
desc.setHandler(handler); |
914 |
107 |
desc.setMultivalued(false); |
915 |
107 |
addFieldDescriptor(desc); |
916 |
|
|
917 |
|
|
918 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
919 |
|
{ |
920 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
921 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
922 |
107 |
fieldValidator.setValidator(typeValidator); |
923 |
|
} |
924 |
107 |
desc.setValidator(fieldValidator); |
925 |
|
|
926 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
927 |
|
java.lang.Boolean.TYPE, "_showDbRefTooltip", |
928 |
|
"showDbRefTooltip", org.exolab.castor.xml.NodeType.Attribute); |
929 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
930 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
931 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
932 |
|
throws IllegalStateException |
933 |
|
{ |
934 |
38 |
Viewport target = (Viewport) object; |
935 |
38 |
if (!target.hasShowDbRefTooltip()) |
936 |
|
{ |
937 |
0 |
return null; |
938 |
|
} |
939 |
38 |
return (target.getShowDbRefTooltip() ? java.lang.Boolean.TRUE |
940 |
|
: java.lang.Boolean.FALSE); |
941 |
|
} |
942 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
943 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
944 |
|
throws IllegalStateException, IllegalArgumentException |
945 |
|
{ |
946 |
69 |
try |
947 |
|
{ |
948 |
69 |
Viewport target = (Viewport) object; |
949 |
|
|
950 |
69 |
if (value == null) |
951 |
|
{ |
952 |
0 |
target.deleteShowDbRefTooltip(); |
953 |
0 |
return; |
954 |
|
} |
955 |
69 |
target.setShowDbRefTooltip(((java.lang.Boolean) value) |
956 |
|
.booleanValue()); |
957 |
|
} catch (java.lang.Exception ex) |
958 |
|
{ |
959 |
0 |
throw new IllegalStateException(ex.toString()); |
960 |
|
} |
961 |
|
} |
962 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
963 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
964 |
|
{ |
965 |
0 |
return null; |
966 |
|
} |
967 |
|
}; |
968 |
107 |
desc.setHandler(handler); |
969 |
107 |
desc.setMultivalued(false); |
970 |
107 |
addFieldDescriptor(desc); |
971 |
|
|
972 |
|
|
973 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
974 |
|
{ |
975 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
976 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
977 |
107 |
fieldValidator.setValidator(typeValidator); |
978 |
|
} |
979 |
107 |
desc.setValidator(fieldValidator); |
980 |
|
|
981 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
982 |
|
java.lang.Boolean.TYPE, "_followHighlight", "followHighlight", |
983 |
|
org.exolab.castor.xml.NodeType.Attribute); |
984 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
985 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
986 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
987 |
|
throws IllegalStateException |
988 |
|
{ |
989 |
38 |
Viewport target = (Viewport) object; |
990 |
38 |
if (!target.hasFollowHighlight()) |
991 |
|
{ |
992 |
0 |
return null; |
993 |
|
} |
994 |
38 |
return (target.getFollowHighlight() ? java.lang.Boolean.TRUE |
995 |
|
: java.lang.Boolean.FALSE); |
996 |
|
} |
997 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
998 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
999 |
|
throws IllegalStateException, IllegalArgumentException |
1000 |
|
{ |
1001 |
69 |
try |
1002 |
|
{ |
1003 |
69 |
Viewport target = (Viewport) object; |
1004 |
|
|
1005 |
69 |
if (value == null) |
1006 |
|
{ |
1007 |
0 |
target.deleteFollowHighlight(); |
1008 |
0 |
return; |
1009 |
|
} |
1010 |
69 |
target.setFollowHighlight(((java.lang.Boolean) value) |
1011 |
|
.booleanValue()); |
1012 |
|
} catch (java.lang.Exception ex) |
1013 |
|
{ |
1014 |
0 |
throw new IllegalStateException(ex.toString()); |
1015 |
|
} |
1016 |
|
} |
1017 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1018 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1019 |
|
{ |
1020 |
0 |
return null; |
1021 |
|
} |
1022 |
|
}; |
1023 |
107 |
desc.setHandler(handler); |
1024 |
107 |
desc.setMultivalued(false); |
1025 |
107 |
addFieldDescriptor(desc); |
1026 |
|
|
1027 |
|
|
1028 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1029 |
|
{ |
1030 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1031 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1032 |
107 |
fieldValidator.setValidator(typeValidator); |
1033 |
|
} |
1034 |
107 |
desc.setValidator(fieldValidator); |
1035 |
|
|
1036 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1037 |
|
java.lang.Boolean.TYPE, "_followSelection", "followSelection", |
1038 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1039 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1040 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1041 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1042 |
|
throws IllegalStateException |
1043 |
|
{ |
1044 |
38 |
Viewport target = (Viewport) object; |
1045 |
38 |
if (!target.hasFollowSelection()) |
1046 |
|
{ |
1047 |
0 |
return null; |
1048 |
|
} |
1049 |
38 |
return (target.getFollowSelection() ? java.lang.Boolean.TRUE |
1050 |
|
: java.lang.Boolean.FALSE); |
1051 |
|
} |
1052 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1053 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1054 |
|
throws IllegalStateException, IllegalArgumentException |
1055 |
|
{ |
1056 |
69 |
try |
1057 |
|
{ |
1058 |
69 |
Viewport target = (Viewport) object; |
1059 |
|
|
1060 |
69 |
if (value == null) |
1061 |
|
{ |
1062 |
0 |
target.deleteFollowSelection(); |
1063 |
0 |
return; |
1064 |
|
} |
1065 |
69 |
target.setFollowSelection(((java.lang.Boolean) value) |
1066 |
|
.booleanValue()); |
1067 |
|
} catch (java.lang.Exception ex) |
1068 |
|
{ |
1069 |
0 |
throw new IllegalStateException(ex.toString()); |
1070 |
|
} |
1071 |
|
} |
1072 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1073 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1074 |
|
{ |
1075 |
0 |
return null; |
1076 |
|
} |
1077 |
|
}; |
1078 |
107 |
desc.setHandler(handler); |
1079 |
107 |
desc.setMultivalued(false); |
1080 |
107 |
addFieldDescriptor(desc); |
1081 |
|
|
1082 |
|
|
1083 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1084 |
|
{ |
1085 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1086 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1087 |
107 |
fieldValidator.setValidator(typeValidator); |
1088 |
|
} |
1089 |
107 |
desc.setValidator(fieldValidator); |
1090 |
|
|
1091 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1092 |
|
java.lang.Boolean.TYPE, "_showAnnotation", "showAnnotation", |
1093 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1094 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1095 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1096 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1097 |
|
throws IllegalStateException |
1098 |
|
{ |
1099 |
38 |
Viewport target = (Viewport) object; |
1100 |
38 |
if (!target.hasShowAnnotation()) |
1101 |
|
{ |
1102 |
0 |
return null; |
1103 |
|
} |
1104 |
38 |
return (target.getShowAnnotation() ? java.lang.Boolean.TRUE |
1105 |
|
: java.lang.Boolean.FALSE); |
1106 |
|
} |
1107 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1108 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1109 |
|
throws IllegalStateException, IllegalArgumentException |
1110 |
|
{ |
1111 |
69 |
try |
1112 |
|
{ |
1113 |
69 |
Viewport target = (Viewport) object; |
1114 |
|
|
1115 |
69 |
if (value == null) |
1116 |
|
{ |
1117 |
0 |
target.deleteShowAnnotation(); |
1118 |
0 |
return; |
1119 |
|
} |
1120 |
69 |
target.setShowAnnotation(((java.lang.Boolean) value) |
1121 |
|
.booleanValue()); |
1122 |
|
} catch (java.lang.Exception ex) |
1123 |
|
{ |
1124 |
0 |
throw new IllegalStateException(ex.toString()); |
1125 |
|
} |
1126 |
|
} |
1127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1128 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1129 |
|
{ |
1130 |
0 |
return null; |
1131 |
|
} |
1132 |
|
}; |
1133 |
107 |
desc.setHandler(handler); |
1134 |
107 |
desc.setMultivalued(false); |
1135 |
107 |
addFieldDescriptor(desc); |
1136 |
|
|
1137 |
|
|
1138 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1139 |
|
{ |
1140 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1141 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1142 |
107 |
fieldValidator.setValidator(typeValidator); |
1143 |
|
} |
1144 |
107 |
desc.setValidator(fieldValidator); |
1145 |
|
|
1146 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1147 |
|
java.lang.Boolean.TYPE, "_centreColumnLabels", |
1148 |
|
"centreColumnLabels", org.exolab.castor.xml.NodeType.Attribute); |
1149 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1150 |
|
{ |
|
|
| 50% |
Uncovered Elements: 4 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1151 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1152 |
|
throws IllegalStateException |
1153 |
|
{ |
1154 |
38 |
Viewport target = (Viewport) object; |
1155 |
38 |
if (!target.hasCentreColumnLabels()) |
1156 |
|
{ |
1157 |
38 |
return null; |
1158 |
|
} |
1159 |
0 |
return (target.getCentreColumnLabels() ? java.lang.Boolean.TRUE |
1160 |
|
: java.lang.Boolean.FALSE); |
1161 |
|
} |
1162 |
|
|
|
|
| 0% |
Uncovered Elements: 9 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1163 |
0 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1164 |
|
throws IllegalStateException, IllegalArgumentException |
1165 |
|
{ |
1166 |
0 |
try |
1167 |
|
{ |
1168 |
0 |
Viewport target = (Viewport) object; |
1169 |
|
|
1170 |
0 |
if (value == null) |
1171 |
|
{ |
1172 |
0 |
target.deleteCentreColumnLabels(); |
1173 |
0 |
return; |
1174 |
|
} |
1175 |
0 |
target.setCentreColumnLabels(((java.lang.Boolean) value) |
1176 |
|
.booleanValue()); |
1177 |
|
} catch (java.lang.Exception ex) |
1178 |
|
{ |
1179 |
0 |
throw new IllegalStateException(ex.toString()); |
1180 |
|
} |
1181 |
|
} |
1182 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1183 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1184 |
|
{ |
1185 |
0 |
return null; |
1186 |
|
} |
1187 |
|
}; |
1188 |
107 |
desc.setHandler(handler); |
1189 |
107 |
desc.setMultivalued(false); |
1190 |
107 |
addFieldDescriptor(desc); |
1191 |
|
|
1192 |
|
|
1193 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1194 |
|
{ |
1195 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1196 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1197 |
107 |
fieldValidator.setValidator(typeValidator); |
1198 |
|
} |
1199 |
107 |
desc.setValidator(fieldValidator); |
1200 |
|
|
1201 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1202 |
|
java.lang.Boolean.TYPE, "_showGroupConservation", |
1203 |
|
"showGroupConservation", |
1204 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1205 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1206 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1207 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1208 |
|
throws IllegalStateException |
1209 |
|
{ |
1210 |
38 |
Viewport target = (Viewport) object; |
1211 |
38 |
if (!target.hasShowGroupConservation()) |
1212 |
|
{ |
1213 |
0 |
return null; |
1214 |
|
} |
1215 |
38 |
return (target.getShowGroupConservation() ? java.lang.Boolean.TRUE |
1216 |
|
: java.lang.Boolean.FALSE); |
1217 |
|
} |
1218 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1219 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1220 |
|
throws IllegalStateException, IllegalArgumentException |
1221 |
|
{ |
1222 |
69 |
try |
1223 |
|
{ |
1224 |
69 |
Viewport target = (Viewport) object; |
1225 |
|
|
1226 |
69 |
if (value == null) |
1227 |
|
{ |
1228 |
0 |
target.deleteShowGroupConservation(); |
1229 |
0 |
return; |
1230 |
|
} |
1231 |
69 |
target.setShowGroupConservation(((java.lang.Boolean) value) |
1232 |
|
.booleanValue()); |
1233 |
|
} catch (java.lang.Exception ex) |
1234 |
|
{ |
1235 |
0 |
throw new IllegalStateException(ex.toString()); |
1236 |
|
} |
1237 |
|
} |
1238 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1239 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1240 |
|
{ |
1241 |
0 |
return null; |
1242 |
|
} |
1243 |
|
}; |
1244 |
107 |
desc.setHandler(handler); |
1245 |
107 |
desc.setMultivalued(false); |
1246 |
107 |
addFieldDescriptor(desc); |
1247 |
|
|
1248 |
|
|
1249 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1250 |
|
{ |
1251 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1252 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1253 |
107 |
fieldValidator.setValidator(typeValidator); |
1254 |
|
} |
1255 |
107 |
desc.setValidator(fieldValidator); |
1256 |
|
|
1257 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1258 |
|
java.lang.Boolean.TYPE, "_showGroupConsensus", |
1259 |
|
"showGroupConsensus", org.exolab.castor.xml.NodeType.Attribute); |
1260 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1261 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1262 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1263 |
|
throws IllegalStateException |
1264 |
|
{ |
1265 |
38 |
Viewport target = (Viewport) object; |
1266 |
38 |
if (!target.hasShowGroupConsensus()) |
1267 |
|
{ |
1268 |
0 |
return null; |
1269 |
|
} |
1270 |
38 |
return (target.getShowGroupConsensus() ? java.lang.Boolean.TRUE |
1271 |
|
: java.lang.Boolean.FALSE); |
1272 |
|
} |
1273 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1274 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1275 |
|
throws IllegalStateException, IllegalArgumentException |
1276 |
|
{ |
1277 |
69 |
try |
1278 |
|
{ |
1279 |
69 |
Viewport target = (Viewport) object; |
1280 |
|
|
1281 |
69 |
if (value == null) |
1282 |
|
{ |
1283 |
0 |
target.deleteShowGroupConsensus(); |
1284 |
0 |
return; |
1285 |
|
} |
1286 |
69 |
target.setShowGroupConsensus(((java.lang.Boolean) value) |
1287 |
|
.booleanValue()); |
1288 |
|
} catch (java.lang.Exception ex) |
1289 |
|
{ |
1290 |
0 |
throw new IllegalStateException(ex.toString()); |
1291 |
|
} |
1292 |
|
} |
1293 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1294 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1295 |
|
{ |
1296 |
0 |
return null; |
1297 |
|
} |
1298 |
|
}; |
1299 |
107 |
desc.setHandler(handler); |
1300 |
107 |
desc.setMultivalued(false); |
1301 |
107 |
addFieldDescriptor(desc); |
1302 |
|
|
1303 |
|
|
1304 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1305 |
|
{ |
1306 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1307 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1308 |
107 |
fieldValidator.setValidator(typeValidator); |
1309 |
|
} |
1310 |
107 |
desc.setValidator(fieldValidator); |
1311 |
|
|
1312 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1313 |
|
java.lang.Boolean.TYPE, "_showConsensusHistogram", |
1314 |
|
"showConsensusHistogram", |
1315 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1316 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1317 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1318 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1319 |
|
throws IllegalStateException |
1320 |
|
{ |
1321 |
38 |
Viewport target = (Viewport) object; |
1322 |
38 |
if (!target.hasShowConsensusHistogram()) |
1323 |
|
{ |
1324 |
0 |
return null; |
1325 |
|
} |
1326 |
38 |
return (target.getShowConsensusHistogram() ? java.lang.Boolean.TRUE |
1327 |
|
: java.lang.Boolean.FALSE); |
1328 |
|
} |
1329 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1330 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1331 |
|
throws IllegalStateException, IllegalArgumentException |
1332 |
|
{ |
1333 |
69 |
try |
1334 |
|
{ |
1335 |
69 |
Viewport target = (Viewport) object; |
1336 |
|
|
1337 |
69 |
if (value == null) |
1338 |
|
{ |
1339 |
0 |
target.deleteShowConsensusHistogram(); |
1340 |
0 |
return; |
1341 |
|
} |
1342 |
69 |
target.setShowConsensusHistogram(((java.lang.Boolean) value) |
1343 |
|
.booleanValue()); |
1344 |
|
} catch (java.lang.Exception ex) |
1345 |
|
{ |
1346 |
0 |
throw new IllegalStateException(ex.toString()); |
1347 |
|
} |
1348 |
|
} |
1349 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1350 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1351 |
|
{ |
1352 |
0 |
return null; |
1353 |
|
} |
1354 |
|
}; |
1355 |
107 |
desc.setHandler(handler); |
1356 |
107 |
desc.setMultivalued(false); |
1357 |
107 |
addFieldDescriptor(desc); |
1358 |
|
|
1359 |
|
|
1360 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1361 |
|
{ |
1362 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1363 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1364 |
107 |
fieldValidator.setValidator(typeValidator); |
1365 |
|
} |
1366 |
107 |
desc.setValidator(fieldValidator); |
1367 |
|
|
1368 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1369 |
|
java.lang.Boolean.TYPE, "_showSequenceLogo", |
1370 |
|
"showSequenceLogo", org.exolab.castor.xml.NodeType.Attribute); |
1371 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1372 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1373 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1374 |
|
throws IllegalStateException |
1375 |
|
{ |
1376 |
38 |
Viewport target = (Viewport) object; |
1377 |
38 |
if (!target.hasShowSequenceLogo()) |
1378 |
|
{ |
1379 |
0 |
return null; |
1380 |
|
} |
1381 |
38 |
return (target.getShowSequenceLogo() ? java.lang.Boolean.TRUE |
1382 |
|
: java.lang.Boolean.FALSE); |
1383 |
|
} |
1384 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1385 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1386 |
|
throws IllegalStateException, IllegalArgumentException |
1387 |
|
{ |
1388 |
69 |
try |
1389 |
|
{ |
1390 |
69 |
Viewport target = (Viewport) object; |
1391 |
|
|
1392 |
69 |
if (value == null) |
1393 |
|
{ |
1394 |
0 |
target.deleteShowSequenceLogo(); |
1395 |
0 |
return; |
1396 |
|
} |
1397 |
69 |
target.setShowSequenceLogo(((java.lang.Boolean) value) |
1398 |
|
.booleanValue()); |
1399 |
|
} catch (java.lang.Exception ex) |
1400 |
|
{ |
1401 |
0 |
throw new IllegalStateException(ex.toString()); |
1402 |
|
} |
1403 |
|
} |
1404 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1405 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1406 |
|
{ |
1407 |
0 |
return null; |
1408 |
|
} |
1409 |
|
}; |
1410 |
107 |
desc.setHandler(handler); |
1411 |
107 |
desc.setMultivalued(false); |
1412 |
107 |
addFieldDescriptor(desc); |
1413 |
|
|
1414 |
|
|
1415 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1416 |
|
{ |
1417 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1418 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1419 |
107 |
fieldValidator.setValidator(typeValidator); |
1420 |
|
} |
1421 |
107 |
desc.setValidator(fieldValidator); |
1422 |
|
|
1423 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1424 |
|
java.lang.Boolean.TYPE, "_normaliseSequenceLogo", |
1425 |
|
"normaliseSequenceLogo", |
1426 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1427 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1428 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1429 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1430 |
|
throws IllegalStateException |
1431 |
|
{ |
1432 |
38 |
Viewport target = (Viewport) object; |
1433 |
38 |
if (!target.hasNormaliseSequenceLogo()) |
1434 |
|
{ |
1435 |
0 |
return null; |
1436 |
|
} |
1437 |
38 |
return (target.getNormaliseSequenceLogo() ? java.lang.Boolean.TRUE |
1438 |
|
: java.lang.Boolean.FALSE); |
1439 |
|
} |
1440 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1441 |
19 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1442 |
|
throws IllegalStateException, IllegalArgumentException |
1443 |
|
{ |
1444 |
19 |
try |
1445 |
|
{ |
1446 |
19 |
Viewport target = (Viewport) object; |
1447 |
|
|
1448 |
19 |
if (value == null) |
1449 |
|
{ |
1450 |
0 |
target.deleteNormaliseSequenceLogo(); |
1451 |
0 |
return; |
1452 |
|
} |
1453 |
19 |
target.setNormaliseSequenceLogo(((java.lang.Boolean) value) |
1454 |
|
.booleanValue()); |
1455 |
|
} catch (java.lang.Exception ex) |
1456 |
|
{ |
1457 |
0 |
throw new IllegalStateException(ex.toString()); |
1458 |
|
} |
1459 |
|
} |
1460 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1461 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1462 |
|
{ |
1463 |
0 |
return null; |
1464 |
|
} |
1465 |
|
}; |
1466 |
107 |
desc.setHandler(handler); |
1467 |
107 |
desc.setMultivalued(false); |
1468 |
107 |
addFieldDescriptor(desc); |
1469 |
|
|
1470 |
|
|
1471 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1472 |
|
{ |
1473 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1474 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1475 |
107 |
fieldValidator.setValidator(typeValidator); |
1476 |
|
} |
1477 |
107 |
desc.setValidator(fieldValidator); |
1478 |
|
|
1479 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1480 |
|
java.lang.Boolean.TYPE, "_ignoreGapsinConsensus", |
1481 |
|
"ignoreGapsinConsensus", |
1482 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1483 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1484 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1485 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1486 |
|
throws IllegalStateException |
1487 |
|
{ |
1488 |
38 |
Viewport target = (Viewport) object; |
1489 |
38 |
if (!target.hasIgnoreGapsinConsensus()) |
1490 |
|
{ |
1491 |
0 |
return null; |
1492 |
|
} |
1493 |
38 |
return (target.getIgnoreGapsinConsensus() ? java.lang.Boolean.TRUE |
1494 |
|
: java.lang.Boolean.FALSE); |
1495 |
|
} |
1496 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1497 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1498 |
|
throws IllegalStateException, IllegalArgumentException |
1499 |
|
{ |
1500 |
69 |
try |
1501 |
|
{ |
1502 |
69 |
Viewport target = (Viewport) object; |
1503 |
|
|
1504 |
69 |
if (value == null) |
1505 |
|
{ |
1506 |
0 |
target.deleteIgnoreGapsinConsensus(); |
1507 |
0 |
return; |
1508 |
|
} |
1509 |
69 |
target.setIgnoreGapsinConsensus(((java.lang.Boolean) value) |
1510 |
|
.booleanValue()); |
1511 |
|
} catch (java.lang.Exception ex) |
1512 |
|
{ |
1513 |
0 |
throw new IllegalStateException(ex.toString()); |
1514 |
|
} |
1515 |
|
} |
1516 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1517 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1518 |
|
{ |
1519 |
0 |
return null; |
1520 |
|
} |
1521 |
|
}; |
1522 |
107 |
desc.setHandler(handler); |
1523 |
107 |
desc.setMultivalued(false); |
1524 |
107 |
addFieldDescriptor(desc); |
1525 |
|
|
1526 |
|
|
1527 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1528 |
|
{ |
1529 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1530 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1531 |
107 |
fieldValidator.setValidator(typeValidator); |
1532 |
|
} |
1533 |
107 |
desc.setValidator(fieldValidator); |
1534 |
|
|
1535 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1536 |
|
java.lang.Integer.TYPE, "_startRes", "startRes", |
1537 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1538 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1539 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1540 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1541 |
|
throws IllegalStateException |
1542 |
|
{ |
1543 |
38 |
Viewport target = (Viewport) object; |
1544 |
38 |
if (!target.hasStartRes()) |
1545 |
|
{ |
1546 |
0 |
return null; |
1547 |
|
} |
1548 |
38 |
return new java.lang.Integer(target.getStartRes()); |
1549 |
|
} |
1550 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1551 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1552 |
|
throws IllegalStateException, IllegalArgumentException |
1553 |
|
{ |
1554 |
69 |
try |
1555 |
|
{ |
1556 |
69 |
Viewport target = (Viewport) object; |
1557 |
|
|
1558 |
69 |
if (value == null) |
1559 |
|
{ |
1560 |
0 |
target.deleteStartRes(); |
1561 |
0 |
return; |
1562 |
|
} |
1563 |
69 |
target.setStartRes(((java.lang.Integer) value).intValue()); |
1564 |
|
} catch (java.lang.Exception ex) |
1565 |
|
{ |
1566 |
0 |
throw new IllegalStateException(ex.toString()); |
1567 |
|
} |
1568 |
|
} |
1569 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1570 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1571 |
|
{ |
1572 |
0 |
return null; |
1573 |
|
} |
1574 |
|
}; |
1575 |
107 |
desc.setHandler(handler); |
1576 |
107 |
desc.setMultivalued(false); |
1577 |
107 |
addFieldDescriptor(desc); |
1578 |
|
|
1579 |
|
|
1580 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1581 |
|
{ |
1582 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
1583 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
1584 |
107 |
fieldValidator.setValidator(typeValidator); |
1585 |
107 |
typeValidator.setMinInclusive(-2147483648); |
1586 |
107 |
typeValidator.setMaxInclusive(2147483647); |
1587 |
|
} |
1588 |
107 |
desc.setValidator(fieldValidator); |
1589 |
|
|
1590 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1591 |
|
java.lang.Integer.TYPE, "_startSeq", "startSeq", |
1592 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1593 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1594 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1595 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1596 |
|
throws IllegalStateException |
1597 |
|
{ |
1598 |
38 |
Viewport target = (Viewport) object; |
1599 |
38 |
if (!target.hasStartSeq()) |
1600 |
|
{ |
1601 |
0 |
return null; |
1602 |
|
} |
1603 |
38 |
return new java.lang.Integer(target.getStartSeq()); |
1604 |
|
} |
1605 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1606 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1607 |
|
throws IllegalStateException, IllegalArgumentException |
1608 |
|
{ |
1609 |
69 |
try |
1610 |
|
{ |
1611 |
69 |
Viewport target = (Viewport) object; |
1612 |
|
|
1613 |
69 |
if (value == null) |
1614 |
|
{ |
1615 |
0 |
target.deleteStartSeq(); |
1616 |
0 |
return; |
1617 |
|
} |
1618 |
69 |
target.setStartSeq(((java.lang.Integer) value).intValue()); |
1619 |
|
} catch (java.lang.Exception ex) |
1620 |
|
{ |
1621 |
0 |
throw new IllegalStateException(ex.toString()); |
1622 |
|
} |
1623 |
|
} |
1624 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1625 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1626 |
|
{ |
1627 |
0 |
return null; |
1628 |
|
} |
1629 |
|
}; |
1630 |
107 |
desc.setHandler(handler); |
1631 |
107 |
desc.setMultivalued(false); |
1632 |
107 |
addFieldDescriptor(desc); |
1633 |
|
|
1634 |
|
|
1635 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1636 |
|
{ |
1637 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
1638 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
1639 |
107 |
fieldValidator.setValidator(typeValidator); |
1640 |
107 |
typeValidator.setMinInclusive(-2147483648); |
1641 |
107 |
typeValidator.setMaxInclusive(2147483647); |
1642 |
|
} |
1643 |
107 |
desc.setValidator(fieldValidator); |
1644 |
|
|
1645 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1646 |
|
java.lang.String.class, "_fontName", "fontName", |
1647 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1648 |
107 |
desc.setImmutable(true); |
1649 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1650 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
1651 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1652 |
|
throws IllegalStateException |
1653 |
|
{ |
1654 |
38 |
Viewport target = (Viewport) object; |
1655 |
38 |
return target.getFontName(); |
1656 |
|
} |
1657 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1658 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1659 |
|
throws IllegalStateException, IllegalArgumentException |
1660 |
|
{ |
1661 |
69 |
try |
1662 |
|
{ |
1663 |
69 |
Viewport target = (Viewport) object; |
1664 |
69 |
target.setFontName((java.lang.String) value); |
1665 |
|
} catch (java.lang.Exception ex) |
1666 |
|
{ |
1667 |
0 |
throw new IllegalStateException(ex.toString()); |
1668 |
|
} |
1669 |
|
} |
1670 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1671 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1672 |
|
{ |
1673 |
0 |
return null; |
1674 |
|
} |
1675 |
|
}; |
1676 |
107 |
desc.setHandler(handler); |
1677 |
107 |
desc.setMultivalued(false); |
1678 |
107 |
addFieldDescriptor(desc); |
1679 |
|
|
1680 |
|
|
1681 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1682 |
|
{ |
1683 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
1684 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
1685 |
107 |
fieldValidator.setValidator(typeValidator); |
1686 |
107 |
typeValidator.setWhiteSpace("preserve"); |
1687 |
|
} |
1688 |
107 |
desc.setValidator(fieldValidator); |
1689 |
|
|
1690 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1691 |
|
java.lang.Integer.TYPE, "_fontSize", "fontSize", |
1692 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1693 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1694 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1695 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1696 |
|
throws IllegalStateException |
1697 |
|
{ |
1698 |
38 |
Viewport target = (Viewport) object; |
1699 |
38 |
if (!target.hasFontSize()) |
1700 |
|
{ |
1701 |
0 |
return null; |
1702 |
|
} |
1703 |
38 |
return new java.lang.Integer(target.getFontSize()); |
1704 |
|
} |
1705 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1706 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1707 |
|
throws IllegalStateException, IllegalArgumentException |
1708 |
|
{ |
1709 |
69 |
try |
1710 |
|
{ |
1711 |
69 |
Viewport target = (Viewport) object; |
1712 |
|
|
1713 |
69 |
if (value == null) |
1714 |
|
{ |
1715 |
0 |
target.deleteFontSize(); |
1716 |
0 |
return; |
1717 |
|
} |
1718 |
69 |
target.setFontSize(((java.lang.Integer) value).intValue()); |
1719 |
|
} catch (java.lang.Exception ex) |
1720 |
|
{ |
1721 |
0 |
throw new IllegalStateException(ex.toString()); |
1722 |
|
} |
1723 |
|
} |
1724 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1725 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1726 |
|
{ |
1727 |
0 |
return null; |
1728 |
|
} |
1729 |
|
}; |
1730 |
107 |
desc.setHandler(handler); |
1731 |
107 |
desc.setMultivalued(false); |
1732 |
107 |
addFieldDescriptor(desc); |
1733 |
|
|
1734 |
|
|
1735 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1736 |
|
{ |
1737 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
1738 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
1739 |
107 |
fieldValidator.setValidator(typeValidator); |
1740 |
107 |
typeValidator.setMinInclusive(-2147483648); |
1741 |
107 |
typeValidator.setMaxInclusive(2147483647); |
1742 |
|
} |
1743 |
107 |
desc.setValidator(fieldValidator); |
1744 |
|
|
1745 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1746 |
|
java.lang.Integer.TYPE, "_fontStyle", "fontStyle", |
1747 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1748 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1749 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1750 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1751 |
|
throws IllegalStateException |
1752 |
|
{ |
1753 |
38 |
Viewport target = (Viewport) object; |
1754 |
38 |
if (!target.hasFontStyle()) |
1755 |
|
{ |
1756 |
0 |
return null; |
1757 |
|
} |
1758 |
38 |
return new java.lang.Integer(target.getFontStyle()); |
1759 |
|
} |
1760 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1761 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1762 |
|
throws IllegalStateException, IllegalArgumentException |
1763 |
|
{ |
1764 |
69 |
try |
1765 |
|
{ |
1766 |
69 |
Viewport target = (Viewport) object; |
1767 |
|
|
1768 |
69 |
if (value == null) |
1769 |
|
{ |
1770 |
0 |
target.deleteFontStyle(); |
1771 |
0 |
return; |
1772 |
|
} |
1773 |
69 |
target.setFontStyle(((java.lang.Integer) value).intValue()); |
1774 |
|
} catch (java.lang.Exception ex) |
1775 |
|
{ |
1776 |
0 |
throw new IllegalStateException(ex.toString()); |
1777 |
|
} |
1778 |
|
} |
1779 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1780 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1781 |
|
{ |
1782 |
0 |
return null; |
1783 |
|
} |
1784 |
|
}; |
1785 |
107 |
desc.setHandler(handler); |
1786 |
107 |
desc.setMultivalued(false); |
1787 |
107 |
addFieldDescriptor(desc); |
1788 |
|
|
1789 |
|
|
1790 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1791 |
|
{ |
1792 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
1793 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
1794 |
107 |
fieldValidator.setValidator(typeValidator); |
1795 |
107 |
typeValidator.setMinInclusive(-2147483648); |
1796 |
107 |
typeValidator.setMaxInclusive(2147483647); |
1797 |
|
} |
1798 |
107 |
desc.setValidator(fieldValidator); |
1799 |
|
|
1800 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1801 |
|
java.lang.Boolean.TYPE, "_scaleProteinAsCdna", |
1802 |
|
"scaleProteinAsCdna", org.exolab.castor.xml.NodeType.Attribute); |
1803 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1804 |
|
{ |
|
|
| 62.5% |
Uncovered Elements: 3 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1805 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1806 |
|
throws IllegalStateException |
1807 |
|
{ |
1808 |
38 |
Viewport target = (Viewport) object; |
1809 |
38 |
if (!target.hasScaleProteinAsCdna()) |
1810 |
|
{ |
1811 |
0 |
return null; |
1812 |
|
} |
1813 |
38 |
return (target.getScaleProteinAsCdna() ? java.lang.Boolean.TRUE |
1814 |
|
: java.lang.Boolean.FALSE); |
1815 |
|
} |
1816 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1817 |
19 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1818 |
|
throws IllegalStateException, IllegalArgumentException |
1819 |
|
{ |
1820 |
19 |
try |
1821 |
|
{ |
1822 |
19 |
Viewport target = (Viewport) object; |
1823 |
|
|
1824 |
19 |
if (value == null) |
1825 |
|
{ |
1826 |
0 |
target.deleteScaleProteinAsCdna(); |
1827 |
0 |
return; |
1828 |
|
} |
1829 |
19 |
target.setScaleProteinAsCdna(((java.lang.Boolean) value) |
1830 |
|
.booleanValue()); |
1831 |
|
} catch (java.lang.Exception ex) |
1832 |
|
{ |
1833 |
0 |
throw new IllegalStateException(ex.toString()); |
1834 |
|
} |
1835 |
|
} |
1836 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1837 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1838 |
|
{ |
1839 |
0 |
return null; |
1840 |
|
} |
1841 |
|
}; |
1842 |
107 |
desc.setHandler(handler); |
1843 |
107 |
desc.setMultivalued(false); |
1844 |
107 |
addFieldDescriptor(desc); |
1845 |
|
|
1846 |
|
|
1847 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1848 |
|
{ |
1849 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1850 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1851 |
107 |
fieldValidator.setValidator(typeValidator); |
1852 |
|
} |
1853 |
107 |
desc.setValidator(fieldValidator); |
1854 |
|
|
1855 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1856 |
|
java.lang.String.class, "_viewName", "viewName", |
1857 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1858 |
107 |
desc.setImmutable(true); |
1859 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1860 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
1861 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1862 |
|
throws IllegalStateException |
1863 |
|
{ |
1864 |
38 |
Viewport target = (Viewport) object; |
1865 |
38 |
return target.getViewName(); |
1866 |
|
} |
1867 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1868 |
62 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1869 |
|
throws IllegalStateException, IllegalArgumentException |
1870 |
|
{ |
1871 |
62 |
try |
1872 |
|
{ |
1873 |
62 |
Viewport target = (Viewport) object; |
1874 |
62 |
target.setViewName((java.lang.String) value); |
1875 |
|
} catch (java.lang.Exception ex) |
1876 |
|
{ |
1877 |
0 |
throw new IllegalStateException(ex.toString()); |
1878 |
|
} |
1879 |
|
} |
1880 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1881 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1882 |
|
{ |
1883 |
0 |
return null; |
1884 |
|
} |
1885 |
|
}; |
1886 |
107 |
desc.setHandler(handler); |
1887 |
107 |
desc.setMultivalued(false); |
1888 |
107 |
addFieldDescriptor(desc); |
1889 |
|
|
1890 |
|
|
1891 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1892 |
|
{ |
1893 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
1894 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
1895 |
107 |
fieldValidator.setValidator(typeValidator); |
1896 |
107 |
typeValidator.setWhiteSpace("preserve"); |
1897 |
|
} |
1898 |
107 |
desc.setValidator(fieldValidator); |
1899 |
|
|
1900 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1901 |
|
java.lang.String.class, "_sequenceSetId", "sequenceSetId", |
1902 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1903 |
107 |
desc.setImmutable(true); |
1904 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1905 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
1906 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1907 |
|
throws IllegalStateException |
1908 |
|
{ |
1909 |
38 |
Viewport target = (Viewport) object; |
1910 |
38 |
return target.getSequenceSetId(); |
1911 |
|
} |
1912 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
1913 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1914 |
|
throws IllegalStateException, IllegalArgumentException |
1915 |
|
{ |
1916 |
69 |
try |
1917 |
|
{ |
1918 |
69 |
Viewport target = (Viewport) object; |
1919 |
69 |
target.setSequenceSetId((java.lang.String) value); |
1920 |
|
} catch (java.lang.Exception ex) |
1921 |
|
{ |
1922 |
0 |
throw new IllegalStateException(ex.toString()); |
1923 |
|
} |
1924 |
|
} |
1925 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1926 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1927 |
|
{ |
1928 |
0 |
return null; |
1929 |
|
} |
1930 |
|
}; |
1931 |
107 |
desc.setHandler(handler); |
1932 |
107 |
desc.setMultivalued(false); |
1933 |
107 |
addFieldDescriptor(desc); |
1934 |
|
|
1935 |
|
|
1936 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1937 |
|
{ |
1938 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
1939 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
1940 |
107 |
fieldValidator.setValidator(typeValidator); |
1941 |
107 |
typeValidator.setWhiteSpace("preserve"); |
1942 |
|
} |
1943 |
107 |
desc.setValidator(fieldValidator); |
1944 |
|
|
1945 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
1946 |
|
java.lang.Boolean.TYPE, "_gatheredViews", "gatheredViews", |
1947 |
|
org.exolab.castor.xml.NodeType.Attribute); |
1948 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
1949 |
|
{ |
|
|
| 75% |
Uncovered Elements: 2 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
1950 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
1951 |
|
throws IllegalStateException |
1952 |
|
{ |
1953 |
38 |
Viewport target = (Viewport) object; |
1954 |
38 |
if (!target.hasGatheredViews()) |
1955 |
|
{ |
1956 |
0 |
return null; |
1957 |
|
} |
1958 |
38 |
return (target.getGatheredViews() ? java.lang.Boolean.TRUE |
1959 |
|
: java.lang.Boolean.FALSE); |
1960 |
|
} |
1961 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
1962 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
1963 |
|
throws IllegalStateException, IllegalArgumentException |
1964 |
|
{ |
1965 |
69 |
try |
1966 |
|
{ |
1967 |
69 |
Viewport target = (Viewport) object; |
1968 |
|
|
1969 |
69 |
if (value == null) |
1970 |
|
{ |
1971 |
0 |
target.deleteGatheredViews(); |
1972 |
0 |
return; |
1973 |
|
} |
1974 |
69 |
target.setGatheredViews(((java.lang.Boolean) value) |
1975 |
|
.booleanValue()); |
1976 |
|
} catch (java.lang.Exception ex) |
1977 |
|
{ |
1978 |
0 |
throw new IllegalStateException(ex.toString()); |
1979 |
|
} |
1980 |
|
} |
1981 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1982 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
1983 |
|
{ |
1984 |
0 |
return null; |
1985 |
|
} |
1986 |
|
}; |
1987 |
107 |
desc.setHandler(handler); |
1988 |
107 |
desc.setMultivalued(false); |
1989 |
107 |
addFieldDescriptor(desc); |
1990 |
|
|
1991 |
|
|
1992 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
1993 |
|
{ |
1994 |
107 |
org.exolab.castor.xml.validators.BooleanValidator typeValidator; |
1995 |
107 |
typeValidator = new org.exolab.castor.xml.validators.BooleanValidator(); |
1996 |
107 |
fieldValidator.setValidator(typeValidator); |
1997 |
|
} |
1998 |
107 |
desc.setValidator(fieldValidator); |
1999 |
|
|
2000 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2001 |
|
java.lang.Integer.TYPE, "_textCol1", "textCol1", |
2002 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2003 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2004 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2005 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2006 |
|
throws IllegalStateException |
2007 |
|
{ |
2008 |
38 |
Viewport target = (Viewport) object; |
2009 |
38 |
if (!target.hasTextCol1()) |
2010 |
|
{ |
2011 |
0 |
return null; |
2012 |
|
} |
2013 |
38 |
return new java.lang.Integer(target.getTextCol1()); |
2014 |
|
} |
2015 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2016 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2017 |
|
throws IllegalStateException, IllegalArgumentException |
2018 |
|
{ |
2019 |
69 |
try |
2020 |
|
{ |
2021 |
69 |
Viewport target = (Viewport) object; |
2022 |
|
|
2023 |
69 |
if (value == null) |
2024 |
|
{ |
2025 |
0 |
target.deleteTextCol1(); |
2026 |
0 |
return; |
2027 |
|
} |
2028 |
69 |
target.setTextCol1(((java.lang.Integer) value).intValue()); |
2029 |
|
} catch (java.lang.Exception ex) |
2030 |
|
{ |
2031 |
0 |
throw new IllegalStateException(ex.toString()); |
2032 |
|
} |
2033 |
|
} |
2034 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2035 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2036 |
|
{ |
2037 |
0 |
return null; |
2038 |
|
} |
2039 |
|
}; |
2040 |
107 |
desc.setHandler(handler); |
2041 |
107 |
desc.setMultivalued(false); |
2042 |
107 |
addFieldDescriptor(desc); |
2043 |
|
|
2044 |
|
|
2045 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2046 |
|
{ |
2047 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2048 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2049 |
107 |
fieldValidator.setValidator(typeValidator); |
2050 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2051 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2052 |
|
} |
2053 |
107 |
desc.setValidator(fieldValidator); |
2054 |
|
|
2055 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2056 |
|
java.lang.Integer.TYPE, "_textCol2", "textCol2", |
2057 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2058 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2059 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2060 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2061 |
|
throws IllegalStateException |
2062 |
|
{ |
2063 |
38 |
Viewport target = (Viewport) object; |
2064 |
38 |
if (!target.hasTextCol2()) |
2065 |
|
{ |
2066 |
0 |
return null; |
2067 |
|
} |
2068 |
38 |
return new java.lang.Integer(target.getTextCol2()); |
2069 |
|
} |
2070 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2071 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2072 |
|
throws IllegalStateException, IllegalArgumentException |
2073 |
|
{ |
2074 |
69 |
try |
2075 |
|
{ |
2076 |
69 |
Viewport target = (Viewport) object; |
2077 |
|
|
2078 |
69 |
if (value == null) |
2079 |
|
{ |
2080 |
0 |
target.deleteTextCol2(); |
2081 |
0 |
return; |
2082 |
|
} |
2083 |
69 |
target.setTextCol2(((java.lang.Integer) value).intValue()); |
2084 |
|
} catch (java.lang.Exception ex) |
2085 |
|
{ |
2086 |
0 |
throw new IllegalStateException(ex.toString()); |
2087 |
|
} |
2088 |
|
} |
2089 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2090 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2091 |
|
{ |
2092 |
0 |
return null; |
2093 |
|
} |
2094 |
|
}; |
2095 |
107 |
desc.setHandler(handler); |
2096 |
107 |
desc.setMultivalued(false); |
2097 |
107 |
addFieldDescriptor(desc); |
2098 |
|
|
2099 |
|
|
2100 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2101 |
|
{ |
2102 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2103 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2104 |
107 |
fieldValidator.setValidator(typeValidator); |
2105 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2106 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2107 |
|
} |
2108 |
107 |
desc.setValidator(fieldValidator); |
2109 |
|
|
2110 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2111 |
|
java.lang.Integer.TYPE, "_textColThreshold", |
2112 |
|
"textColThreshold", org.exolab.castor.xml.NodeType.Attribute); |
2113 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2114 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2115 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2116 |
|
throws IllegalStateException |
2117 |
|
{ |
2118 |
38 |
Viewport target = (Viewport) object; |
2119 |
38 |
if (!target.hasTextColThreshold()) |
2120 |
|
{ |
2121 |
0 |
return null; |
2122 |
|
} |
2123 |
38 |
return new java.lang.Integer(target.getTextColThreshold()); |
2124 |
|
} |
2125 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2126 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2127 |
|
throws IllegalStateException, IllegalArgumentException |
2128 |
|
{ |
2129 |
69 |
try |
2130 |
|
{ |
2131 |
69 |
Viewport target = (Viewport) object; |
2132 |
|
|
2133 |
69 |
if (value == null) |
2134 |
|
{ |
2135 |
0 |
target.deleteTextColThreshold(); |
2136 |
0 |
return; |
2137 |
|
} |
2138 |
69 |
target.setTextColThreshold(((java.lang.Integer) value).intValue()); |
2139 |
|
} catch (java.lang.Exception ex) |
2140 |
|
{ |
2141 |
0 |
throw new IllegalStateException(ex.toString()); |
2142 |
|
} |
2143 |
|
} |
2144 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2145 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2146 |
|
{ |
2147 |
0 |
return null; |
2148 |
|
} |
2149 |
|
}; |
2150 |
107 |
desc.setHandler(handler); |
2151 |
107 |
desc.setMultivalued(false); |
2152 |
107 |
addFieldDescriptor(desc); |
2153 |
|
|
2154 |
|
|
2155 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2156 |
|
{ |
2157 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2158 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2159 |
107 |
fieldValidator.setValidator(typeValidator); |
2160 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2161 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2162 |
|
} |
2163 |
107 |
desc.setValidator(fieldValidator); |
2164 |
|
|
2165 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2166 |
|
java.lang.String.class, "_id", "id", |
2167 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2168 |
107 |
super.setIdentity(desc); |
2169 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2170 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
2171 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2172 |
|
throws IllegalStateException |
2173 |
|
{ |
2174 |
38 |
Viewport target = (Viewport) object; |
2175 |
38 |
return target.getId(); |
2176 |
|
} |
2177 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2178 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2179 |
|
throws IllegalStateException, IllegalArgumentException |
2180 |
|
{ |
2181 |
69 |
try |
2182 |
|
{ |
2183 |
69 |
Viewport target = (Viewport) object; |
2184 |
69 |
target.setId((java.lang.String) value); |
2185 |
|
} catch (java.lang.Exception ex) |
2186 |
|
{ |
2187 |
0 |
throw new IllegalStateException(ex.toString()); |
2188 |
|
} |
2189 |
|
} |
2190 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2191 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2192 |
|
{ |
2193 |
0 |
return new java.lang.String(); |
2194 |
|
} |
2195 |
|
}; |
2196 |
107 |
desc.setHandler(handler); |
2197 |
107 |
desc.setMultivalued(false); |
2198 |
107 |
addFieldDescriptor(desc); |
2199 |
|
|
2200 |
|
|
2201 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2202 |
|
{ |
2203 |
107 |
org.exolab.castor.xml.validators.IdValidator typeValidator; |
2204 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IdValidator(); |
2205 |
107 |
fieldValidator.setValidator(typeValidator); |
2206 |
|
} |
2207 |
107 |
desc.setValidator(fieldValidator); |
2208 |
|
|
2209 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2210 |
|
java.lang.String.class, "_complementId", "complementId", |
2211 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2212 |
107 |
desc.setImmutable(true); |
2213 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2214 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
2215 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2216 |
|
throws IllegalStateException |
2217 |
|
{ |
2218 |
38 |
Viewport target = (Viewport) object; |
2219 |
38 |
return target.getComplementId(); |
2220 |
|
} |
2221 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2222 |
0 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2223 |
|
throws IllegalStateException, IllegalArgumentException |
2224 |
|
{ |
2225 |
0 |
try |
2226 |
|
{ |
2227 |
0 |
Viewport target = (Viewport) object; |
2228 |
0 |
target.setComplementId((java.lang.String) value); |
2229 |
|
} catch (java.lang.Exception ex) |
2230 |
|
{ |
2231 |
0 |
throw new IllegalStateException(ex.toString()); |
2232 |
|
} |
2233 |
|
} |
2234 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2235 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2236 |
|
{ |
2237 |
0 |
return null; |
2238 |
|
} |
2239 |
|
}; |
2240 |
107 |
desc.setHandler(handler); |
2241 |
107 |
desc.setMultivalued(false); |
2242 |
107 |
addFieldDescriptor(desc); |
2243 |
|
|
2244 |
|
|
2245 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2246 |
|
{ |
2247 |
107 |
org.exolab.castor.xml.validators.StringValidator typeValidator; |
2248 |
107 |
typeValidator = new org.exolab.castor.xml.validators.StringValidator(); |
2249 |
107 |
fieldValidator.setValidator(typeValidator); |
2250 |
107 |
typeValidator.setWhiteSpace("preserve"); |
2251 |
|
} |
2252 |
107 |
desc.setValidator(fieldValidator); |
2253 |
|
|
2254 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2255 |
|
java.lang.Integer.TYPE, "_width", "width", |
2256 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2257 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2258 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2259 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2260 |
|
throws IllegalStateException |
2261 |
|
{ |
2262 |
38 |
Viewport target = (Viewport) object; |
2263 |
38 |
if (!target.hasWidth()) |
2264 |
|
{ |
2265 |
0 |
return null; |
2266 |
|
} |
2267 |
38 |
return new java.lang.Integer(target.getWidth()); |
2268 |
|
} |
2269 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2270 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2271 |
|
throws IllegalStateException, IllegalArgumentException |
2272 |
|
{ |
2273 |
69 |
try |
2274 |
|
{ |
2275 |
69 |
Viewport target = (Viewport) object; |
2276 |
|
|
2277 |
69 |
if (value == null) |
2278 |
|
{ |
2279 |
0 |
target.deleteWidth(); |
2280 |
0 |
return; |
2281 |
|
} |
2282 |
69 |
target.setWidth(((java.lang.Integer) value).intValue()); |
2283 |
|
} catch (java.lang.Exception ex) |
2284 |
|
{ |
2285 |
0 |
throw new IllegalStateException(ex.toString()); |
2286 |
|
} |
2287 |
|
} |
2288 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2289 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2290 |
|
{ |
2291 |
0 |
return null; |
2292 |
|
} |
2293 |
|
}; |
2294 |
107 |
desc.setHandler(handler); |
2295 |
107 |
desc.setMultivalued(false); |
2296 |
107 |
addFieldDescriptor(desc); |
2297 |
|
|
2298 |
|
|
2299 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2300 |
|
{ |
2301 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2302 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2303 |
107 |
fieldValidator.setValidator(typeValidator); |
2304 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2305 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2306 |
|
} |
2307 |
107 |
desc.setValidator(fieldValidator); |
2308 |
|
|
2309 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2310 |
|
java.lang.Integer.TYPE, "_height", "height", |
2311 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2312 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2313 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2314 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2315 |
|
throws IllegalStateException |
2316 |
|
{ |
2317 |
38 |
Viewport target = (Viewport) object; |
2318 |
38 |
if (!target.hasHeight()) |
2319 |
|
{ |
2320 |
0 |
return null; |
2321 |
|
} |
2322 |
38 |
return new java.lang.Integer(target.getHeight()); |
2323 |
|
} |
2324 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2325 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2326 |
|
throws IllegalStateException, IllegalArgumentException |
2327 |
|
{ |
2328 |
69 |
try |
2329 |
|
{ |
2330 |
69 |
Viewport target = (Viewport) object; |
2331 |
|
|
2332 |
69 |
if (value == null) |
2333 |
|
{ |
2334 |
0 |
target.deleteHeight(); |
2335 |
0 |
return; |
2336 |
|
} |
2337 |
69 |
target.setHeight(((java.lang.Integer) value).intValue()); |
2338 |
|
} catch (java.lang.Exception ex) |
2339 |
|
{ |
2340 |
0 |
throw new IllegalStateException(ex.toString()); |
2341 |
|
} |
2342 |
|
} |
2343 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2344 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2345 |
|
{ |
2346 |
0 |
return null; |
2347 |
|
} |
2348 |
|
}; |
2349 |
107 |
desc.setHandler(handler); |
2350 |
107 |
desc.setMultivalued(false); |
2351 |
107 |
addFieldDescriptor(desc); |
2352 |
|
|
2353 |
|
|
2354 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2355 |
|
{ |
2356 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2357 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2358 |
107 |
fieldValidator.setValidator(typeValidator); |
2359 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2360 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2361 |
|
} |
2362 |
107 |
desc.setValidator(fieldValidator); |
2363 |
|
|
2364 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2365 |
|
java.lang.Integer.TYPE, "_xpos", "xpos", |
2366 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2367 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2368 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2369 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2370 |
|
throws IllegalStateException |
2371 |
|
{ |
2372 |
38 |
Viewport target = (Viewport) object; |
2373 |
38 |
if (!target.hasXpos()) |
2374 |
|
{ |
2375 |
0 |
return null; |
2376 |
|
} |
2377 |
38 |
return new java.lang.Integer(target.getXpos()); |
2378 |
|
} |
2379 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2380 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2381 |
|
throws IllegalStateException, IllegalArgumentException |
2382 |
|
{ |
2383 |
69 |
try |
2384 |
|
{ |
2385 |
69 |
Viewport target = (Viewport) object; |
2386 |
|
|
2387 |
69 |
if (value == null) |
2388 |
|
{ |
2389 |
0 |
target.deleteXpos(); |
2390 |
0 |
return; |
2391 |
|
} |
2392 |
69 |
target.setXpos(((java.lang.Integer) value).intValue()); |
2393 |
|
} catch (java.lang.Exception ex) |
2394 |
|
{ |
2395 |
0 |
throw new IllegalStateException(ex.toString()); |
2396 |
|
} |
2397 |
|
} |
2398 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2399 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2400 |
|
{ |
2401 |
0 |
return null; |
2402 |
|
} |
2403 |
|
}; |
2404 |
107 |
desc.setHandler(handler); |
2405 |
107 |
desc.setMultivalued(false); |
2406 |
107 |
addFieldDescriptor(desc); |
2407 |
|
|
2408 |
|
|
2409 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2410 |
|
{ |
2411 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2412 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2413 |
107 |
fieldValidator.setValidator(typeValidator); |
2414 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2415 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2416 |
|
} |
2417 |
107 |
desc.setValidator(fieldValidator); |
2418 |
|
|
2419 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2420 |
|
java.lang.Integer.TYPE, "_ypos", "ypos", |
2421 |
|
org.exolab.castor.xml.NodeType.Attribute); |
2422 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2423 |
|
{ |
|
|
| 66.7% |
Uncovered Elements: 2 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2424 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2425 |
|
throws IllegalStateException |
2426 |
|
{ |
2427 |
38 |
Viewport target = (Viewport) object; |
2428 |
38 |
if (!target.hasYpos()) |
2429 |
|
{ |
2430 |
0 |
return null; |
2431 |
|
} |
2432 |
38 |
return new java.lang.Integer(target.getYpos()); |
2433 |
|
} |
2434 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 3 |
Complexity Density: 0.43 |
|
2435 |
69 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2436 |
|
throws IllegalStateException, IllegalArgumentException |
2437 |
|
{ |
2438 |
69 |
try |
2439 |
|
{ |
2440 |
69 |
Viewport target = (Viewport) object; |
2441 |
|
|
2442 |
69 |
if (value == null) |
2443 |
|
{ |
2444 |
0 |
target.deleteYpos(); |
2445 |
0 |
return; |
2446 |
|
} |
2447 |
69 |
target.setYpos(((java.lang.Integer) value).intValue()); |
2448 |
|
} catch (java.lang.Exception ex) |
2449 |
|
{ |
2450 |
0 |
throw new IllegalStateException(ex.toString()); |
2451 |
|
} |
2452 |
|
} |
2453 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2454 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2455 |
|
{ |
2456 |
0 |
return null; |
2457 |
|
} |
2458 |
|
}; |
2459 |
107 |
desc.setHandler(handler); |
2460 |
107 |
desc.setMultivalued(false); |
2461 |
107 |
addFieldDescriptor(desc); |
2462 |
|
|
2463 |
|
|
2464 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2465 |
|
{ |
2466 |
107 |
org.exolab.castor.xml.validators.IntValidator typeValidator; |
2467 |
107 |
typeValidator = new org.exolab.castor.xml.validators.IntValidator(); |
2468 |
107 |
fieldValidator.setValidator(typeValidator); |
2469 |
107 |
typeValidator.setMinInclusive(-2147483648); |
2470 |
107 |
typeValidator.setMaxInclusive(2147483647); |
2471 |
|
} |
2472 |
107 |
desc.setValidator(fieldValidator); |
2473 |
|
|
2474 |
|
|
2475 |
|
|
2476 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2477 |
|
jalview.schemabinding.version2.AnnotationColours.class, |
2478 |
|
"_annotationColours", "AnnotationColours", |
2479 |
|
org.exolab.castor.xml.NodeType.Element); |
2480 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2481 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
2482 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2483 |
|
throws IllegalStateException |
2484 |
|
{ |
2485 |
38 |
Viewport target = (Viewport) object; |
2486 |
38 |
return target.getAnnotationColours(); |
2487 |
|
} |
2488 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2489 |
1 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2490 |
|
throws IllegalStateException, IllegalArgumentException |
2491 |
|
{ |
2492 |
1 |
try |
2493 |
|
{ |
2494 |
1 |
Viewport target = (Viewport) object; |
2495 |
1 |
target.setAnnotationColours((jalview.schemabinding.version2.AnnotationColours) value); |
2496 |
|
} catch (java.lang.Exception ex) |
2497 |
|
{ |
2498 |
0 |
throw new IllegalStateException(ex.toString()); |
2499 |
|
} |
2500 |
|
} |
2501 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2502 |
1 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2503 |
|
{ |
2504 |
1 |
return new jalview.schemabinding.version2.AnnotationColours(); |
2505 |
|
} |
2506 |
|
}; |
2507 |
107 |
desc.setHandler(handler); |
2508 |
107 |
desc.setNameSpaceURI("www.jalview.org"); |
2509 |
107 |
desc.setMultivalued(false); |
2510 |
107 |
addFieldDescriptor(desc); |
2511 |
|
|
2512 |
|
|
2513 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2514 |
|
{ |
2515 |
|
} |
2516 |
107 |
desc.setValidator(fieldValidator); |
2517 |
|
|
2518 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2519 |
|
jalview.schemabinding.version2.HiddenColumns.class, |
2520 |
|
"_hiddenColumnsList", "hiddenColumns", |
2521 |
|
org.exolab.castor.xml.NodeType.Element); |
2522 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2523 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
2524 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2525 |
|
throws IllegalStateException |
2526 |
|
{ |
2527 |
38 |
Viewport target = (Viewport) object; |
2528 |
38 |
return target.getHiddenColumns(); |
2529 |
|
} |
2530 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2531 |
36 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2532 |
|
throws IllegalStateException, IllegalArgumentException |
2533 |
|
{ |
2534 |
36 |
try |
2535 |
|
{ |
2536 |
36 |
Viewport target = (Viewport) object; |
2537 |
36 |
target.addHiddenColumns((jalview.schemabinding.version2.HiddenColumns) value); |
2538 |
|
} catch (java.lang.Exception ex) |
2539 |
|
{ |
2540 |
0 |
throw new IllegalStateException(ex.toString()); |
2541 |
|
} |
2542 |
|
} |
2543 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2544 |
0 |
public void resetValue(Object object) throws IllegalStateException,... |
2545 |
|
IllegalArgumentException |
2546 |
|
{ |
2547 |
0 |
try |
2548 |
|
{ |
2549 |
0 |
Viewport target = (Viewport) object; |
2550 |
0 |
target.removeAllHiddenColumns(); |
2551 |
|
} catch (java.lang.Exception ex) |
2552 |
|
{ |
2553 |
0 |
throw new IllegalStateException(ex.toString()); |
2554 |
|
} |
2555 |
|
} |
2556 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2557 |
36 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2558 |
|
{ |
2559 |
36 |
return new jalview.schemabinding.version2.HiddenColumns(); |
2560 |
|
} |
2561 |
|
}; |
2562 |
107 |
desc.setHandler(handler); |
2563 |
107 |
desc.setNameSpaceURI("www.jalview.org"); |
2564 |
107 |
desc.setMultivalued(true); |
2565 |
107 |
addFieldDescriptor(desc); |
2566 |
|
|
2567 |
|
|
2568 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2569 |
107 |
fieldValidator.setMinOccurs(0); |
2570 |
|
{ |
2571 |
|
} |
2572 |
107 |
desc.setValidator(fieldValidator); |
2573 |
|
|
2574 |
107 |
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl( |
2575 |
|
jalview.schemabinding.version2.CalcIdParam.class, |
2576 |
|
"_calcIdParamList", "calcIdParam", |
2577 |
|
org.exolab.castor.xml.NodeType.Element); |
2578 |
107 |
handler = new org.exolab.castor.xml.XMLFieldHandler() |
2579 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
2580 |
38 |
public java.lang.Object getValue(java.lang.Object object)... |
2581 |
|
throws IllegalStateException |
2582 |
|
{ |
2583 |
38 |
Viewport target = (Viewport) object; |
2584 |
38 |
return target.getCalcIdParam(); |
2585 |
|
} |
2586 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2587 |
0 |
public void setValue(java.lang.Object object, java.lang.Object value)... |
2588 |
|
throws IllegalStateException, IllegalArgumentException |
2589 |
|
{ |
2590 |
0 |
try |
2591 |
|
{ |
2592 |
0 |
Viewport target = (Viewport) object; |
2593 |
0 |
target.addCalcIdParam((jalview.schemabinding.version2.CalcIdParam) value); |
2594 |
|
} catch (java.lang.Exception ex) |
2595 |
|
{ |
2596 |
0 |
throw new IllegalStateException(ex.toString()); |
2597 |
|
} |
2598 |
|
} |
2599 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2600 |
0 |
public void resetValue(Object object) throws IllegalStateException,... |
2601 |
|
IllegalArgumentException |
2602 |
|
{ |
2603 |
0 |
try |
2604 |
|
{ |
2605 |
0 |
Viewport target = (Viewport) object; |
2606 |
0 |
target.removeAllCalcIdParam(); |
2607 |
|
} catch (java.lang.Exception ex) |
2608 |
|
{ |
2609 |
0 |
throw new IllegalStateException(ex.toString()); |
2610 |
|
} |
2611 |
|
} |
2612 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2613 |
0 |
public java.lang.Object newInstance(java.lang.Object parent)... |
2614 |
|
{ |
2615 |
0 |
return new jalview.schemabinding.version2.CalcIdParam(); |
2616 |
|
} |
2617 |
|
}; |
2618 |
107 |
desc.setHandler(handler); |
2619 |
107 |
desc.setNameSpaceURI("www.jalview.org"); |
2620 |
107 |
desc.setMultivalued(true); |
2621 |
107 |
addFieldDescriptor(desc); |
2622 |
|
|
2623 |
|
|
2624 |
107 |
fieldValidator = new org.exolab.castor.xml.FieldValidator(); |
2625 |
107 |
fieldValidator.setMinOccurs(0); |
2626 |
|
{ |
2627 |
|
} |
2628 |
107 |
desc.setValidator(fieldValidator); |
2629 |
|
} |
2630 |
|
|
2631 |
|
|
2632 |
|
|
2633 |
|
|
2634 |
|
|
2635 |
|
|
2636 |
|
|
2637 |
|
|
2638 |
|
@return |
2639 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2640 |
0 |
public org.exolab.castor.mapping.AccessMode getAccessMode()... |
2641 |
|
{ |
2642 |
0 |
return null; |
2643 |
|
} |
2644 |
|
|
2645 |
|
|
2646 |
|
|
2647 |
|
|
2648 |
|
@return |
2649 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2650 |
2766 |
public org.exolab.castor.mapping.FieldDescriptor getIdentity()... |
2651 |
|
{ |
2652 |
2766 |
return super.getIdentity(); |
2653 |
|
} |
2654 |
|
|
2655 |
|
|
2656 |
|
|
2657 |
|
|
2658 |
|
@return |
2659 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2660 |
88 |
public java.lang.Class getJavaClass()... |
2661 |
|
{ |
2662 |
88 |
return jalview.schemabinding.version2.Viewport.class; |
2663 |
|
} |
2664 |
|
|
2665 |
|
|
2666 |
|
|
2667 |
|
|
2668 |
|
@return |
2669 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2670 |
19 |
public java.lang.String getNameSpacePrefix()... |
2671 |
|
{ |
2672 |
19 |
return _nsPrefix; |
2673 |
|
} |
2674 |
|
|
2675 |
|
|
2676 |
|
|
2677 |
|
|
2678 |
|
@return |
2679 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2680 |
0 |
public java.lang.String getNameSpaceURI()... |
2681 |
|
{ |
2682 |
0 |
return _nsURI; |
2683 |
|
} |
2684 |
|
|
2685 |
|
|
2686 |
|
|
2687 |
|
|
2688 |
|
@return |
2689 |
|
|
2690 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2691 |
19 |
public org.exolab.castor.xml.TypeValidator getValidator()... |
2692 |
|
{ |
2693 |
19 |
return this; |
2694 |
|
} |
2695 |
|
|
2696 |
|
|
2697 |
|
|
2698 |
|
|
2699 |
|
@return |
2700 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2701 |
214 |
public java.lang.String getXMLName()... |
2702 |
|
{ |
2703 |
214 |
return _xmlName; |
2704 |
|
} |
2705 |
|
|
2706 |
|
|
2707 |
|
|
2708 |
|
|
2709 |
|
@return |
2710 |
|
|
2711 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2712 |
0 |
public boolean isElementDefinition()... |
2713 |
|
{ |
2714 |
0 |
return _elementDefinition; |
2715 |
|
} |
2716 |
|
|
2717 |
|
} |