KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > ecid > Course


1 //$Id: Course.java,v 1.1 2005/05/25 17:37:51 oneovthafew Exp $
2
package org.hibernate.test.ecid;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

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