Coverage Report - org.kuali.student.enrollment.registration.course.dto.RegRequestItemInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
RegRequestItemInfo
0%
0/37
0%
0/2
1.071
 
 1  
 package org.kuali.student.enrollment.registration.course.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.registration.course.infc.RegRequestItem;
 13  
 import org.kuali.student.enrollment.registration.course.infc.RegResponseItem;
 14  
 import org.kuali.student.r2.common.dto.IdEntityInfo;
 15  
 import org.w3c.dom.Element;
 16  
 
 17  
 @XmlAccessorType(XmlAccessType.FIELD)
 18  
 @XmlType(name = "RegRequestItemInfo", propOrder = {"id", "name", "descr", "typeKey", "stateKey", "newRegGroupId",
 19  
         "existingRegGroupId", "okToWaitlist", "okToHoldList", "gradingOption", "creditOption", "meta", "attributes",
 20  
         "_futureElements"})
 21  
 public class RegRequestItemInfo extends IdEntityInfo implements RegRequestItem, Serializable {
 22  
 
 23  
     private static final long serialVersionUID = 1L;
 24  
     @XmlElement
 25  
     private String newRegGroupId;
 26  
 
 27  
     @XmlElement
 28  
     private String existingRegGroupId;
 29  
 
 30  
     @XmlElement
 31  
     private Boolean okToWaitlist;
 32  
 
 33  
     @XmlElement
 34  
     private Boolean okToHoldList;
 35  
 
 36  
     @XmlElement
 37  
     private String gradingOption;
 38  
 
 39  
     @XmlElement
 40  
     private String creditOption;
 41  
 
 42  
     @XmlAnyElement
 43  
     private List<Element> _futureElements;
 44  
 
 45  
     public RegRequestItemInfo() {
 46  0
         super();
 47  0
         this.newRegGroupId = null;
 48  0
         this.existingRegGroupId = null;
 49  0
         this.okToWaitlist = null;
 50  0
         this.okToHoldList = null;
 51  0
         this.gradingOption = null;
 52  0
         this.creditOption = null;
 53  0
         this._futureElements = null;
 54  
 
 55  0
     }
 56  
 
 57  
     public RegRequestItemInfo(RegRequestItem regRequestItem) {
 58  0
         super(regRequestItem);
 59  
 
 60  0
         if (null != regRequestItem) {
 61  0
             this.newRegGroupId = regRequestItem.getNewRegGroupId();
 62  0
             this.existingRegGroupId = regRequestItem.getExistingRegGroupId();
 63  0
             this.okToWaitlist = regRequestItem.getOkToWaitlist();
 64  0
             this.okToHoldList = regRequestItem.getOkToHoldList();
 65  0
             this.gradingOption = regRequestItem.getGradingOption();
 66  0
             this.creditOption = regRequestItem.getCreditOption();
 67  0
             this._futureElements = null;
 68  
         }
 69  0
     }
 70  
 
 71  
     public void setNewRegGroupId(String newRegGroupId) {
 72  0
         this.newRegGroupId = newRegGroupId;
 73  0
     }
 74  
 
 75  
     public void setExistingRegGroupId(String existingRegGroupId) {
 76  0
         this.existingRegGroupId = existingRegGroupId;
 77  0
     }
 78  
 
 79  
     public void setOkToWaitlist(Boolean okToWaitlist) {
 80  0
         this.okToWaitlist = okToWaitlist;
 81  0
     }
 82  
 
 83  
     public void setOkToHoldList(Boolean okToHoldList) {
 84  0
         this.okToHoldList = okToHoldList;
 85  0
     }
 86  
 
 87  
     public void setGradingOption(String gradingOption) {
 88  0
         this.gradingOption = gradingOption;
 89  0
     }
 90  
 
 91  
     public void setCreditOption(String creditOption) {
 92  0
         this.creditOption = creditOption;
 93  0
     }
 94  
 
 95  
     @Override
 96  
     public String getNewRegGroupId() {
 97  
 
 98  0
         return newRegGroupId;
 99  
     }
 100  
 
 101  
     @Override
 102  
     public String getExistingRegGroupId() {
 103  
 
 104  0
         return existingRegGroupId;
 105  
     }
 106  
 
 107  
     @Override
 108  
     public Boolean getOkToWaitlist() {
 109  
 
 110  0
         return okToWaitlist;
 111  
     }
 112  
 
 113  
     @Override
 114  
     public Boolean getOkToHoldList() {
 115  
 
 116  0
         return okToHoldList;
 117  
     }
 118  
 
 119  
     @Override
 120  
     public String getGradingOption() {
 121  
 
 122  0
         return gradingOption;
 123  
     }
 124  
 
 125  
     @Override
 126  
     public String getCreditOption() {
 127  
 
 128  0
         return creditOption;
 129  
     }
 130  
 
 131  
 }