Coverage Report - org.kuali.student.enrollment.courseregistration.dto.CreditLoadInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CreditLoadInfo
0%
0/21
0%
0/2
1.1
 
 1  
 /*
 2  
  * Copyright 2012 The Kuali Foundation 
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the
 5  
  * "License"); you may not use this file except in compliance with the
 6  
  * License. You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.osedu.org/licenses/ECL-2.0
 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.enrollment.courseregistration.dto;
 18  
 
 19  
 import java.io.Serializable;
 20  
 import java.util.Date;
 21  
 import java.util.List;
 22  
 
 23  
 import javax.xml.bind.annotation.XmlAccessType;
 24  
 import javax.xml.bind.annotation.XmlAccessorType;
 25  
 import javax.xml.bind.annotation.XmlAnyElement;
 26  
 import javax.xml.bind.annotation.XmlElement;
 27  
 import javax.xml.bind.annotation.XmlType;
 28  
 
 29  
 import org.kuali.student.enrollment.courseregistration.infc.CreditLoad;
 30  
 import org.w3c.dom.Element;
 31  
  
 32  
 @XmlAccessorType(XmlAccessType.FIELD)
 33  
 @XmlType(name = "CreditLoadInfo", propOrder = {
 34  
                 "studentId", "creditLoad", "creditLimit", "additionalCredits",
 35  
                 "_futureElements"})
 36  
 
 37  
 public class CreditLoadInfo 
 38  
     implements CreditLoad, Serializable {
 39  
 
 40  
     private static final long serialVersionUID = 1L;
 41  
 
 42  
     @XmlElement
 43  
     private String studentId;
 44  
 
 45  
     @XmlElement
 46  
     private String creditLoad;
 47  
 
 48  
     @XmlElement
 49  
     private String creditLimit;
 50  
 
 51  
     @XmlElement
 52  
     private String additionalCredits;
 53  
 
 54  
     @XmlAnyElement
 55  
     private List<Element> _futureElements;
 56  
 
 57  
 
 58  
     /**
 59  
      * Constructs a new CreditLoadInfo.
 60  
      */
 61  0
     public CreditLoadInfo() {
 62  0
     }
 63  
 
 64  
     /**
 65  
      * Constructs a new CreditLoadInfo from another CreditLoad.
 66  
      *
 67  
      * @param creditLoad the CreditLoad to copy
 68  
      */
 69  
 
 70  0
     public CreditLoadInfo(CreditLoad creditLoad) {
 71  0
         if (creditLoad != null) {
 72  0
             this.studentId = creditLoad.getStudentId();
 73  0
             this.creditLoad = creditLoad.getCreditLoad();
 74  0
             this.creditLimit = creditLoad.getCreditLimit();
 75  0
             this.additionalCredits = creditLoad.getAdditionalCredits();
 76  
         }
 77  0
     }
 78  
   
 79  
     @Override
 80  
     public String getStudentId() {
 81  0
         return studentId;
 82  
     }
 83  
 
 84  
     public void setStudentId(String studentId) {
 85  0
         this.studentId = studentId;
 86  0
     }
 87  
 
 88  
     @Override
 89  
     public String getCreditLoad() {
 90  0
         return creditLoad;
 91  
     }
 92  
 
 93  
     public void setCreditLoad(String creditLoad) {
 94  0
         this.creditLoad = creditLoad;
 95  0
     }
 96  
 
 97  
     @Override
 98  
     public String getCreditLimit() {
 99  0
         return creditLimit;
 100  
     }
 101  
 
 102  
     public void setCreditLimit(String creditLimit) {
 103  0
         this.creditLimit = creditLimit;
 104  0
     }
 105  
 
 106  
     @Override
 107  
     public String getAdditionalCredits() {
 108  0
         return additionalCredits;
 109  
     }
 110  
 
 111  
     public void setAdditionalCredits(String credits) {
 112  0
         this.additionalCredits = credits;
 113  0
     }
 114  
 }