Coverage Report - org.kuali.student.enrollment.courseregistration.dto.RegRequestItemInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RegRequestItemInfo
0%
0/40
0%
0/2
1.062
 
 1  
 package org.kuali.student.enrollment.courseregistration.dto;
 2  
 
 3  
 import java.io.Serializable;
 4  
 import java.util.List;
 5  
 
 6  
 import javax.xml.bind.annotation.XmlAccessType;
 7  
 import javax.xml.bind.annotation.XmlAccessorType;
 8  
 import javax.xml.bind.annotation.XmlAnyElement;
 9  
 import javax.xml.bind.annotation.XmlElement;
 10  
 import javax.xml.bind.annotation.XmlType;
 11  
 
 12  
 import org.kuali.student.enrollment.courseregistration.infc.RegRequestItem;
 13  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 14  
 import org.w3c.dom.Element;
 15  
 
 16  
 @XmlAccessorType(XmlAccessType.FIELD)
 17  
 @XmlType(name = "RegRequestItemInfo", propOrder = {"id", "name", "descr", "typeKey", "stateKey", "studentId",
 18  
         "newRegGroupId", "existingRegGroupId", "okToWaitlist", "okToHoldList", "gradingOptionKey", "creditOptionKey",
 19  
         "meta", "attributes", "_futureElements"})
 20  
 public class RegRequestItemInfo extends IdEntityInfo implements RegRequestItem, Serializable {
 21  
 
 22  
     private static final long serialVersionUID = 1L;
 23  
   
 24  
     @XmlElement
 25  
     private String studentId;
 26  
 
 27  
     @XmlElement
 28  
     private String newRegGroupId;
 29  
 
 30  
     @XmlElement
 31  
     private String existingRegGroupId;
 32  
 
 33  
     @XmlElement
 34  
     private Boolean okToWaitlist;
 35  
 
 36  
     @XmlElement
 37  
     private Boolean okToHoldList;
 38  
 
 39  
     @XmlElement
 40  
     private String gradingOptionKey;
 41  
 
 42  
     @XmlElement
 43  
     private String creditOptionKey;
 44  
 
 45  
     @XmlAnyElement
 46  
     private List<Element> _futureElements;
 47  
 
 48  
     public RegRequestItemInfo() {
 49  0
         super();
 50  0
         this.newRegGroupId = null;
 51  0
         this.existingRegGroupId = null;
 52  0
         this.okToWaitlist = null;
 53  0
         this.okToHoldList = null;
 54  0
         this.gradingOptionKey = null;
 55  0
         this.creditOptionKey = null;
 56  0
         this._futureElements = null;
 57  
 
 58  0
     }
 59  
 
 60  
     public RegRequestItemInfo(RegRequestItem regRequestItem) {
 61  0
         super(regRequestItem);
 62  
 
 63  0
         if (null != regRequestItem) {
 64  0
             this.newRegGroupId = regRequestItem.getNewRegGroupId();
 65  0
             this.existingRegGroupId = regRequestItem.getExistingRegGroupId();
 66  0
             this.okToWaitlist = regRequestItem.getOkToWaitlist();
 67  0
             this.okToHoldList = regRequestItem.getOkToHoldList();
 68  0
             this.gradingOptionKey = regRequestItem.getGradingOptionKey();
 69  0
             this.creditOptionKey = regRequestItem.getCreditOptionKey();
 70  0
             this._futureElements = null;
 71  
         }
 72  0
     }
 73  
 
 74  
     public void setNewRegGroupId(String newRegGroupId) {
 75  0
         this.newRegGroupId = newRegGroupId;
 76  0
     }
 77  
 
 78  
     public void setExistingRegGroupId(String existingRegGroupId) {
 79  0
         this.existingRegGroupId = existingRegGroupId;
 80  0
     }
 81  
 
 82  
     public void setOkToWaitlist(Boolean okToWaitlist) {
 83  0
         this.okToWaitlist = okToWaitlist;
 84  0
     }
 85  
 
 86  
     public void setOkToHoldList(Boolean okToHoldList) {
 87  0
         this.okToHoldList = okToHoldList;
 88  0
     }
 89  
 
 90  
     public void setGradingOptionKey(String gradingOptionKey) {
 91  0
         this.gradingOptionKey = gradingOptionKey;
 92  0
     }
 93  
 
 94  
     public void setCreditOptionKey(String creditOptionId) {
 95  0
         this.creditOptionKey = creditOptionId;
 96  0
     }
 97  
 
 98  
     @Override
 99  
     public String getNewRegGroupId() {
 100  
 
 101  0
         return newRegGroupId;
 102  
     }
 103  
 
 104  
     @Override
 105  
     public String getExistingRegGroupId() {
 106  
 
 107  0
         return existingRegGroupId;
 108  
     }
 109  
 
 110  
     @Override
 111  
     public Boolean getOkToWaitlist() {
 112  
 
 113  0
         return okToWaitlist;
 114  
     }
 115  
 
 116  
     @Override
 117  
     public Boolean getOkToHoldList() {
 118  
 
 119  0
         return okToHoldList;
 120  
     }
 121  
 
 122  
     @Override
 123  
     public String getGradingOptionKey() {
 124  
 
 125  0
         return gradingOptionKey;
 126  
     }
 127  
 
 128  
     @Override
 129  
     public String getCreditOptionKey() {
 130  
 
 131  0
         return creditOptionKey;
 132  
     }
 133  
 
 134  
     public void setStudentId(String studentId) {
 135  0
         this.studentId = studentId;
 136  0
     }
 137  
 
 138  
     @Override
 139  
     public String getStudentId() {
 140  0
         return studentId;
 141  
     }
 142  
   
 143  
 }