Clover Coverage Report - KS Contract Documentation Generator 0.0.1-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
35   335   35   1
0   127   1   35
35     1  
1    
 
  Constraint       Line # 24 35 0% 35 70 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2009 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.osedu.org/licenses/ECL-2.0
9    *
10    * Unless required by applicable law or agreed to in writing, software
11    * distributed under the License is distributed on an "AS IS" BASIS,
12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    * See the License for the specific language governing permissions and
14    * limitations under the License.
15    */
16    package org.kuali.student.contract.model;
17   
18    /**
19    * This models a constraint either an in-line one or one defined as part of the bank of constraints.
20    * Note: Cross-object Constraints are not modeled here.
21    *
22    * @author nwright
23    */
 
24    public class Constraint {
25   
26    public static final String UNBOUNDED = "(unbounded)";
27    public static final String NINE_NINES = "999999999";
28   
 
29  0 toggle public Constraint() {
30  0 super();
31    }
32    private String id;
33   
34    /**
35    * Get the value of id
36    *
37    * @return the value of id
38    */
 
39  0 toggle public String getId() {
40  0 return id;
41    }
42   
43    /**
44    * Set the value of id
45    *
46    * @param id new value of id
47    */
 
48  0 toggle public void setId(String id) {
49  0 this.id = id;
50    }
51    private String key;
52   
53    /**
54    * Get the value of key
55    *
56    * @return the value of key
57    */
 
58  0 toggle public String getKey() {
59  0 return key;
60    }
61   
62    /**
63    * Set the value of key
64    *
65    * @param key new value of key
66    */
 
67  0 toggle public void setKey(String key) {
68  0 this.key = key;
69    }
70    private String desc;
71   
72    /**
73    * Get the value of desc
74    *
75    * @return the value of desc
76    */
 
77  0 toggle public String getDesc() {
78  0 return desc;
79    }
80   
81    /**
82    * Set the value of desc
83    *
84    * @param desc new value of desc
85    */
 
86  0 toggle public void setDesc(String desc) {
87  0 this.desc = desc;
88    }
89    private String serverSide;
90   
91    /**
92    * Get the value of serverSide
93    *
94    * @return the value of serverSide
95    */
 
96  0 toggle public String getServerSide() {
97  0 return serverSide;
98    }
99   
100    /**
101    * Set the value of serverSide
102    *
103    * @param serverSide new value of serverSide
104    */
 
105  0 toggle public void setServerSide(String serverSide) {
106  0 this.serverSide = serverSide;
107    }
108    private String minLength;
109   
110    /**
111    * Get the value of minLength
112    *
113    * @return the value of minLength
114    */
 
115  0 toggle public String getMinLength() {
116  0 return minLength;
117    }
118   
119    /**
120    * Set the value of minLength
121    *
122    * @param minLength new value of minLength
123    */
 
124  0 toggle public void setMinLength(String minLength) {
125  0 this.minLength = minLength;
126    }
127    private String maxLength;
128   
129    /**
130    * Get the value of maxLength
131    *
132    * @return the value of maxLength
133    */
 
134  0 toggle public String getMaxLength() {
135  0 return maxLength;
136    }
137   
138    /**
139    * Set the value of maxLength
140    *
141    * @param maxLength new value of maxLength
142    */
 
143  0 toggle public void setMaxLength(String maxLength) {
144  0 this.maxLength = maxLength;
145    }
146    private String minValue;
147   
148    /**
149    * Get the value of minValue
150    *
151    * @return the value of minValue
152    */
 
153  0 toggle public String getMinValue() {
154  0 return minValue;
155    }
156   
157    /**
158    * Set the value of minValue
159    *
160    * @param minValue new value of minValue
161    */
 
162  0 toggle public void setMinValue(String minValue) {
163  0 this.minValue = minValue;
164    }
165    private String maxValue;
166   
167    /**
168    * Get the value of maxValue
169    *
170    * @return the value of maxValue
171    */
 
172  0 toggle public String getMaxValue() {
173  0 return maxValue;
174    }
175   
176    /**
177    * Set the value of maxValue
178    *
179    * @param maxValue new value of maxValue
180    */
 
181  0 toggle public void setMaxValue(String maxValue) {
182  0 this.maxValue = maxValue;
183    }
184    protected String minOccurs;
185   
186    /**
187    * Get the value of minOccurs
188    *
189    * @return the value of minOccurs
190    */
 
191  0 toggle public String getMinOccurs() {
192  0 return minOccurs;
193    }
194   
195    /**
196    * Set the value of minOccurs
197    *
198    * @param minOccurs new value of minOccurs
199    */
 
200  0 toggle public void setMinOccurs(String minOccurs) {
201  0 this.minOccurs = minOccurs;
202    }
203    private String maxOccurs;
204   
205    /**
206    * Get the value of maxOccurs
207    *
208    * @return the value of maxOccurs
209    */
 
210  0 toggle public String getMaxOccurs() {
211  0 return maxOccurs;
212    }
213   
214    /**
215    * Set the value of maxOccurs
216    *
217    * @param maxOccurs new value of maxOccurs
218    */
 
219  0 toggle public void setMaxOccurs(String maxOccurs) {
220  0 this.maxOccurs = maxOccurs;
221    }
222    private String validChars;
223   
224    /**
225    * Get the value of validChars
226    *
227    * @return the value of validChars
228    */
 
229  0 toggle public String getValidChars() {
230  0 return validChars;
231    }
232   
233    /**
234    * Set the value of validChars
235    *
236    * @param validChars new value of validChars
237    */
 
238  0 toggle public void setValidChars(String validChars) {
239  0 this.validChars = validChars;
240    }
241    private String lookup;
242   
243    /**
244    * Get the value of lookup
245    *
246    * @return the value of lookup
247    */
 
248  0 toggle public String getLookup() {
249  0 return lookup;
250    }
251   
252    /**
253    * Set the value of lookup
254    *
255    * @param lookup new value of lookup
256    */
 
257  0 toggle public void setLookup(String lookup) {
258  0 this.lookup = lookup;
259    }
260    protected String lookupContext;
261   
262    /**
263    * Get the value of lookupContext
264    *
265    * @return the value of lookupContext
266    */
 
267  0 toggle public String getLookupContext() {
268  0 return lookupContext;
269    }
270   
271    /**
272    * Set the value of lookupContext
273    *
274    * @param lookupContext new value of lookupContext
275    */
 
276  0 toggle public void setLookupContext(String lookupContext) {
277  0 this.lookupContext = lookupContext;
278    }
279    private String comments;
280   
281    /**
282    * Get the value of comments
283    *
284    * @return the value of comments
285    */
 
286  0 toggle public String getComments() {
287  0 return comments;
288    }
289   
290    /**
291    * Set the value of comments
292    *
293    * @param comments new value of comments
294    */
 
295  0 toggle public void setComments(String comments) {
296  0 this.comments = comments;
297    }
298    private String className;
299   
300    /**
301    * Get the value of className
302    *
303    * @return the value of className
304    */
 
305  0 toggle public String getClassName() {
306  0 return className;
307    }
308   
309    /**
310    * Set the value of className
311    *
312    * @param className new value of className
313    */
 
314  0 toggle public void setClassName(String className) {
315  0 this.className = className;
316    }
317    private String messageId;
318   
 
319  0 toggle public String getMessageId() {
320  0 return messageId;
321    }
322   
 
323  0 toggle public void setMessageId(String messageId) {
324  0 this.messageId = messageId;
325    }
326    private boolean inline;
327   
 
328  0 toggle public boolean isInline() {
329  0 return inline;
330    }
331   
 
332  0 toggle public void setInline(boolean inline) {
333  0 this.inline = inline;
334    }
335    }