1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.contract.model; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
public class Constraint |
25 | |
{ |
26 | |
|
27 | |
public static final String UNBOUNDED = "(unbounded)"; |
28 | |
public static final String NINE_NINES = "999999999"; |
29 | |
|
30 | |
public Constraint () |
31 | |
{ |
32 | 0 | super (); |
33 | 0 | } |
34 | |
|
35 | |
private String id; |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
public String getId () |
43 | |
{ |
44 | 0 | return id; |
45 | |
} |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
public void setId (String id) |
53 | |
{ |
54 | 0 | this.id = id; |
55 | 0 | } |
56 | |
|
57 | |
private String key; |
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
public String getKey () |
65 | |
{ |
66 | 0 | return key; |
67 | |
} |
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
public void setKey (String key) |
75 | |
{ |
76 | 0 | this.key = key; |
77 | 0 | } |
78 | |
|
79 | |
private String desc; |
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
public String getDesc () |
87 | |
{ |
88 | 0 | return desc; |
89 | |
} |
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
public void setDesc (String desc) |
97 | |
{ |
98 | 0 | this.desc = desc; |
99 | 0 | } |
100 | |
|
101 | |
private String serverSide; |
102 | |
|
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
|
108 | |
public String getServerSide () |
109 | |
{ |
110 | 0 | return serverSide; |
111 | |
} |
112 | |
|
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
|
118 | |
public void setServerSide (String serverSide) |
119 | |
{ |
120 | 0 | this.serverSide = serverSide; |
121 | 0 | } |
122 | |
|
123 | |
private String minLength; |
124 | |
|
125 | |
|
126 | |
|
127 | |
|
128 | |
|
129 | |
|
130 | |
public String getMinLength () |
131 | |
{ |
132 | 0 | return minLength; |
133 | |
} |
134 | |
|
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
|
140 | |
public void setMinLength (String minLength) |
141 | |
{ |
142 | 0 | this.minLength = minLength; |
143 | 0 | } |
144 | |
|
145 | |
private String maxLength; |
146 | |
|
147 | |
|
148 | |
|
149 | |
|
150 | |
|
151 | |
|
152 | |
public String getMaxLength () |
153 | |
{ |
154 | 0 | return maxLength; |
155 | |
} |
156 | |
|
157 | |
|
158 | |
|
159 | |
|
160 | |
|
161 | |
|
162 | |
public void setMaxLength (String maxLength) |
163 | |
{ |
164 | 0 | this.maxLength = maxLength; |
165 | 0 | } |
166 | |
|
167 | |
private String minValue; |
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
|
173 | |
|
174 | |
public String getMinValue () |
175 | |
{ |
176 | 0 | return minValue; |
177 | |
} |
178 | |
|
179 | |
|
180 | |
|
181 | |
|
182 | |
|
183 | |
|
184 | |
public void setMinValue (String minValue) |
185 | |
{ |
186 | 0 | this.minValue = minValue; |
187 | 0 | } |
188 | |
|
189 | |
private String maxValue; |
190 | |
|
191 | |
|
192 | |
|
193 | |
|
194 | |
|
195 | |
|
196 | |
public String getMaxValue () |
197 | |
{ |
198 | 0 | return maxValue; |
199 | |
} |
200 | |
|
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
|
206 | |
public void setMaxValue (String maxValue) |
207 | |
{ |
208 | 0 | this.maxValue = maxValue; |
209 | 0 | } |
210 | |
|
211 | |
protected String minOccurs; |
212 | |
|
213 | |
|
214 | |
|
215 | |
|
216 | |
|
217 | |
|
218 | |
public String getMinOccurs () |
219 | |
{ |
220 | 0 | return minOccurs; |
221 | |
} |
222 | |
|
223 | |
|
224 | |
|
225 | |
|
226 | |
|
227 | |
|
228 | |
public void setMinOccurs (String minOccurs) |
229 | |
{ |
230 | 0 | this.minOccurs = minOccurs; |
231 | 0 | } |
232 | |
|
233 | |
private String maxOccurs; |
234 | |
|
235 | |
|
236 | |
|
237 | |
|
238 | |
|
239 | |
|
240 | |
public String getMaxOccurs () |
241 | |
{ |
242 | 0 | return maxOccurs; |
243 | |
} |
244 | |
|
245 | |
|
246 | |
|
247 | |
|
248 | |
|
249 | |
|
250 | |
public void setMaxOccurs (String maxOccurs) |
251 | |
{ |
252 | 0 | this.maxOccurs = maxOccurs; |
253 | 0 | } |
254 | |
|
255 | |
private String validChars; |
256 | |
|
257 | |
|
258 | |
|
259 | |
|
260 | |
|
261 | |
|
262 | |
public String getValidChars () |
263 | |
{ |
264 | 0 | return validChars; |
265 | |
} |
266 | |
|
267 | |
|
268 | |
|
269 | |
|
270 | |
|
271 | |
|
272 | |
public void setValidChars (String validChars) |
273 | |
{ |
274 | 0 | this.validChars = validChars; |
275 | 0 | } |
276 | |
|
277 | |
private String lookup; |
278 | |
|
279 | |
|
280 | |
|
281 | |
|
282 | |
|
283 | |
|
284 | |
public String getLookup () |
285 | |
{ |
286 | 0 | return lookup; |
287 | |
} |
288 | |
|
289 | |
|
290 | |
|
291 | |
|
292 | |
|
293 | |
|
294 | |
public void setLookup (String lookup) |
295 | |
{ |
296 | 0 | this.lookup = lookup; |
297 | 0 | } |
298 | |
|
299 | |
protected String lookupContext; |
300 | |
|
301 | |
|
302 | |
|
303 | |
|
304 | |
|
305 | |
|
306 | |
public String getLookupContext () |
307 | |
{ |
308 | 0 | return lookupContext; |
309 | |
} |
310 | |
|
311 | |
|
312 | |
|
313 | |
|
314 | |
|
315 | |
|
316 | |
public void setLookupContext (String lookupContext) |
317 | |
{ |
318 | 0 | this.lookupContext = lookupContext; |
319 | 0 | } |
320 | |
|
321 | |
private String comments; |
322 | |
|
323 | |
|
324 | |
|
325 | |
|
326 | |
|
327 | |
|
328 | |
public String getComments () |
329 | |
{ |
330 | 0 | return comments; |
331 | |
} |
332 | |
|
333 | |
|
334 | |
|
335 | |
|
336 | |
|
337 | |
|
338 | |
public void setComments (String comments) |
339 | |
{ |
340 | 0 | this.comments = comments; |
341 | 0 | } |
342 | |
|
343 | |
private String className; |
344 | |
|
345 | |
|
346 | |
|
347 | |
|
348 | |
|
349 | |
|
350 | |
public String getClassName () |
351 | |
{ |
352 | 0 | return className; |
353 | |
} |
354 | |
|
355 | |
|
356 | |
|
357 | |
|
358 | |
|
359 | |
|
360 | |
public void setClassName (String className) |
361 | |
{ |
362 | 0 | this.className = className; |
363 | 0 | } |
364 | |
|
365 | |
private String messageId; |
366 | |
|
367 | |
public String getMessageId () |
368 | |
{ |
369 | 0 | return messageId; |
370 | |
} |
371 | |
|
372 | |
public void setMessageId (String messageId) |
373 | |
{ |
374 | 0 | this.messageId = messageId; |
375 | 0 | } |
376 | |
|
377 | |
private boolean inline; |
378 | |
|
379 | |
public boolean isInline () |
380 | |
{ |
381 | 0 | return inline; |
382 | |
} |
383 | |
|
384 | |
public void setInline (boolean inline) |
385 | |
{ |
386 | 0 | this.inline = inline; |
387 | 0 | } |
388 | |
} |