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) |
30 | 0 | 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 | |
|
87 | |
|
88 | |
public String getMinValue() { |
89 | 0 | return minValue; |
90 | |
} |
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
public void setMinValue(String minValue) { |
96 | 0 | this.minValue = minValue; |
97 | 0 | } |
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
public String getMaxValue() { |
103 | 0 | return maxValue; |
104 | |
} |
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
public void setMaxValue(String maxValue) { |
110 | 0 | this.maxValue = maxValue; |
111 | 0 | } |
112 | |
|
113 | |
|
114 | |
|
115 | |
|
116 | |
public Integer getMinLength() { |
117 | 0 | return minLength; |
118 | |
} |
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
public void setMinLength(Integer minLength) { |
124 | 0 | this.minLength = minLength; |
125 | 0 | } |
126 | |
|
127 | |
|
128 | |
|
129 | |
|
130 | |
public String getMaxLength() { |
131 | 0 | return maxLength; |
132 | |
} |
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
public void setMaxLength(String maxLength) { |
138 | 0 | this.maxLength = maxLength; |
139 | 0 | } |
140 | |
|
141 | |
|
142 | |
|
143 | |
|
144 | |
public Integer getMinOccurs() { |
145 | 0 | return minOccurs; |
146 | |
} |
147 | |
|
148 | |
|
149 | |
|
150 | |
|
151 | |
public void setMinOccurs(Integer minOccurs) { |
152 | 0 | this.minOccurs = minOccurs; |
153 | 0 | } |
154 | |
|
155 | |
|
156 | |
|
157 | |
|
158 | |
public String getMaxOccurs() { |
159 | 0 | return maxOccurs; |
160 | |
} |
161 | |
|
162 | |
|
163 | |
|
164 | |
|
165 | |
public void setMaxOccurs(String maxOccurs) { |
166 | 0 | this.maxOccurs = maxOccurs; |
167 | 0 | } |
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
public String getClassName() { |
173 | 0 | return className; |
174 | |
} |
175 | |
|
176 | |
|
177 | |
|
178 | |
|
179 | |
public void setClassName(String className) { |
180 | 0 | this.className = className; |
181 | 0 | } |
182 | |
|
183 | |
|
184 | |
|
185 | |
|
186 | |
public String getKey() { |
187 | 0 | return key; |
188 | |
} |
189 | |
|
190 | |
|
191 | |
|
192 | |
|
193 | |
public void setKey(String key) { |
194 | 0 | this.key = key; |
195 | 0 | } |
196 | |
|
197 | |
|
198 | |
|
199 | |
|
200 | |
public String getId() { |
201 | 0 | return id; |
202 | |
} |
203 | |
|
204 | |
|
205 | |
|
206 | |
|
207 | |
public void setId(String id) { |
208 | 0 | this.id = id; |
209 | 0 | } |
210 | |
|
211 | |
|
212 | |
|
213 | |
|
214 | |
public boolean isServerSide() { |
215 | 0 | return serverSide; |
216 | |
} |
217 | |
|
218 | |
|
219 | |
|
220 | |
|
221 | |
public void setServerSide(boolean serverSide) { |
222 | 0 | this.serverSide = serverSide; |
223 | 0 | } |
224 | |
|
225 | |
|
226 | |
|
227 | |
|
228 | |
public String getLocale() { |
229 | 0 | return locale; |
230 | |
} |
231 | |
|
232 | |
|
233 | |
|
234 | |
|
235 | |
public void setLocale(String locale) { |
236 | 0 | this.locale = locale; |
237 | 0 | } |
238 | |
|
239 | |
|
240 | |
|
241 | |
|
242 | |
public ValidCharsConstraint getValidChars() { |
243 | 0 | return validChars; |
244 | |
} |
245 | |
|
246 | |
|
247 | |
|
248 | |
|
249 | |
public void setValidChars(ValidCharsConstraint validChars) { |
250 | 0 | this.validChars = validChars; |
251 | 0 | } |
252 | |
|
253 | |
|
254 | |
|
255 | |
|
256 | |
public List<RequireConstraint> getRequireConstraint() { |
257 | 0 | return requireConstraint; |
258 | |
} |
259 | |
|
260 | |
|
261 | |
|
262 | |
|
263 | |
public void setRequireConstraint(List<RequireConstraint> requireConstraint) { |
264 | 0 | this.requireConstraint = requireConstraint; |
265 | 0 | } |
266 | |
|
267 | |
|
268 | |
|
269 | |
|
270 | |
public TypeStateCaseConstraint getTypeStateCaseConstraint() { |
271 | 0 | return typeStateCaseConstraint; |
272 | |
} |
273 | |
|
274 | |
|
275 | |
|
276 | |
|
277 | |
public void setTypeStateCaseConstraint( |
278 | |
TypeStateCaseConstraint typeStateCaseConstraint) { |
279 | 0 | this.typeStateCaseConstraint = typeStateCaseConstraint; |
280 | 0 | } |
281 | |
|
282 | |
|
283 | |
|
284 | |
|
285 | |
public List<CaseConstraint> getCaseConstraint() { |
286 | 0 | return caseConstraint; |
287 | |
} |
288 | |
|
289 | |
|
290 | |
|
291 | |
|
292 | |
public void setCaseConstraint(List<CaseConstraint> caseConstraint) { |
293 | 0 | this.caseConstraint = caseConstraint; |
294 | 0 | } |
295 | |
|
296 | |
|
297 | |
|
298 | |
|
299 | |
public List<LookupConstraint> getLookupConstraint() { |
300 | 0 | return lookupConstraint; |
301 | |
} |
302 | |
|
303 | |
|
304 | |
|
305 | |
|
306 | |
public void setLookupConstraint(List<LookupConstraint> lookupConstraint) { |
307 | 0 | this.lookupConstraint = lookupConstraint; |
308 | 0 | } |
309 | |
|
310 | |
|
311 | |
|
312 | |
|
313 | |
public List<OccursConstraint> getOccursConstraint() { |
314 | 0 | return occursConstraint; |
315 | |
} |
316 | |
|
317 | |
|
318 | |
|
319 | |
|
320 | |
public void setOccursConstraint(List<OccursConstraint> occursConstraint) { |
321 | 0 | this.occursConstraint = occursConstraint; |
322 | 0 | } |
323 | |
} |