1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package jalview.xml.binding.uniprot; |
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.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 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
51 |
|
@XmlType(name = "positionType") |
|
|
| 22.2% |
Uncovered Elements: 14 (18) |
Complexity: 7 |
Complexity Density: 0.78 |
|
52 |
|
public class PositionType { |
53 |
|
|
54 |
|
@XmlAttribute(name = "position") |
55 |
|
@XmlSchemaType(name = "unsignedLong") |
56 |
|
protected BigInteger position; |
57 |
|
@XmlAttribute(name = "status") |
58 |
|
protected String status; |
59 |
|
@XmlAttribute(name = "evidence") |
60 |
|
protected List<Integer> evidence; |
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
@return |
66 |
|
|
67 |
|
@link |
68 |
|
|
69 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
49 |
public BigInteger getPosition() {... |
71 |
49 |
return position; |
72 |
|
} |
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
@param |
78 |
|
|
79 |
|
@link |
80 |
|
|
81 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
1 |
public void setPosition(BigInteger value) {... |
83 |
1 |
this.position = value; |
84 |
|
} |
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
@return |
90 |
|
|
91 |
|
@link |
92 |
|
|
93 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
94 |
0 |
public String getStatus() {... |
95 |
0 |
if (status == null) { |
96 |
0 |
return "certain"; |
97 |
|
} else { |
98 |
0 |
return status; |
99 |
|
} |
100 |
|
} |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
@param |
106 |
|
|
107 |
|
@link |
108 |
|
|
109 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
0 |
public void setStatus(String value) {... |
111 |
0 |
this.status = value; |
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 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
136 |
0 |
public List<Integer> getEvidence() {... |
137 |
0 |
if (evidence == null) { |
138 |
0 |
evidence = new ArrayList<Integer>(); |
139 |
|
} |
140 |
0 |
return this.evidence; |
141 |
|
} |
142 |
|
|
143 |
|
} |