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