Clover Coverage Report - Kuali Student 1.2-M3-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Jun 6 2011 05:02:46 EDT
../../../../../../../img/srcFileCovDistChart8.png 36% of files have more coverage
34   323   34   1
0   148   1   34
34     1  
1    
 
  ConstraintSelector       Line # 30 34 0% 34 14 79.4% 0.7941176
 
  (11)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
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    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 the minValue
87    */
 
88  31 toggle public String getMinValue() {
89  31 return minValue;
90    }
91   
92    /**
93    * @param minValue the minValue to set
94    */
 
95  16 toggle public void setMinValue(String minValue) {
96  16 this.minValue = minValue;
97    }
98   
99    /**
100    * @return the maxValue
101    */
 
102  25 toggle public String getMaxValue() {
103  25 return maxValue;
104    }
105   
106    /**
107    * @param maxValue the maxValue to set
108    */
 
109  8 toggle public void setMaxValue(String maxValue) {
110  8 this.maxValue = maxValue;
111    }
112   
113    /**
114    * @return the minLength
115    */
 
116  47 toggle public Integer getMinLength() {
117  47 return minLength;
118    }
119   
120    /**
121    * @param minLength the minLength to set
122    */
 
123  153 toggle public void setMinLength(Integer minLength) {
124  153 this.minLength = minLength;
125    }
126   
127    /**
128    * @return the maxLength
129    */
 
130  45 toggle public String getMaxLength() {
131  45 return maxLength;
132    }
133   
134    /**
135    * @param maxLength the maxLength to set
136    */
 
137  660 toggle public void setMaxLength(String maxLength) {
138  660 this.maxLength = maxLength;
139    }
140   
141    /**
142    * @return the minOccurs
143    */
 
144  84 toggle public Integer getMinOccurs() {
145  84 return minOccurs;
146    }
147   
148    /**
149    * @param minOccurs the minOccurs to set
150    */
 
151  65 toggle public void setMinOccurs(Integer minOccurs) {
152  65 this.minOccurs = minOccurs;
153    }
154   
155    /**
156    * @return the maxOccurs
157    */
 
158  26 toggle public String getMaxOccurs() {
159  26 return maxOccurs;
160    }
161   
162    /**
163    * @param maxOccurs the maxOccurs to set
164    */
 
165  49 toggle public void setMaxOccurs(String maxOccurs) {
166  49 this.maxOccurs = maxOccurs;
167    }
168   
169    /**
170    * @return the className
171    */
 
172  24 toggle public String getClassName() {
173  24 return className;
174    }
175   
176    /**
177    * @param className the className to set
178    */
 
179  2 toggle public void setClassName(String className) {
180  2 this.className = className;
181    }
182   
183    /**
184    * @return the key
185    */
 
186  6 toggle public String getKey() {
187  6 return key;
188    }
189   
190    /**
191    * @param key the key to set
192    */
 
193  805 toggle public void setKey(String key) {
194  805 this.key = key;
195    }
196   
197    /**
198    * @return the id
199    */
 
200  0 toggle public String getId() {
201  0 return id;
202    }
203   
204    /**
205    * @param id the id to set
206    */
 
207  0 toggle public void setId(String id) {
208  0 this.id = id;
209    }
210   
211    /**
212    * @return the serverSide
213    */
 
214  24 toggle public boolean isServerSide() {
215  24 return serverSide;
216    }
217   
218    /**
219    * @param serverSide the serverSide to set
220    */
 
221  74 toggle public void setServerSide(boolean serverSide) {
222  74 this.serverSide = serverSide;
223    }
224   
225    /**
226    * @return the locale
227    */
 
228  0 toggle public String getLocale() {
229  0 return locale;
230    }
231   
232    /**
233    * @param locale the locale to set
234    */
 
235  0 toggle public void setLocale(String locale) {
236  0 this.locale = locale;
237    }
238   
239    /**
240    * @return the validChars
241    */
 
242  36 toggle public ValidCharsConstraint getValidChars() {
243  36 return validChars;
244    }
245   
246    /**
247    * @param validChars the validChars to set
248    */
 
249  88 toggle public void setValidChars(ValidCharsConstraint validChars) {
250  88 this.validChars = validChars;
251    }
252   
253    /**
254    * @return the requireConstraint
255    */
 
256  26 toggle public List<RequireConstraint> getRequireConstraint() {
257  26 return requireConstraint;
258    }
259   
260    /**
261    * @param requireConstraint the requireConstraint to set
262    */
 
263  1 toggle public void setRequireConstraint(List<RequireConstraint> requireConstraint) {
264  1 this.requireConstraint = requireConstraint;
265    }
266   
267    /**
268    * @return the typeStateCaseConstraint
269    */
 
270  0 toggle public TypeStateCaseConstraint getTypeStateCaseConstraint() {
271  0 return typeStateCaseConstraint;
272    }
273   
274    /**
275    * @param typeStateCaseConstraint the typeStateCaseConstraint to set
276    */
 
277  24 toggle public void setTypeStateCaseConstraint(
278    TypeStateCaseConstraint typeStateCaseConstraint) {
279  24 this.typeStateCaseConstraint = typeStateCaseConstraint;
280    }
281   
282    /**
283    * @return the caseConstraint
284    */
 
285  24 toggle public List<CaseConstraint> getCaseConstraint() {
286  24 return caseConstraint;
287    }
288   
289    /**
290    * @param caseConstraint the caseConstraint to set
291    */
 
292  0 toggle public void setCaseConstraint(List<CaseConstraint> caseConstraint) {
293  0 this.caseConstraint = caseConstraint;
294    }
295   
296    /**
297    * @return the lookupConstraint
298    */
 
299  24 toggle public List<LookupConstraint> getLookupConstraint() {
300  24 return lookupConstraint;
301    }
302   
303    /**
304    * @param lookupConstraint the lookupConstraint to set
305    */
 
306  55 toggle public void setLookupConstraint(List<LookupConstraint> lookupConstraint) {
307  55 this.lookupConstraint = lookupConstraint;
308    }
309   
310    /**
311    * @return the occursConstraint
312    */
 
313  24 toggle public List<OccursConstraint> getOccursConstraint() {
314  24 return occursConstraint;
315    }
316   
317    /**
318    * @param occursConstraint the occursConstraint to set
319    */
 
320  0 toggle public void setOccursConstraint(List<OccursConstraint> occursConstraint) {
321  0 this.occursConstraint = occursConstraint;
322    }
323    }