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