1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.dictionary.old.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.List; |
20 |
|
|
21 |
|
import javax.xml.bind.annotation.XmlAccessType; |
22 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
23 |
|
import javax.xml.bind.annotation.XmlAttribute; |
24 |
|
import javax.xml.bind.annotation.XmlElement; |
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 79.4% |
Uncovered Elements: 14 (68) |
Complexity: 34 |
Complexity Density: 1 |
|
30 |
|
public class ConstraintSelector implements Serializable { |
31 |
|
|
32 |
|
private static final long serialVersionUID = 1L; |
33 |
|
|
34 |
|
@XmlAttribute |
35 |
|
protected String className; |
36 |
|
|
37 |
|
@XmlAttribute(required = true) |
38 |
|
protected String key; |
39 |
|
|
40 |
|
@XmlAttribute |
41 |
|
protected String id; |
42 |
|
|
43 |
|
@XmlAttribute |
44 |
|
protected boolean serverSide; |
45 |
|
|
46 |
|
@XmlAttribute |
47 |
|
protected String locale; |
48 |
|
|
49 |
|
@XmlElement |
50 |
|
protected String minValue; |
51 |
|
|
52 |
|
@XmlElement |
53 |
|
protected String maxValue; |
54 |
|
|
55 |
|
@XmlElement |
56 |
|
protected Integer minLength; |
57 |
|
|
58 |
|
@XmlElement |
59 |
|
protected String maxLength; |
60 |
|
|
61 |
|
@XmlElement(name="validChars") |
62 |
|
protected ValidCharsConstraint validChars; |
63 |
|
|
64 |
|
@XmlElement |
65 |
|
protected Integer minOccurs; |
66 |
|
|
67 |
|
@XmlElement |
68 |
|
protected String maxOccurs; |
69 |
|
|
70 |
|
@XmlElement(name="require") |
71 |
|
protected List<RequireConstraint> requireConstraint; |
72 |
|
|
73 |
|
@XmlElement(name = "case") |
74 |
|
protected List<CaseConstraint> caseConstraint; |
75 |
|
|
76 |
|
@XmlElement(name = "typeStateCase") |
77 |
|
protected TypeStateCaseConstraint typeStateCaseConstraint; |
78 |
|
|
79 |
|
@XmlElement(name = "lookup") |
80 |
|
protected List<LookupConstraint> lookupConstraint; |
81 |
|
|
82 |
|
@XmlElement(name = "occurs") |
83 |
|
protected List<OccursConstraint> occursConstraint; |
84 |
|
|
85 |
|
|
86 |
|
@return |
87 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
88 |
31
|
public String getMinValue() {... |
89 |
31
|
return minValue; |
90 |
|
} |
91 |
|
|
92 |
|
|
93 |
|
@param |
94 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
16
|
public void setMinValue(String minValue) {... |
96 |
16
|
this.minValue = minValue; |
97 |
|
} |
98 |
|
|
99 |
|
|
100 |
|
@return |
101 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
102 |
25
|
public String getMaxValue() {... |
103 |
25
|
return maxValue; |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
@param |
108 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
8
|
public void setMaxValue(String maxValue) {... |
110 |
8
|
this.maxValue = maxValue; |
111 |
|
} |
112 |
|
|
113 |
|
|
114 |
|
@return |
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
47
|
public Integer getMinLength() {... |
117 |
47
|
return minLength; |
118 |
|
} |
119 |
|
|
120 |
|
|
121 |
|
@param |
122 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
123 |
153
|
public void setMinLength(Integer minLength) {... |
124 |
153
|
this.minLength = minLength; |
125 |
|
} |
126 |
|
|
127 |
|
|
128 |
|
@return |
129 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
130 |
45
|
public String getMaxLength() {... |
131 |
45
|
return maxLength; |
132 |
|
} |
133 |
|
|
134 |
|
|
135 |
|
@param |
136 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
660
|
public void setMaxLength(String maxLength) {... |
138 |
660
|
this.maxLength = maxLength; |
139 |
|
} |
140 |
|
|
141 |
|
|
142 |
|
@return |
143 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
144 |
84
|
public Integer getMinOccurs() {... |
145 |
84
|
return minOccurs; |
146 |
|
} |
147 |
|
|
148 |
|
|
149 |
|
@param |
150 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
65
|
public void setMinOccurs(Integer minOccurs) {... |
152 |
65
|
this.minOccurs = minOccurs; |
153 |
|
} |
154 |
|
|
155 |
|
|
156 |
|
@return |
157 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
26
|
public String getMaxOccurs() {... |
159 |
26
|
return maxOccurs; |
160 |
|
} |
161 |
|
|
162 |
|
|
163 |
|
@param |
164 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
165 |
49
|
public void setMaxOccurs(String maxOccurs) {... |
166 |
49
|
this.maxOccurs = maxOccurs; |
167 |
|
} |
168 |
|
|
169 |
|
|
170 |
|
@return |
171 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
172 |
24
|
public String getClassName() {... |
173 |
24
|
return className; |
174 |
|
} |
175 |
|
|
176 |
|
|
177 |
|
@param |
178 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
2
|
public void setClassName(String className) {... |
180 |
2
|
this.className = className; |
181 |
|
} |
182 |
|
|
183 |
|
|
184 |
|
@return |
185 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
186 |
6
|
public String getKey() {... |
187 |
6
|
return key; |
188 |
|
} |
189 |
|
|
190 |
|
|
191 |
|
@param |
192 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
193 |
805
|
public void setKey(String key) {... |
194 |
805
|
this.key = key; |
195 |
|
} |
196 |
|
|
197 |
|
|
198 |
|
@return |
199 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
200 |
0
|
public String getId() {... |
201 |
0
|
return id; |
202 |
|
} |
203 |
|
|
204 |
|
|
205 |
|
@param |
206 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
207 |
0
|
public void setId(String id) {... |
208 |
0
|
this.id = id; |
209 |
|
} |
210 |
|
|
211 |
|
|
212 |
|
@return |
213 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
214 |
24
|
public boolean isServerSide() {... |
215 |
24
|
return serverSide; |
216 |
|
} |
217 |
|
|
218 |
|
|
219 |
|
@param |
220 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
221 |
74
|
public void setServerSide(boolean serverSide) {... |
222 |
74
|
this.serverSide = serverSide; |
223 |
|
} |
224 |
|
|
225 |
|
|
226 |
|
@return |
227 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
228 |
0
|
public String getLocale() {... |
229 |
0
|
return locale; |
230 |
|
} |
231 |
|
|
232 |
|
|
233 |
|
@param |
234 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
235 |
0
|
public void setLocale(String locale) {... |
236 |
0
|
this.locale = locale; |
237 |
|
} |
238 |
|
|
239 |
|
|
240 |
|
@return |
241 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
242 |
36
|
public ValidCharsConstraint getValidChars() {... |
243 |
36
|
return validChars; |
244 |
|
} |
245 |
|
|
246 |
|
|
247 |
|
@param |
248 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
249 |
88
|
public void setValidChars(ValidCharsConstraint validChars) {... |
250 |
88
|
this.validChars = validChars; |
251 |
|
} |
252 |
|
|
253 |
|
|
254 |
|
@return |
255 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
256 |
26
|
public List<RequireConstraint> getRequireConstraint() {... |
257 |
26
|
return requireConstraint; |
258 |
|
} |
259 |
|
|
260 |
|
|
261 |
|
@param |
262 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
263 |
1
|
public void setRequireConstraint(List<RequireConstraint> requireConstraint) {... |
264 |
1
|
this.requireConstraint = requireConstraint; |
265 |
|
} |
266 |
|
|
267 |
|
|
268 |
|
@return |
269 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
270 |
0
|
public TypeStateCaseConstraint getTypeStateCaseConstraint() {... |
271 |
0
|
return typeStateCaseConstraint; |
272 |
|
} |
273 |
|
|
274 |
|
|
275 |
|
@param |
276 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
277 |
24
|
public void setTypeStateCaseConstraint(... |
278 |
|
TypeStateCaseConstraint typeStateCaseConstraint) { |
279 |
24
|
this.typeStateCaseConstraint = typeStateCaseConstraint; |
280 |
|
} |
281 |
|
|
282 |
|
|
283 |
|
@return |
284 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
285 |
24
|
public List<CaseConstraint> getCaseConstraint() {... |
286 |
24
|
return caseConstraint; |
287 |
|
} |
288 |
|
|
289 |
|
|
290 |
|
@param |
291 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
292 |
0
|
public void setCaseConstraint(List<CaseConstraint> caseConstraint) {... |
293 |
0
|
this.caseConstraint = caseConstraint; |
294 |
|
} |
295 |
|
|
296 |
|
|
297 |
|
@return |
298 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
299 |
24
|
public List<LookupConstraint> getLookupConstraint() {... |
300 |
24
|
return lookupConstraint; |
301 |
|
} |
302 |
|
|
303 |
|
|
304 |
|
@param |
305 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
306 |
55
|
public void setLookupConstraint(List<LookupConstraint> lookupConstraint) {... |
307 |
55
|
this.lookupConstraint = lookupConstraint; |
308 |
|
} |
309 |
|
|
310 |
|
|
311 |
|
@return |
312 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
313 |
24
|
public List<OccursConstraint> getOccursConstraint() {... |
314 |
24
|
return occursConstraint; |
315 |
|
} |
316 |
|
|
317 |
|
|
318 |
|
@param |
319 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
320 |
0
|
public void setOccursConstraint(List<OccursConstraint> occursConstraint) {... |
321 |
0
|
this.occursConstraint = occursConstraint; |
322 |
|
} |
323 |
|
} |