Clover Coverage Report - Kuali Student 1.2-M1-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Mar 4 2011 04:03:38 EST
../../../../../img/srcFileCovDistChart0.png 49% of files have more coverage
24   192   24   1
0   102   1   24
24     1  
1    
 
  FieldDescriptorEntity       Line # 22 24 0% 24 48 0% 0.0
 
No Tests
 
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.entity;
17   
18    import javax.persistence.Column;
19    import javax.persistence.Embeddable;
20   
21    @Embeddable
 
22    public class FieldDescriptorEntity {
23   
24    @Column(name = "NAME", nullable = false)
25    protected String name;
26    @Column(name = "DESCR", nullable = false)
27    protected String descr;
28    @Column(name = "DATA_TYPE", nullable = false)
29    protected String dataType;
30    @Column(name="MIN_VALUE")
31    protected String minValue;
32    @Column(name="MAX_VALUE")
33    protected String maxValue;
34    @Column(name="MIN_LENGTH")
35    protected Integer minLength;
36    @Column(name="MAX_LENGTH")
37    protected Integer maxLength;
38    @Column(name="VALID_CHARS")
39    protected String validChars;
40    @Column(name="INVALID_CHARS")
41    protected String invalidChars;
42    @Column(name="MIN_OCCURS")
43    protected Integer minOccurs;
44    @Column(name="MAX_OCCURS")
45    protected Integer maxOccurs;
46    @Column(name="READ_ONLY", nullable = false)
47    protected boolean readOnly = false;
48    /**
49    * @return the name
50    */
 
51  0 toggle public String getName() {
52  0 return name;
53    }
54    /**
55    * @param name the name to set
56    */
 
57  0 toggle public void setName(String name) {
58  0 this.name = name;
59    }
60    /**
61    * @return the desc
62    */
 
63  0 toggle public String getDescr() {
64  0 return descr;
65    }
66    /**
67    * @param desc the desc to set
68    */
 
69  0 toggle public void setDescr(String descr) {
70  0 this.descr = descr;
71    }
72    /**
73    * @return the dataType
74    */
 
75  0 toggle public String getDataType() {
76  0 return dataType;
77    }
78    /**
79    * @param dataType the dataType to set
80    */
 
81  0 toggle public void setDataType(String dataType) {
82  0 this.dataType = dataType;
83    }
84    /**
85    * @return the minValue
86    */
 
87  0 toggle public String getMinValue() {
88  0 return minValue;
89    }
90    /**
91    * @param minValue the minValue to set
92    */
 
93  0 toggle public void setMinValue(String minValue) {
94  0 this.minValue = minValue;
95    }
96    /**
97    * @return the maxValue
98    */
 
99  0 toggle public String getMaxValue() {
100  0 return maxValue;
101    }
102    /**
103    * @param maxValue the maxValue to set
104    */
 
105  0 toggle public void setMaxValue(String maxValue) {
106  0 this.maxValue = maxValue;
107    }
108    /**
109    * @return the minLength
110    */
 
111  0 toggle public Integer getMinLength() {
112  0 return minLength;
113    }
114    /**
115    * @param minLength the minLength to set
116    */
 
117  0 toggle public void setMinLength(Integer minLength) {
118  0 this.minLength = minLength;
119    }
120    /**
121    * @return the maxLength
122    */
 
123  0 toggle public Integer getMaxLength() {
124  0 return maxLength;
125    }
126    /**
127    * @param maxLength the maxLength to set
128    */
 
129  0 toggle public void setMaxLength(Integer maxLength) {
130  0 this.maxLength = maxLength;
131    }
132    /**
133    * @return the validChars
134    */
 
135  0 toggle public String getValidChars() {
136  0 return validChars;
137    }
138    /**
139    * @param validChars the validChars to set
140    */
 
141  0 toggle public void setValidChars(String validChars) {
142  0 this.validChars = validChars;
143    }
144    /**
145    * @return the invalidChars
146    */
 
147  0 toggle public String getInvalidChars() {
148  0 return invalidChars;
149    }
150    /**
151    * @param invalidChars the invalidChars to set
152    */
 
153  0 toggle public void setInvalidChars(String invalidChars) {
154  0 this.invalidChars = invalidChars;
155    }
156    /**
157    * @return the minOccurs
158    */
 
159  0 toggle public Integer getMinOccurs() {
160  0 return minOccurs;
161    }
162    /**
163    * @param minOccurs the minOccurs to set
164    */
 
165  0 toggle public void setMinOccurs(Integer minOccurs) {
166  0 this.minOccurs = minOccurs;
167    }
168    /**
169    * @return the maxOccurs
170    */
 
171  0 toggle public Integer getMaxOccurs() {
172  0 return maxOccurs;
173    }
174    /**
175    * @param maxOccurs the maxOccurs to set
176    */
 
177  0 toggle public void setMaxOccurs(Integer maxOccurs) {
178  0 this.maxOccurs = maxOccurs;
179    }
180    /**
181    * @return the readOnly
182    */
 
183  0 toggle public boolean isReadOnly() {
184  0 return readOnly;
185    }
186    /**
187    * @param readOnly the readOnly to set
188    */
 
189  0 toggle public void setReadOnly(boolean readOnly) {
190  0 this.readOnly = readOnly;
191    }
192    }