Coverage Report - org.kuali.student.enrollment.class2.acal.dto.TermWrapper
 
Classes in this File Line Coverage Branch Coverage Complexity
TermWrapper
0%
0/30
N/A
1
 
 1  
 package org.kuali.student.enrollment.class2.acal.dto;
 2  
 
 3  
 import org.kuali.student.enrollment.acal.dto.KeyDateInfo;
 4  
 import org.kuali.student.enrollment.acal.dto.TermInfo;
 5  
 
 6  
 import java.io.Serializable;
 7  
 
 8  
 //This code is for core slice
 9  
 //Core slice class.
 10  
 @Deprecated
 11  
 public class TermWrapper implements Serializable {
 12  
         private static final long serialVersionUID = 1L;
 13  
         
 14  
         String id;
 15  
     TermInfo termInfo;
 16  
     KeyDateInfo classesMeetDates;
 17  
     KeyDateInfo registrationPeriod;
 18  
     KeyDateInfo dropPeriodEndsDate;
 19  
     KeyDateInfo finalExaminationsDates;
 20  
     KeyDateInfo gradesDueDate;
 21  
     
 22  0
         public TermWrapper (){
 23  0
                 termInfo = new TermInfo();
 24  0
                 classesMeetDates = new KeyDateInfo();
 25  0
                 registrationPeriod = new KeyDateInfo();
 26  0
                 dropPeriodEndsDate = new KeyDateInfo();
 27  0
                 finalExaminationsDates = new KeyDateInfo();
 28  0
                 gradesDueDate = new KeyDateInfo();
 29  0
         }
 30  
 
 31  
     /**
 32  
          * @return the id
 33  
          */
 34  
         public String getId() {
 35  0
                 return id;
 36  
         }
 37  
         /**
 38  
          * @param id the id to set. It equals to termInfo.getId()
 39  
          */
 40  
         public void setId(String id) {
 41  0
                 this.id = id;
 42  0
         }
 43  
         /**
 44  
          * @return the termInfo
 45  
          */
 46  
         public TermInfo getTermInfo() {
 47  0
                 return termInfo;
 48  
         }
 49  
         /**
 50  
          * @param termInfo the termInfo to set
 51  
          */
 52  
         public void setTermInfo(TermInfo termInfo) {
 53  0
                 this.termInfo = termInfo;
 54  0
         this.id = termInfo.getId();
 55  0
         }
 56  
         /**
 57  
          * @return the classesMeetDates
 58  
          */
 59  
         public KeyDateInfo getClassesMeetDates() {
 60  0
                 return classesMeetDates;
 61  
         }
 62  
         /**
 63  
          * @param classesMeetDates the classesMeetDates to set
 64  
          */
 65  
         public void setClassesMeetDates(KeyDateInfo classesMeetDates) {
 66  0
                 this.classesMeetDates = classesMeetDates;
 67  0
         }
 68  
         /**
 69  
          * @return the registrationPeriod
 70  
          */
 71  
         public KeyDateInfo getRegistrationPeriod() {
 72  0
                 return registrationPeriod;
 73  
         }
 74  
         /**
 75  
          * @param registrationPeriod the registrationPeriod to set
 76  
          */
 77  
         public void setRegistrationPeriod(KeyDateInfo registrationPeriod) {
 78  0
                 this.registrationPeriod = registrationPeriod;
 79  0
         }
 80  
         /**
 81  
          * @return the dropPeriodEndsDate
 82  
          */
 83  
         public KeyDateInfo getDropPeriodEndsDate() {
 84  0
                 return dropPeriodEndsDate;
 85  
         }
 86  
         /**
 87  
          * @param dropPeriodEndsDate the dropPeriodEndsDate to set
 88  
          */
 89  
         public void setDropPeriodEndsDate(KeyDateInfo dropPeriodEndsDate) {
 90  0
                 this.dropPeriodEndsDate = dropPeriodEndsDate;
 91  0
         }
 92  
         /**
 93  
          * @return the finalExaminationsDates
 94  
          */
 95  
         public KeyDateInfo getFinalExaminationsDates() {
 96  0
                 return finalExaminationsDates;
 97  
         }
 98  
         /**
 99  
          * @param finalExaminationsDates the finalExaminationsDates to set
 100  
          */
 101  
         public void setFinalExaminationsDates(KeyDateInfo finalExaminationsDates) {
 102  0
                 this.finalExaminationsDates = finalExaminationsDates;
 103  0
         }
 104  
         /**
 105  
          * @return the gradesDueDate
 106  
          */
 107  
         public KeyDateInfo getGradesDueDate() {
 108  0
                 return gradesDueDate;
 109  
         }
 110  
         /**
 111  
          * @param gradesDueDate the gradesDueDate to set
 112  
          */
 113  
         public void setGradesDueDate(KeyDateInfo gradesDueDate) {
 114  0
                 this.gradesDueDate = gradesDueDate;
 115  0
         }
 116  
     
 117  
 }