Clover Coverage Report - Kuali Student 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 05:03:32 EDT
../../../../../../img/srcFileCovDistChart0.png 2% of files have more coverage
20   173   20   1
0   90   1   20
20     1  
1    
 
  CluCreditInfo       Line # 30 20 0% 20 40 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.lum.lu.dto;
17   
18    import java.io.Serializable;
19   
20    import javax.xml.bind.annotation.XmlAccessType;
21    import javax.xml.bind.annotation.XmlAccessorType;
22    import javax.xml.bind.annotation.XmlElement;
23   
24    import org.kuali.student.common.dto.TimeAmountInfo;
25   
26    /**
27    *Detailed information about credit for a CLU, including common data-driven constraints around repetition.
28    */
29    @XmlAccessorType(XmlAccessType.FIELD)
 
30    public class CluCreditInfo implements Serializable {
31   
32    private static final long serialVersionUID = 1L;
33   
34    @XmlElement
35    private String repeatCount;
36   
37    @XmlElement
38    private TimeAmountInfo repeatTime;
39   
40    @XmlElement
41    private String repeatUnits;
42   
43    @XmlElement
44    private Integer minTotalUnits;
45   
46    @XmlElement
47    private Integer maxTotalUnits;
48   
49    @XmlElement
50    private Integer instructorUnits;
51   
52    @XmlElement
53    private TimeAmountInfo minTimeToComplete;
54   
55    @XmlElement
56    private TimeAmountInfo maxTimeToComplete;
57   
58    @XmlElement
59    private TimeAmountInfo maxAllowableInactivity;
60   
61    @XmlElement
62    private TimeAmountInfo maxTimeResultsRecognized;
63   
64    /**
65    * The number of times a student may repeat the course for credit. The values of this field are restricted to integer values and the string "unbounded".
66    */
 
67  0 toggle public String getRepeatCount() {
68  0 return repeatCount;
69    }
70   
 
71  0 toggle public void setRepeatCount(String repeatCount) {
72  0 this.repeatCount = repeatCount;
73    }
74   
75    /**
76    * The amount of time after which a student may repeat the course (in ATP)
77    */
 
78  0 toggle public TimeAmountInfo getRepeatTime() {
79  0 return repeatTime;
80    }
81   
 
82  0 toggle public void setRepeatTime(TimeAmountInfo repeatTime) {
83  0 this.repeatTime = repeatTime;
84    }
85   
86    /**
87    * The total number of units for which the student may repeat this course.
88    */
 
89  0 toggle public String getRepeatUnits() {
90  0 return repeatUnits;
91    }
92   
 
93  0 toggle public void setRepeatUnits(String repeatUnits) {
94  0 this.repeatUnits = repeatUnits;
95    }
96   
97    /**
98    * The minimum total number of credits or units earned by the Student. This field will be used for calculations. If specified, should be less than or equal to the maxTotalUnits.
99    */
 
100  0 toggle public Integer getMinTotalUnits() {
101  0 return minTotalUnits;
102    }
103   
 
104  0 toggle public void setMinTotalUnits(Integer minTotalUnits) {
105  0 this.minTotalUnits = minTotalUnits;
106    }
107   
108    /**
109    * The maximum total number of credits or units earned by the Student. This field will be used for calculations. If specified, should be greater than or equal to the minTotalUnits.
110    */
 
111  0 toggle public Integer getMaxTotalUnits() {
112  0 return maxTotalUnits;
113    }
114   
 
115  0 toggle public void setMaxTotalUnits(Integer maxTotalUnits) {
116  0 this.maxTotalUnits = maxTotalUnits;
117    }
118   
119    /**
120    * The total credit hours for use in evaluating the Instructor, meant to cover the concept of Contact Hours
121    */
 
122  0 toggle public Integer getInstructorUnits() {
123  0 return instructorUnits;
124    }
125   
 
126  0 toggle public void setInstructorUnits(Integer instructorUnits) {
127  0 this.instructorUnits = instructorUnits;
128    }
129   
130    /**
131    * Minimum amount of time required to complete the CLU. If specified, should be less than or equal to maxTimeToComplete.
132    */
 
133  0 toggle public TimeAmountInfo getMinTimeToComplete() {
134  0 return minTimeToComplete;
135    }
136   
 
137  0 toggle public void setMinTimeToComplete(TimeAmountInfo minTimeToComplete) {
138  0 this.minTimeToComplete = minTimeToComplete;
139    }
140   
141    /**
142    * The default maximum amount of time allowed to complete the CLU. If specified, should be greater than or equal to the minTimeToComplete.
143    */
 
144  0 toggle public TimeAmountInfo getMaxTimeToComplete() {
145  0 return maxTimeToComplete;
146    }
147   
 
148  0 toggle public void setMaxTimeToComplete(TimeAmountInfo maxTimeToComplete) {
149  0 this.maxTimeToComplete = maxTimeToComplete;
150    }
151   
152    /**
153    * The Maximum Allowable Number of Time Periods of Inactivity (i.e. Stale or Resting time).
154    */
 
155  0 toggle public TimeAmountInfo getMaxAllowableInactivity() {
156  0 return maxAllowableInactivity;
157    }
158   
 
159  0 toggle public void setMaxAllowableInactivity(TimeAmountInfo maxAllowableInactivity) {
160  0 this.maxAllowableInactivity = maxAllowableInactivity;
161    }
162   
163    /**
164    * After this period expires, the results will no longer be recognized and the student will have to retake the CLU. This may apply to certain types of exams.
165    */
 
166  0 toggle public TimeAmountInfo getMaxTimeResultsRecognized() {
167  0 return maxTimeResultsRecognized;
168    }
169   
 
170  0 toggle public void setMaxTimeResultsRecognized(TimeAmountInfo maxTimeResultsRecognized) {
171  0 this.maxTimeResultsRecognized = maxTimeResultsRecognized;
172    }
173    }