1 package org.kuali.student.enrollment.class2.courseoffering.dto; 2 3 import org.kuali.student.enrollment.courseoffering.dto.CourseOfferingInfo; 4 5 public class ExistingCourseOffering { 6 7 private String termCode; 8 private String courseOfferingCode; 9 private String courseTitle; 10 private String credits; 11 private String grading; 12 13 private CourseOfferingInfo courseOfferingInfo; 14 15 public ExistingCourseOffering(){ 16 17 } 18 19 public ExistingCourseOffering(CourseOfferingInfo courseOfferingInfo){ 20 this.courseOfferingInfo = courseOfferingInfo; 21 setCourseOfferingCode(courseOfferingInfo.getCourseOfferingCode()); 22 setCourseTitle(courseOfferingInfo.getCourseOfferingTitle()); 23 } 24 25 public String getTermCode() { 26 return termCode; 27 } 28 29 public void setTermCode(String termCode) { 30 this.termCode = termCode; 31 } 32 33 public String getCourseOfferingCode() { 34 return courseOfferingCode; 35 } 36 37 public void setCourseOfferingCode(String courseOfferingCode) { 38 this.courseOfferingCode = courseOfferingCode; 39 } 40 41 public String getCourseTitle() { 42 return courseTitle; 43 } 44 45 public void setCourseTitle(String courseTitle) { 46 this.courseTitle = courseTitle; 47 } 48 49 public String getCredits() { 50 return credits; 51 } 52 53 public void setCredits(String credits) { 54 this.credits = credits; 55 } 56 57 public String getGrading() { 58 return grading; 59 } 60 61 public void setGrading(String grading) { 62 this.grading = grading; 63 } 64 65 public CourseOfferingInfo getCourseOfferingInfo() { 66 return courseOfferingInfo; 67 } 68 69 public void setCourseOfferingInfo(CourseOfferingInfo courseOfferingInfo) { 70 this.courseOfferingInfo = courseOfferingInfo; 71 } 72 73 }