KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > rpc > Bean


1
2 package test.rpc;
3
4 import java.util.Calendar JavaDoc;
5
6 public class Bean implements IF1
7 {
8     protected String JavaDoc id;
9     protected String JavaDoc title;
10     protected String JavaDoc category;
11     protected Calendar JavaDoc date;
12
13     public Bean()
14     {
15     }
16
17     public String JavaDoc getId()
18     {
19         return id;
20     }
21
22     public void setId(String JavaDoc aId)
23     {
24         id = aId;
25     }
26
27     public String JavaDoc getTitle()
28     {
29         return title;
30     }
31
32     public void setTitle(String JavaDoc aTitle)
33     {
34         title = aTitle;
35     }
36
37     public String JavaDoc getCategory()
38     {
39         return category;
40     }
41
42     public void setCategory(String JavaDoc aCategory)
43     {
44         category = aCategory;
45     }
46     
47     public Calendar JavaDoc getDate()
48     {
49         return date;
50     }
51
52     public void setDate(Calendar JavaDoc aDate)
53     {
54         date = aDate;
55     }
56 }
57
58
Popular Tags