1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.json.binding.biojson.v1; |
22 |
|
|
23 |
|
import com.github.reinert.jjschema.Attributes; |
24 |
|
|
|
|
| 90% |
Uncovered Elements: 2 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
25 |
|
public class AnnotationPojo |
26 |
|
{ |
27 |
|
@Attributes( |
28 |
|
required = false, |
29 |
|
description = "Display character for the given annotation") |
30 |
|
private String displayCharacter; |
31 |
|
|
32 |
|
@Attributes( |
33 |
|
required = false, |
34 |
|
description = "Description for the annotation") |
35 |
|
private String description; |
36 |
|
|
37 |
|
@Attributes( |
38 |
|
required = true, |
39 |
|
enums = |
40 |
|
{ "E", "H", "\u0000", ")", "(" }, |
41 |
|
description = "Determines what is rendered for the secondary </br>structure <ul><li>’E’ - indicates Beta Sheet/Strand <li>’H’ - indicates alpha helix </li><li> ‘\\u0000’ - indicates blank</li></ul></br>For RNA Helix (only shown when working with</br> nucleotide sequences): <ul><li> ‘(’ - indicates bases pair with columns upstream</br> (to right) </li><li> ’(’ - indicate region pairs with bases to the left</li></ul>") |
42 |
|
private char secondaryStructure; |
43 |
|
|
44 |
|
@Attributes(required = false, description = "Value of the annotation") |
45 |
|
private float value; |
46 |
|
|
47 |
|
@Attributes( |
48 |
|
required = false, |
49 |
|
description = "Colour of the annotation position in hex string.") |
50 |
|
private String colour; |
51 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
70 |
public String getDisplayCharacter()... |
53 |
|
{ |
54 |
70 |
return displayCharacter; |
55 |
|
} |
56 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
70 |
public void setDisplayCharacter(String displayCharacter)... |
58 |
|
{ |
59 |
70 |
this.displayCharacter = displayCharacter; |
60 |
|
} |
61 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
70 |
public String getDescription()... |
63 |
|
{ |
64 |
70 |
return description; |
65 |
|
} |
66 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
70 |
public void setDescription(String description)... |
68 |
|
{ |
69 |
70 |
this.description = description; |
70 |
|
} |
71 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
70 |
public char getSecondaryStructure()... |
73 |
|
{ |
74 |
70 |
return secondaryStructure; |
75 |
|
} |
76 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
70 |
public void setSecondaryStructure(char secondaryStructure)... |
78 |
|
{ |
79 |
70 |
this.secondaryStructure = secondaryStructure; |
80 |
|
} |
81 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
70 |
public float getValue()... |
83 |
|
{ |
84 |
70 |
return value; |
85 |
|
} |
86 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
70 |
public void setValue(float value)... |
88 |
|
{ |
89 |
70 |
this.value = value; |
90 |
|
} |
91 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
70 |
public String getColour()... |
93 |
|
{ |
94 |
70 |
return colour; |
95 |
|
} |
96 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
0 |
public void setColour(String colour)... |
98 |
|
{ |
99 |
0 |
this.colour = colour; |
100 |
|
} |
101 |
|
|
102 |
|
} |