1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package jalview.xml.binding.jalview; |
10 |
|
|
11 |
|
import java.util.ArrayList; |
12 |
|
import java.util.List; |
13 |
|
import javax.xml.bind.annotation.XmlAccessType; |
14 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
15 |
|
import javax.xml.bind.annotation.XmlAttribute; |
16 |
|
import javax.xml.bind.annotation.XmlElement; |
17 |
|
import javax.xml.bind.annotation.XmlRootElement; |
18 |
|
import javax.xml.bind.annotation.XmlType; |
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
55 |
|
@XmlType(name = "", propOrder = { |
56 |
|
"sequence", |
57 |
|
"annotation", |
58 |
|
"sequenceSetProperties", |
59 |
|
"alcodonFrame" |
60 |
|
}) |
61 |
|
@XmlRootElement(name = "SequenceSet") |
|
|
| 90.6% |
Uncovered Elements: 3 (32) |
Complexity: 12 |
Complexity Density: 0.75 |
|
62 |
|
public class SequenceSet { |
63 |
|
|
64 |
|
@XmlElement(name = "Sequence") |
65 |
|
protected List<Sequence> sequence; |
66 |
|
@XmlElement(name = "Annotation") |
67 |
|
protected List<Annotation> annotation; |
68 |
|
protected List<SequenceSet.SequenceSetProperties> sequenceSetProperties; |
69 |
|
@XmlElement(name = "AlcodonFrame") |
70 |
|
protected List<AlcodonFrame> alcodonFrame; |
71 |
|
@XmlAttribute(name = "gapChar", required = true) |
72 |
|
protected String gapChar; |
73 |
|
@XmlAttribute(name = "datasetId") |
74 |
|
protected String datasetId; |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
@link |
95 |
|
|
96 |
|
|
97 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
98 |
1309 |
public List<Sequence> getSequence() {... |
99 |
1309 |
if (sequence == null) { |
100 |
75 |
sequence = new ArrayList<Sequence>(); |
101 |
|
} |
102 |
1309 |
return this.sequence; |
103 |
|
} |
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
@link |
124 |
|
|
125 |
|
|
126 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
127 |
518 |
public List<Annotation> getAnnotation() {... |
128 |
518 |
if (annotation == null) { |
129 |
49 |
annotation = new ArrayList<Annotation>(); |
130 |
|
} |
131 |
518 |
return this.annotation; |
132 |
|
} |
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
@link |
153 |
|
|
154 |
|
|
155 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
156 |
149 |
public List<SequenceSet.SequenceSetProperties> getSequenceSetProperties() {... |
157 |
149 |
if (sequenceSetProperties == null) { |
158 |
86 |
sequenceSetProperties = new ArrayList<SequenceSet.SequenceSetProperties>(); |
159 |
|
} |
160 |
149 |
return this.sequenceSetProperties; |
161 |
|
} |
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
@link |
182 |
|
|
183 |
|
|
184 |
|
|
|
|
| 80% |
Uncovered Elements: 1 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
185 |
86 |
public List<AlcodonFrame> getAlcodonFrame() {... |
186 |
86 |
if (alcodonFrame == null) { |
187 |
86 |
alcodonFrame = new ArrayList<AlcodonFrame>(); |
188 |
|
} |
189 |
86 |
return this.alcodonFrame; |
190 |
|
} |
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
@return |
196 |
|
|
197 |
|
@link |
198 |
|
|
199 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
200 |
0 |
public String getGapChar() {... |
201 |
0 |
return gapChar; |
202 |
|
} |
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
|
207 |
|
@param |
208 |
|
|
209 |
|
@link |
210 |
|
|
211 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
212 |
45 |
public void setGapChar(String value) {... |
213 |
45 |
this.gapChar = value; |
214 |
|
} |
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
@return |
220 |
|
|
221 |
|
@link |
222 |
|
|
223 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
224 |
285 |
public String getDatasetId() {... |
225 |
285 |
return datasetId; |
226 |
|
} |
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
@param |
232 |
|
|
233 |
|
@link |
234 |
|
|
235 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
236 |
45 |
public void setDatasetId(String value) {... |
237 |
45 |
this.datasetId = value; |
238 |
|
} |
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
260 |
|
@XmlType(name = "") |
|
|
| 100% |
Uncovered Elements: 0 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
261 |
|
public static class SequenceSetProperties { |
262 |
|
|
263 |
|
@XmlAttribute(name = "key") |
264 |
|
protected String key; |
265 |
|
@XmlAttribute(name = "value") |
266 |
|
protected String value; |
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
@return |
272 |
|
|
273 |
|
@link |
274 |
|
|
275 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
276 |
21 |
public String getKey() {... |
277 |
21 |
return key; |
278 |
|
} |
279 |
|
|
280 |
|
|
281 |
|
|
282 |
|
|
283 |
|
@param |
284 |
|
|
285 |
|
@link |
286 |
|
|
287 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
288 |
21 |
public void setKey(String value) {... |
289 |
21 |
this.key = value; |
290 |
|
} |
291 |
|
|
292 |
|
|
293 |
|
|
294 |
|
|
295 |
|
@return |
296 |
|
|
297 |
|
@link |
298 |
|
|
299 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
300 |
21 |
public String getValue() {... |
301 |
21 |
return value; |
302 |
|
} |
303 |
|
|
304 |
|
|
305 |
|
|
306 |
|
|
307 |
|
@param |
308 |
|
|
309 |
|
@link |
310 |
|
|
311 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
312 |
21 |
public void setValue(String value) {... |
313 |
21 |
this.value = value; |
314 |
|
} |
315 |
|
|
316 |
|
} |
317 |
|
|
318 |
|
} |