1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
package jalview.xml.binding.jalview; |
9 |
|
|
10 |
|
import javax.xml.bind.annotation.XmlAccessType; |
11 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
12 |
|
import javax.xml.bind.annotation.XmlAttribute; |
13 |
|
import javax.xml.bind.annotation.XmlRootElement; |
14 |
|
import javax.xml.bind.annotation.XmlType; |
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
43 |
|
@XmlType( |
44 |
|
name = "", |
45 |
|
propOrder = |
46 |
|
{ "displayCharacter", "description", "secondaryStructure", "value" }) |
47 |
|
@XmlRootElement(name = "annotationElement") |
|
|
| 100% |
Uncovered Elements: 0 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
48 |
|
public class AnnotationElement |
49 |
|
{ |
50 |
|
|
51 |
|
protected String displayCharacter; |
52 |
|
|
53 |
|
protected String description; |
54 |
|
|
55 |
|
protected String secondaryStructure; |
56 |
|
|
57 |
|
protected Float value; |
58 |
|
|
59 |
|
@XmlAttribute(name = "position", required = true) |
60 |
|
protected int position; |
61 |
|
|
62 |
|
@XmlAttribute(name = "colour") |
63 |
|
protected Integer colour; |
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
@return@link |
69 |
|
|
70 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
270549 |
public String getDisplayCharacter()... |
72 |
|
{ |
73 |
270549 |
return displayCharacter; |
74 |
|
} |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
@param |
80 |
|
@link |
81 |
|
|
82 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
41244 |
public void setDisplayCharacter(String value)... |
84 |
|
{ |
85 |
41244 |
this.displayCharacter = value; |
86 |
|
} |
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
@return@link |
92 |
|
|
93 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
270549 |
public String getDescription()... |
95 |
|
{ |
96 |
270549 |
return description; |
97 |
|
} |
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
@param |
103 |
|
@link |
104 |
|
|
105 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
40922 |
public void setDescription(String value)... |
107 |
|
{ |
108 |
40922 |
this.description = value; |
109 |
|
} |
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
@return@link |
115 |
|
|
116 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
117 |
283869 |
public String getSecondaryStructure()... |
118 |
|
{ |
119 |
283869 |
return secondaryStructure; |
120 |
|
} |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
@param |
126 |
|
@link |
127 |
|
|
128 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
129 |
6548 |
public void setSecondaryStructure(String value)... |
130 |
|
{ |
131 |
6548 |
this.secondaryStructure = value; |
132 |
|
} |
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
@return@link |
138 |
|
|
139 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
140 |
270549 |
public Float getValue()... |
141 |
|
{ |
142 |
270549 |
return value; |
143 |
|
} |
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
@param |
149 |
|
@link |
150 |
|
|
151 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
152 |
43706 |
public void setValue(Float value)... |
153 |
|
{ |
154 |
43706 |
this.value = value; |
155 |
|
} |
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
161 |
270549 |
public int getPosition()... |
162 |
|
{ |
163 |
270549 |
return position; |
164 |
|
} |
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
45410 |
public void setPosition(int value)... |
171 |
|
{ |
172 |
45410 |
this.position = value; |
173 |
|
} |
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
@return@link |
179 |
|
|
180 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
181 |
270549 |
public Integer getColour()... |
182 |
|
{ |
183 |
270549 |
return colour; |
184 |
|
} |
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
@param |
190 |
|
@link |
191 |
|
|
192 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
193 |
24382 |
public void setColour(Integer value)... |
194 |
|
{ |
195 |
24382 |
this.colour = value; |
196 |
|
} |
197 |
|
|
198 |
|
} |