Coverage Report - org.kuali.student.lum.lu.dto.CluCreditInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CluCreditInfo
0%
0/31
N/A
1
 
 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.core.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  0
 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  
     public String getRepeatCount() {
 68  0
         return repeatCount;
 69  
     }
 70  
 
 71  
     public void setRepeatCount(String repeatCount) {
 72  0
         this.repeatCount = repeatCount;
 73  0
     }
 74  
 
 75  
     /**
 76  
      * The amount of time after which a student may repeat the course (in ATP)
 77  
      */
 78  
     public TimeAmountInfo getRepeatTime() {
 79  0
         return repeatTime;
 80  
     }
 81  
 
 82  
     public void setRepeatTime(TimeAmountInfo repeatTime) {
 83  0
         this.repeatTime = repeatTime;
 84  0
     }
 85  
 
 86  
     /**
 87  
      * The total number of units for which the student may repeat this course.
 88  
      */
 89  
     public String getRepeatUnits() {
 90  0
         return repeatUnits;
 91  
     }
 92  
 
 93  
     public void setRepeatUnits(String repeatUnits) {
 94  0
         this.repeatUnits = repeatUnits;
 95  0
     }
 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  
     public Integer getMinTotalUnits() {
 101  0
         return minTotalUnits;
 102  
     }
 103  
 
 104  
     public void setMinTotalUnits(Integer minTotalUnits) {
 105  0
         this.minTotalUnits = minTotalUnits;
 106  0
     }
 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  
     public Integer getMaxTotalUnits() {
 112  0
         return maxTotalUnits;
 113  
     }
 114  
 
 115  
     public void setMaxTotalUnits(Integer maxTotalUnits) {
 116  0
         this.maxTotalUnits = maxTotalUnits;
 117  0
     }
 118  
 
 119  
     /**
 120  
      * The total credit hours for use in evaluating the Instructor, meant to cover the concept of Contact Hours
 121  
      */
 122  
     public Integer getInstructorUnits() {
 123  0
         return instructorUnits;
 124  
     }
 125  
 
 126  
     public void setInstructorUnits(Integer instructorUnits) {
 127  0
         this.instructorUnits = instructorUnits;
 128  0
     }
 129  
 
 130  
     /**
 131  
      * Minimum amount of time required to complete the CLU. If specified, should be less than or equal to maxTimeToComplete.
 132  
      */
 133  
     public TimeAmountInfo getMinTimeToComplete() {
 134  0
         return minTimeToComplete;
 135  
     }
 136  
 
 137  
     public void setMinTimeToComplete(TimeAmountInfo minTimeToComplete) {
 138  0
         this.minTimeToComplete = minTimeToComplete;
 139  0
     }
 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  
     public TimeAmountInfo getMaxTimeToComplete() {
 145  0
         return maxTimeToComplete;
 146  
     }
 147  
 
 148  
     public void setMaxTimeToComplete(TimeAmountInfo maxTimeToComplete) {
 149  0
         this.maxTimeToComplete = maxTimeToComplete;
 150  0
     }
 151  
 
 152  
     /**
 153  
      * The Maximum Allowable Number of Time Periods of Inactivity (i.e. Stale or Resting time).
 154  
      */
 155  
     public TimeAmountInfo getMaxAllowableInactivity() {
 156  0
         return maxAllowableInactivity;
 157  
     }
 158  
 
 159  
     public void setMaxAllowableInactivity(TimeAmountInfo maxAllowableInactivity) {
 160  0
         this.maxAllowableInactivity = maxAllowableInactivity;
 161  0
     }
 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  
     public TimeAmountInfo getMaxTimeResultsRecognized() {
 167  0
         return maxTimeResultsRecognized;
 168  
     }
 169  
 
 170  
     public void setMaxTimeResultsRecognized(TimeAmountInfo maxTimeResultsRecognized) {
 171  0
         this.maxTimeResultsRecognized = maxTimeResultsRecognized;
 172  0
     }
 173  
 }