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 
 3  
  *
 4  
  * Licensed under the the Educational Community License, Version 1.0
 5  
  * (the "License"); you may not use this file except in compliance
 6  
  * with the License.  You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.php
 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
 13  
  * implied.  See the License for the specific language governing
 14  
  * permissions and limitations under the License.
 15  
  */
 16  
 
 17  
 package org.kuali.student.lum.lu.dto;
 18  
 
 19  
 import org.kuali.student.core.dto.TimeAmountInfo;
 20  
 
 21  
 import javax.xml.bind.annotation.XmlAccessType;
 22  
 import javax.xml.bind.annotation.XmlAccessorType;
 23  
 import javax.xml.bind.annotation.XmlElement;
 24  
 import java.io.Serializable;
 25  
 
 26  
 
 27  
 /**
 28  
  * Detailed information about credit for a CLU, including common
 29  
  * data-driven constraints around repetition.
 30  
  */
 31  
 
 32  
 @XmlAccessorType(XmlAccessType.FIELD)
 33  0
 public class CluCreditInfo implements Serializable {
 34  
 
 35  
     private static final long serialVersionUID = 1L;
 36  
 
 37  
     @XmlElement
 38  
     private String repeatCount;
 39  
 
 40  
     @XmlElement
 41  
     private TimeAmountInfo repeatTime;
 42  
 
 43  
     @XmlElement
 44  
     private String repeatUnits;
 45  
 
 46  
     @XmlElement
 47  
     private Integer minTotalUnits;
 48  
 
 49  
     @XmlElement
 50  
     private Integer maxTotalUnits;
 51  
 
 52  
     @XmlElement
 53  
     private Integer instructorUnits;
 54  
 
 55  
     @XmlElement
 56  
     private TimeAmountInfo minTimeToComplete;
 57  
 
 58  
     @XmlElement
 59  
     private TimeAmountInfo maxTimeToComplete;
 60  
 
 61  
     @XmlElement
 62  
     private TimeAmountInfo maxAllowableInactivity;
 63  
 
 64  
     @XmlElement
 65  
     private TimeAmountInfo maxTimeResultsRecognized;
 66  
 
 67  
 
 68  
     /**
 69  
      * The number of times a student may repeat the course for
 70  
      * credit. The values of this field are restricted to integer
 71  
      * values and the string "unbounded".
 72  
      */
 73  
 
 74  
     public String getRepeatCount() {
 75  0
         return repeatCount;
 76  
     }
 77  
 
 78  
     public void setRepeatCount(String repeatCount) {
 79  0
         this.repeatCount = repeatCount;
 80  0
     }
 81  
 
 82  
 
 83  
     /**
 84  
      * The amount of time after which a student may repeat the course
 85  
      * (in ATP)
 86  
      */
 87  
 
 88  
     public TimeAmountInfo getRepeatTime() {
 89  0
         return repeatTime;
 90  
     }
 91  
 
 92  
     public void setRepeatTime(TimeAmountInfo repeatTime) {
 93  0
         this.repeatTime = repeatTime;
 94  0
     }
 95  
 
 96  
 
 97  
     /**
 98  
      * The total number of units for which the student may repeat this
 99  
      * course.
 100  
      */
 101  
 
 102  
     public String getRepeatUnits() {
 103  0
         return repeatUnits;
 104  
     }
 105  
 
 106  
     public void setRepeatUnits(String repeatUnits) {
 107  0
         this.repeatUnits = repeatUnits;
 108  0
     }
 109  
 
 110  
 
 111  
     /**
 112  
      * The minimum total number of credits or units earned by the
 113  
      * Student. This field will be used for calculations. If
 114  
      * specified, should be less than or equal to the maxTotalUnits.
 115  
      */
 116  
 
 117  
     public Integer getMinTotalUnits() {
 118  0
         return minTotalUnits;
 119  
     }
 120  
 
 121  
     public void setMinTotalUnits(Integer minTotalUnits) {
 122  0
         this.minTotalUnits = minTotalUnits;
 123  0
     }
 124  
 
 125  
 
 126  
     /**
 127  
      * The maximum total number of credits or units earned by the
 128  
      * Student. This field will be used for calculations. If
 129  
      * specified, should be greater than or equal to the
 130  
      * minTotalUnits.
 131  
      */
 132  
 
 133  
     public Integer getMaxTotalUnits() {
 134  0
         return maxTotalUnits;
 135  
     }
 136  
 
 137  
     public void setMaxTotalUnits(Integer maxTotalUnits) {
 138  0
         this.maxTotalUnits = maxTotalUnits;
 139  0
     }
 140  
 
 141  
 
 142  
     /**
 143  
      * The total credit hours for use in evaluating the Instructor,
 144  
      * meant to cover the concept of Contact Hours
 145  
      */
 146  
 
 147  
     public Integer getInstructorUnits() {
 148  0
         return instructorUnits;
 149  
     }
 150  
 
 151  
     public void setInstructorUnits(Integer instructorUnits) {
 152  0
         this.instructorUnits = instructorUnits;
 153  0
     }
 154  
 
 155  
 
 156  
     /**
 157  
      * Minimum amount of time required to complete the CLU. If
 158  
      * specified, should be less than or equal to maxTimeToComplete.
 159  
      */
 160  
 
 161  
     public TimeAmountInfo getMinTimeToComplete() {
 162  0
         return minTimeToComplete;
 163  
     }
 164  
 
 165  
     public void setMinTimeToComplete(TimeAmountInfo minTimeToComplete) {
 166  0
         this.minTimeToComplete = minTimeToComplete;
 167  0
     }
 168  
 
 169  
 
 170  
     /**
 171  
      * The default maximum amount of time allowed to complete the
 172  
      * CLU. If specified, should be greater than or equal to the
 173  
      * minTimeToComplete.
 174  
      */
 175  
 
 176  
     public TimeAmountInfo getMaxTimeToComplete() {
 177  0
         return maxTimeToComplete;
 178  
     }
 179  
 
 180  
     public void setMaxTimeToComplete(TimeAmountInfo maxTimeToComplete) {
 181  0
         this.maxTimeToComplete = maxTimeToComplete;
 182  0
     }
 183  
 
 184  
 
 185  
     /**
 186  
      * The Maximum Allowable Number of Time Periods of Inactivity
 187  
      * (i.e. Stale or Resting time).
 188  
      */
 189  
 
 190  
     public TimeAmountInfo getMaxAllowableInactivity() {
 191  0
         return maxAllowableInactivity;
 192  
     }
 193  
 
 194  
     public void setMaxAllowableInactivity(TimeAmountInfo maxAllowableInactivity) {
 195  0
         this.maxAllowableInactivity = maxAllowableInactivity;
 196  0
     }
 197  
 
 198  
 
 199  
     /**
 200  
      * After this period expires, the results will no longer be
 201  
      * recognized and the student will have to retake the CLU. This
 202  
      * may apply to certain types of exams.
 203  
      */
 204  
 
 205  
     public TimeAmountInfo getMaxTimeResultsRecognized() {
 206  0
         return maxTimeResultsRecognized;
 207  
     }
 208  
 
 209  
     public void setMaxTimeResultsRecognized(TimeAmountInfo maxTimeResultsRecognized) {
 210  0
         this.maxTimeResultsRecognized = maxTimeResultsRecognized;
 211  0
     }
 212  
 }