1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
package jalview.schemabinding.version2; |
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
import org.exolab.castor.xml.Marshaller; |
15 |
|
import org.exolab.castor.xml.Unmarshaller; |
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
@version |
21 |
|
|
|
|
| 47.1% |
Uncovered Elements: 18 (34) |
Complexity: 15 |
Complexity Density: 0.75 |
|
22 |
|
public class HiddenColumns implements java.io.Serializable |
23 |
|
{ |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
private int _start; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
private boolean _has_start; |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
private int _end; |
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
private boolean _has_end; |
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
53 |
42 |
public HiddenColumns()... |
54 |
|
{ |
55 |
42 |
super(); |
56 |
|
} |
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0 |
public void deleteEnd()... |
65 |
|
{ |
66 |
0 |
this._has_end = false; |
67 |
|
} |
68 |
|
|
69 |
|
|
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0 |
public void deleteStart()... |
72 |
|
{ |
73 |
0 |
this._has_start = false; |
74 |
|
} |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
@return |
80 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
48 |
public int getEnd()... |
82 |
|
{ |
83 |
48 |
return this._end; |
84 |
|
} |
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
@return |
90 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
48 |
public int getStart()... |
92 |
|
{ |
93 |
48 |
return this._start; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
@return |
100 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
101 |
12 |
public boolean hasEnd()... |
102 |
|
{ |
103 |
12 |
return this._has_end; |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
@return |
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
12 |
public boolean hasStart()... |
112 |
|
{ |
113 |
12 |
return this._has_start; |
114 |
|
} |
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
@return |
120 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
121 |
0 |
public boolean isValid()... |
122 |
|
{ |
123 |
0 |
try |
124 |
|
{ |
125 |
0 |
validate(); |
126 |
|
} catch (org.exolab.castor.xml.ValidationException vex) |
127 |
|
{ |
128 |
0 |
return false; |
129 |
|
} |
130 |
0 |
return true; |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
@param |
137 |
|
@throws |
138 |
|
|
139 |
|
|
140 |
|
@throws |
141 |
|
|
142 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
143 |
0 |
public void marshal(final java.io.Writer out)... |
144 |
|
throws org.exolab.castor.xml.MarshalException, |
145 |
|
org.exolab.castor.xml.ValidationException |
146 |
|
{ |
147 |
0 |
Marshaller.marshal(this, out); |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
@param |
154 |
|
@throws |
155 |
|
|
156 |
|
@throws |
157 |
|
|
158 |
|
@throws |
159 |
|
|
160 |
|
|
161 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
162 |
0 |
public void marshal(final org.xml.sax.ContentHandler handler)... |
163 |
|
throws java.io.IOException, |
164 |
|
org.exolab.castor.xml.MarshalException, |
165 |
|
org.exolab.castor.xml.ValidationException |
166 |
|
{ |
167 |
0 |
Marshaller.marshal(this, handler); |
168 |
|
} |
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
@param |
174 |
|
|
175 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
176 |
42 |
public void setEnd(final int end)... |
177 |
|
{ |
178 |
42 |
this._end = end; |
179 |
42 |
this._has_end = true; |
180 |
|
} |
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
@param |
186 |
|
|
187 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
188 |
42 |
public void setStart(final int start)... |
189 |
|
{ |
190 |
42 |
this._start = start; |
191 |
42 |
this._has_start = true; |
192 |
|
} |
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
@param |
198 |
|
@throws |
199 |
|
|
200 |
|
|
201 |
|
@throws |
202 |
|
|
203 |
|
@return |
204 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
205 |
0 |
public static jalview.schemabinding.version2.HiddenColumns unmarshal(... |
206 |
|
final java.io.Reader reader) |
207 |
|
throws org.exolab.castor.xml.MarshalException, |
208 |
|
org.exolab.castor.xml.ValidationException |
209 |
|
{ |
210 |
0 |
return (jalview.schemabinding.version2.HiddenColumns) Unmarshaller |
211 |
|
.unmarshal(jalview.schemabinding.version2.HiddenColumns.class, |
212 |
|
reader); |
213 |
|
} |
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
@throws |
219 |
|
|
220 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
221 |
0 |
public void validate() throws org.exolab.castor.xml.ValidationException... |
222 |
|
{ |
223 |
0 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); |
224 |
0 |
validator.validate(this); |
225 |
|
} |
226 |
|
|
227 |
|
} |