KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > odmg > shared > Site


1 package org.apache.ojb.odmg.shared;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  *
7  * @author <a HREF="mailto:armin@codeAuLait.de">Armin Waibel</a>
8  * @version $Id: Site.java,v 1.1 2004/06/22 18:16:22 arminw Exp $
9  */

10 public class Site implements Serializable JavaDoc
11 {
12     private Integer JavaDoc id;
13     private String JavaDoc name;
14     private Integer JavaDoc year;
15     private Integer JavaDoc semester;
16
17     public Integer JavaDoc getId()
18     {
19         return id;
20     }
21
22     public void setId(Integer JavaDoc id)
23     {
24         this.id = id;
25     }
26
27     public String JavaDoc getName()
28     {
29         return name;
30     }
31
32     public void setName(String JavaDoc name)
33     {
34         this.name = name;
35     }
36
37     public Integer JavaDoc getYear()
38     {
39         return year;
40     }
41
42     public void setYear(Integer JavaDoc year)
43     {
44         this.year = year;
45     }
46
47     public Integer JavaDoc getSemester()
48     {
49         return semester;
50     }
51
52     public void setSemester(Integer JavaDoc semester)
53     {
54         this.semester = semester;
55     }
56 }
57
Popular Tags