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 |
|
|
|
|
| 50% |
Uncovered Elements: 14 (28) |
Complexity: 13 |
Complexity Density: 0.81 |
|
22 |
|
public class OtherData implements java.io.Serializable { |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
private java.lang.String _key; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
private java.lang.String _key2; |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
private java.lang.String _value; |
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
28160 |
public OtherData() {... |
50 |
28160 |
super(); |
51 |
|
} |
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
@return |
62 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
13800 |
public java.lang.String getKey(... |
64 |
|
) { |
65 |
13800 |
return this._key; |
66 |
|
} |
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
@return |
74 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
11462 |
public java.lang.String getKey2(... |
76 |
|
) { |
77 |
11462 |
return this._key2; |
78 |
|
} |
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
@return |
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
13800 |
public java.lang.String getValue(... |
86 |
|
) { |
87 |
13800 |
return this._value; |
88 |
|
} |
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
@return |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
95 |
0 |
public boolean isValid(... |
96 |
|
) { |
97 |
0 |
try { |
98 |
0 |
validate(); |
99 |
|
} catch (org.exolab.castor.xml.ValidationException vex) { |
100 |
0 |
return false; |
101 |
|
} |
102 |
0 |
return true; |
103 |
|
} |
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
@param |
109 |
|
@throws |
110 |
|
|
111 |
|
@throws |
112 |
|
|
113 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
114 |
0 |
public void marshal(... |
115 |
|
final java.io.Writer out) |
116 |
|
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { |
117 |
0 |
Marshaller.marshal(this, out); |
118 |
|
} |
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
@param |
124 |
|
@throws |
125 |
|
|
126 |
|
@throws |
127 |
|
|
128 |
|
@throws |
129 |
|
|
130 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
0 |
public void marshal(... |
132 |
|
final org.xml.sax.ContentHandler handler) |
133 |
|
throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { |
134 |
0 |
Marshaller.marshal(this, handler); |
135 |
|
} |
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
@param |
141 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
142 |
28160 |
public void setKey(... |
143 |
|
final java.lang.String key) { |
144 |
28160 |
this._key = key; |
145 |
|
} |
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
@param |
153 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
40 |
public void setKey2(... |
155 |
|
final java.lang.String key2) { |
156 |
40 |
this._key2 = key2; |
157 |
|
} |
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
@param |
163 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
164 |
28160 |
public void setValue(... |
165 |
|
final java.lang.String value) { |
166 |
28160 |
this._value = value; |
167 |
|
} |
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
@param |
173 |
|
@throws |
174 |
|
|
175 |
|
@throws |
176 |
|
|
177 |
|
@return |
178 |
|
|
179 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
180 |
0 |
public static jalview.schemabinding.version2.OtherData unmarshal(... |
181 |
|
final java.io.Reader reader) |
182 |
|
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { |
183 |
0 |
return (jalview.schemabinding.version2.OtherData) Unmarshaller.unmarshal(jalview.schemabinding.version2.OtherData.class, reader); |
184 |
|
} |
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
@throws |
190 |
|
|
191 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
192 |
0 |
public void validate(... |
193 |
|
) |
194 |
|
throws org.exolab.castor.xml.ValidationException { |
195 |
0 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); |
196 |
0 |
validator.validate(this); |
197 |
|
} |
198 |
|
|
199 |
|
} |