Coverage Report - org.kuali.student.enrollment.registration.course.dto.CourseRegistrationInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
CourseRegistrationInfo
0%
0/22
0%
0/2
1.125
 
 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.CourseRegistration;
 13  
 import org.kuali.student.r2.common.dto.RelationshipInfo;
 14  
 import org.w3c.dom.Element;
 15  
 
 16  
 @XmlAccessorType(XmlAccessType.FIELD)
 17  
 @XmlType(name = "CourseRegistrationInfo", propOrder = {"id", "typeKey", "stateKey", "courseOfferingId", "studentId",
 18  
         "creditCount", "effectiveDate", "expirationDate", "meta", "attributes", "_futureElements"})
 19  
 public class CourseRegistrationInfo extends RelationshipInfo implements CourseRegistration, Serializable {
 20  
 
 21  
     private static final long serialVersionUID = 1L;
 22  
 
 23  
     @XmlElement
 24  
     private String courseOfferingId;
 25  
 
 26  
     @XmlElement
 27  
     private String studentId;
 28  
     
 29  
     @XmlElement
 30  
     private String creditCount;
 31  
     
 32  
 
 33  
     @XmlAnyElement
 34  
     private List<Element> _futureElements;
 35  
     
 36  
     public CourseRegistrationInfo() {
 37  0
         super();
 38  0
         this.courseOfferingId = null;
 39  0
         this.studentId = null;
 40  0
         this.creditCount = null;
 41  0
         this._futureElements = null;
 42  0
     }
 43  
 
 44  
     public CourseRegistrationInfo(CourseRegistration courseRegistration) {
 45  0
         super(courseRegistration);
 46  0
         if (null != courseRegistration) {
 47  0
             this.courseOfferingId = courseRegistration.getCourseOfferingId();
 48  0
             this.studentId = courseRegistration.getStudentId();
 49  0
             this.creditCount = courseRegistration.getCreditCount();
 50  0
             this._futureElements = null;
 51  
         }
 52  0
     }
 53  
 
 54  
     public void setCreditCount(String creditCount) {
 55  0
         this.creditCount = creditCount;
 56  0
     }
 57  
     
 58  
     public void setCourseOfferingId(String courseOfferingId) {
 59  0
         this.courseOfferingId = courseOfferingId;
 60  0
     }
 61  
 
 62  
     public void setStudentId(String studentId) {
 63  0
         this.studentId = studentId;
 64  0
     }
 65  
 
 66  
     @Override
 67  
     public String getCourseOfferingId() {
 68  0
         return courseOfferingId;
 69  
     }
 70  
 
 71  
     @Override
 72  
     public String getStudentId() {
 73  0
         return studentId;
 74  
     }
 75  
 
 76  
     @Override
 77  
     public String getCreditCount() {
 78  0
         return creditCount;
 79  
     }
 80  
 
 81  
 }