1 package org.hibernate.test.ecid; 3 4 import java.io.Serializable ; 5 6 9 public class Course implements Serializable { 10 11 private String courseCode; 12 private String org; 13 private String description; 14 15 Course() {} 16 Course(String courseCode, String org, String description) { 17 this.courseCode = courseCode; 18 this.org = org; 19 this.description = description; 20 } 21 22 public String getDescription() { 23 return description; 24 } 25 26 public void setDescription(String description) { 27 this.description = description; 28 } 29 30 public String getCourseCode() { 31 return courseCode; 32 } 33 34 public String getOrg() { 35 return org; 36 } 37 38 } 39 | Popular Tags |