1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package jalview.xml.binding.jalview; |
10 |
|
|
11 |
|
import javax.xml.bind.annotation.XmlAccessType; |
12 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
13 |
|
import javax.xml.bind.annotation.XmlAttribute; |
14 |
|
import javax.xml.bind.annotation.XmlRootElement; |
15 |
|
import javax.xml.bind.annotation.XmlType; |
16 |
|
|
17 |
|
|
18 |
|
|
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 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
49 |
|
@XmlType(name = "", propOrder = { |
50 |
|
"displayCharacter", |
51 |
|
"description", |
52 |
|
"secondaryStructure", |
53 |
|
"value" |
54 |
|
}) |
55 |
|
@XmlRootElement(name = "annotationElement") |
|
|
| 100% |
Uncovered Elements: 0 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
56 |
|
public class AnnotationElement { |
57 |
|
|
58 |
|
protected String displayCharacter; |
59 |
|
protected String description; |
60 |
|
protected String secondaryStructure; |
61 |
|
protected Float value; |
62 |
|
@XmlAttribute(name = "position", required = true) |
63 |
|
protected int position; |
64 |
|
@XmlAttribute(name = "colour") |
65 |
|
protected Integer colour; |
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
@return |
71 |
|
|
72 |
|
@link |
73 |
|
|
74 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
265715 |
public String getDisplayCharacter() {... |
76 |
265715 |
return displayCharacter; |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
@param |
83 |
|
|
84 |
|
@link |
85 |
|
|
86 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
35830 |
public void setDisplayCharacter(String value) {... |
88 |
35830 |
this.displayCharacter = value; |
89 |
|
} |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
@return |
95 |
|
|
96 |
|
@link |
97 |
|
|
98 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
265715 |
public String getDescription() {... |
100 |
265715 |
return description; |
101 |
|
} |
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
@param |
107 |
|
|
108 |
|
@link |
109 |
|
|
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
34908 |
public void setDescription(String value) {... |
112 |
34908 |
this.description = value; |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
@return |
119 |
|
|
120 |
|
@link |
121 |
|
|
122 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
123 |
278779 |
public String getSecondaryStructure() {... |
124 |
278779 |
return secondaryStructure; |
125 |
|
} |
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
@param |
131 |
|
|
132 |
|
@link |
133 |
|
|
134 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
135 |
6484 |
public void setSecondaryStructure(String value) {... |
136 |
6484 |
this.secondaryStructure = value; |
137 |
|
} |
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
@return |
143 |
|
|
144 |
|
@link |
145 |
|
|
146 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
147 |
265715 |
public Float getValue() {... |
148 |
265715 |
return value; |
149 |
|
} |
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
@param |
155 |
|
|
156 |
|
@link |
157 |
|
|
158 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
159 |
37623 |
public void setValue(Float value) {... |
160 |
37623 |
this.value = value; |
161 |
|
} |
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
167 |
265715 |
public int getPosition() {... |
168 |
265715 |
return position; |
169 |
|
} |
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
175 |
39327 |
public void setPosition(int value) {... |
176 |
39327 |
this.position = value; |
177 |
|
} |
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
@return |
183 |
|
|
184 |
|
@link |
185 |
|
|
186 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
187 |
265715 |
public Integer getColour() {... |
188 |
265715 |
return colour; |
189 |
|
} |
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
@param |
195 |
|
|
196 |
|
@link |
197 |
|
|
198 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
199 |
20104 |
public void setColour(Integer value) {... |
200 |
20104 |
this.colour = value; |
201 |
|
} |
202 |
|
|
203 |
|
} |