1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package jalview.xml.binding.jalview; |
10 |
|
|
11 |
|
import java.math.BigInteger; |
12 |
|
import java.util.ArrayList; |
13 |
|
import java.util.List; |
14 |
|
import javax.xml.bind.annotation.XmlAccessType; |
15 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
16 |
|
import javax.xml.bind.annotation.XmlAttribute; |
17 |
|
import javax.xml.bind.annotation.XmlSchemaType; |
18 |
|
import javax.xml.bind.annotation.XmlSeeAlso; |
19 |
|
import javax.xml.bind.annotation.XmlType; |
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 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
67 |
|
@XmlType(name = "mapListType", propOrder = { |
68 |
|
"mapListFrom", |
69 |
|
"mapListTo" |
70 |
|
}) |
71 |
|
@XmlSeeAlso({ |
72 |
|
Mapping.class |
73 |
|
}) |
|
|
| 100% |
Uncovered Elements: 0 (20) |
Complexity: 8 |
Complexity Density: 0.8 |
|
74 |
|
public class MapListType { |
75 |
|
|
76 |
|
protected List<MapListType.MapListFrom> mapListFrom; |
77 |
|
protected List<MapListType.MapListTo> mapListTo; |
78 |
|
@XmlAttribute(name = "mapFromUnit", required = true) |
79 |
|
@XmlSchemaType(name = "positiveInteger") |
80 |
|
protected BigInteger mapFromUnit; |
81 |
|
@XmlAttribute(name = "mapToUnit", required = true) |
82 |
|
@XmlSchemaType(name = "positiveInteger") |
83 |
|
protected BigInteger mapToUnit; |
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
@link |
104 |
|
|
105 |
|
|
106 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
107 |
94 |
public List<MapListType.MapListFrom> getMapListFrom() {... |
108 |
94 |
if (mapListFrom == null) { |
109 |
2 |
mapListFrom = new ArrayList<MapListType.MapListFrom>(); |
110 |
|
} |
111 |
94 |
return this.mapListFrom; |
112 |
|
} |
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
@link |
133 |
|
|
134 |
|
|
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
136 |
94 |
public List<MapListType.MapListTo> getMapListTo() {... |
137 |
94 |
if (mapListTo == null) { |
138 |
2 |
mapListTo = new ArrayList<MapListType.MapListTo>(); |
139 |
|
} |
140 |
94 |
return this.mapListTo; |
141 |
|
} |
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
@return |
147 |
|
|
148 |
|
@link |
149 |
|
|
150 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
46 |
public BigInteger getMapFromUnit() {... |
152 |
46 |
return mapFromUnit; |
153 |
|
} |
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
@param |
159 |
|
|
160 |
|
@link |
161 |
|
|
162 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
163 |
2 |
public void setMapFromUnit(BigInteger value) {... |
164 |
2 |
this.mapFromUnit = value; |
165 |
|
} |
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
@return |
171 |
|
|
172 |
|
@link |
173 |
|
|
174 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
175 |
46 |
public BigInteger getMapToUnit() {... |
176 |
46 |
return mapToUnit; |
177 |
|
} |
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
@param |
183 |
|
|
184 |
|
@link |
185 |
|
|
186 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
187 |
2 |
public void setMapToUnit(BigInteger value) {... |
188 |
2 |
this.mapToUnit = value; |
189 |
|
} |
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
|
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
211 |
|
@XmlType(name = "") |
|
|
| 100% |
Uncovered Elements: 0 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
212 |
|
public static class MapListFrom { |
213 |
|
|
214 |
|
@XmlAttribute(name = "start", required = true) |
215 |
|
protected int start; |
216 |
|
@XmlAttribute(name = "end", required = true) |
217 |
|
protected int end; |
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
223 |
46 |
public int getStart() {... |
224 |
46 |
return start; |
225 |
|
} |
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
231 |
2 |
public void setStart(int value) {... |
232 |
2 |
this.start = value; |
233 |
|
} |
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
239 |
46 |
public int getEnd() {... |
240 |
46 |
return end; |
241 |
|
} |
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
247 |
2 |
public void setEnd(int value) {... |
248 |
2 |
this.end = value; |
249 |
|
} |
250 |
|
|
251 |
|
} |
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
273 |
|
@XmlType(name = "") |
|
|
| 100% |
Uncovered Elements: 0 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
274 |
|
public static class MapListTo { |
275 |
|
|
276 |
|
@XmlAttribute(name = "start", required = true) |
277 |
|
protected int start; |
278 |
|
@XmlAttribute(name = "end", required = true) |
279 |
|
protected int end; |
280 |
|
|
281 |
|
|
282 |
|
|
283 |
|
|
284 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
285 |
267 |
public int getStart() {... |
286 |
267 |
return start; |
287 |
|
} |
288 |
|
|
289 |
|
|
290 |
|
|
291 |
|
|
292 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
293 |
2 |
public void setStart(int value) {... |
294 |
2 |
this.start = value; |
295 |
|
} |
296 |
|
|
297 |
|
|
298 |
|
|
299 |
|
|
300 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
301 |
267 |
public int getEnd() {... |
302 |
267 |
return end; |
303 |
|
} |
304 |
|
|
305 |
|
|
306 |
|
|
307 |
|
|
308 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
309 |
2 |
public void setEnd(int value) {... |
310 |
2 |
this.end = value; |
311 |
|
} |
312 |
|
|
313 |
|
} |
314 |
|
|
315 |
|
} |