1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.datamodel; |
22 |
|
|
23 |
|
import jalview.util.MapList; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
@author |
37 |
|
|
38 |
|
|
|
|
| 68.8% |
Uncovered Elements: 5 (16) |
Complexity: 8 |
Complexity Density: 1.14 |
|
39 |
|
public class GeneLocus extends DBRefEntry implements GeneLociI |
40 |
|
{ |
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
@param |
47 |
|
@param |
48 |
|
@param |
49 |
|
@param |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
3 |
public GeneLocus(String speciesId, String assemblyId, String chromosomeId,... |
52 |
|
Mapping mapping) |
53 |
|
{ |
54 |
3 |
super(speciesId, assemblyId, chromosomeId, mapping); |
55 |
|
} |
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
@param |
61 |
|
@param |
62 |
|
@param |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0 |
public GeneLocus(String speciesId, String assemblyId, String chromosomeId)... |
65 |
|
{ |
66 |
0 |
this(speciesId, assemblyId, chromosomeId, null); |
67 |
|
} |
68 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
0 |
@Override... |
70 |
|
public boolean equals(Object o) |
71 |
|
{ |
72 |
0 |
return o instanceof GeneLocus && super.equals(o); |
73 |
|
} |
74 |
|
|
|
|
| 66.7% |
Uncovered Elements: 1 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
75 |
3 |
@Override... |
76 |
|
public MapList getMapping() |
77 |
|
{ |
78 |
3 |
return map == null ? null : map.getMap(); |
79 |
|
} |
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
2 |
@Override... |
86 |
|
public String getSpeciesId() |
87 |
|
{ |
88 |
2 |
return getSource(); |
89 |
|
} |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
3 |
@Override... |
96 |
|
public String getAssemblyId() |
97 |
|
{ |
98 |
3 |
return getVersion(); |
99 |
|
} |
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
105 |
3 |
@Override... |
106 |
|
public String getChromosomeId() |
107 |
|
{ |
108 |
3 |
return getAccessionId(); |
109 |
|
} |
110 |
|
|
111 |
|
} |