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 |
|
|
|
|
| 93.8% |
Uncovered Elements: 1 (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 |
59 |
public GeneLocus(String speciesId, String assemblyId, String chromosomeId,... |
52 |
|
Mapping mapping) |
53 |
|
{ |
54 |
59 |
super(speciesId, assemblyId, chromosomeId, mapping); |
55 |
|
} |
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
@param |
61 |
|
@param |
62 |
|
@param |
63 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
23 |
public GeneLocus(String speciesId, String assemblyId, String chromosomeId)... |
65 |
|
{ |
66 |
23 |
this(speciesId, assemblyId, chromosomeId, null); |
67 |
|
} |
68 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
2 |
@Override... |
70 |
|
public boolean equals(Object o) |
71 |
|
{ |
72 |
2 |
return o instanceof GeneLocus && super.equals(o); |
73 |
|
} |
74 |
|
|
|
|
| 66.7% |
Uncovered Elements: 1 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
75 |
35 |
@Override... |
76 |
|
public MapList getMapping() |
77 |
|
{ |
78 |
35 |
return map == null ? null : map.getMap(); |
79 |
|
} |
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
34 |
@Override... |
86 |
|
public String getSpeciesId() |
87 |
|
{ |
88 |
34 |
return getSource(); |
89 |
|
} |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
35 |
@Override... |
96 |
|
public String getAssemblyId() |
97 |
|
{ |
98 |
35 |
return getVersion(); |
99 |
|
} |
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
105 |
35 |
@Override... |
106 |
|
public String getChromosomeId() |
107 |
|
{ |
108 |
35 |
return getAccessionId(); |
109 |
|
} |
110 |
|
|
111 |
|
} |