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 private String id; 7 private String termCode; 8 private String courseOfferingCode; 9 private String courseTitle; 10 private String credits; 11 private String grading; 12 13 private boolean selected; 14 15 private CourseOfferingInfo courseOfferingInfo; 16 17 public ExistingCourseOffering(){ 18 19 } 20 21 public ExistingCourseOffering(CourseOfferingInfo courseOfferingInfo){ 22 this.courseOfferingInfo = courseOfferingInfo; 23 setId(courseOfferingInfo.getId()); 24 setCourseOfferingCode(courseOfferingInfo.getCourseOfferingCode()); 25 setCourseTitle(courseOfferingInfo.getCourseOfferingTitle()); 26 } 27 28 public String getTermCode() { 29 return termCode; 30 } 31 32 public void setTermCode(String termCode) { 33 this.termCode = termCode; 34 } 35 36 public String getCourseOfferingCode() { 37 return courseOfferingCode; 38 } 39 40 public void setCourseOfferingCode(String courseOfferingCode) { 41 this.courseOfferingCode = courseOfferingCode; 42 } 43 44 public String getCourseTitle() { 45 return courseTitle; 46 } 47 48 public void setCourseTitle(String courseTitle) { 49 this.courseTitle = courseTitle; 50 } 51 52 public String getCredits() { 53 return credits; 54 } 55 56 public void setCredits(String credits) { 57 this.credits = credits; 58 } 59 60 public String getGrading() { 61 return grading; 62 } 63 64 public void setGrading(String grading) { 65 this.grading = grading; 66 } 67 68 public CourseOfferingInfo getCourseOfferingInfo() { 69 return courseOfferingInfo; 70 } 71 72 public void setCourseOfferingInfo(CourseOfferingInfo courseOfferingInfo) { 73 this.courseOfferingInfo = courseOfferingInfo; 74 } 75 76 public boolean isSelected() { 77 return selected; 78 } 79 80 public void setSelected(boolean selected) { 81 this.selected = selected; 82 } 83 84 public String getId() { 85 return id; 86 } 87 88 public void setId(String id) { 89 this.id = id; 90 } 91 }