KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > Po


1 //$Id: Po.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.util.List JavaDoc;
5 import java.util.Set JavaDoc;
6
7
8 /**
9  *
10  */

11 public class Po {
12     private long id;
13     private String JavaDoc value;
14     private Set JavaDoc set;
15     private List JavaDoc list;
16     private Top top;
17     private Lower lower;
18     /**
19      * Returns the id.
20      * @return long
21      */

22     public long getId() {
23         return id;
24     }
25     
26     /**
27      * Returns the value.
28      * @return String
29      */

30     public String JavaDoc getValue() {
31         return value;
32     }
33     
34     /**
35      * Sets the id.
36      * @param id The id to set
37      */

38     public void setId(long id) {
39         this.id = id;
40     }
41     
42     /**
43      * Sets the value.
44      * @param value The value to set
45      */

46     public void setValue(String JavaDoc value) {
47         this.value = value;
48     }
49     
50     /**
51      * Returns the set.
52      * @return Set
53      */

54     public Set JavaDoc getSet() {
55         return set;
56     }
57     
58     /**
59      * Sets the set.
60      * @param set The set to set
61      */

62     public void setSet(Set JavaDoc set) {
63         this.set = set;
64     }
65     
66     /**
67      * Returns the list.
68      * @return List
69      */

70     public List JavaDoc getList() {
71         return list;
72     }
73     
74     /**
75      * Sets the list.
76      * @param list The list to set
77      */

78     public void setList(List JavaDoc list) {
79         this.list = list;
80     }
81     
82     public Lower getLower() {
83         return lower;
84     }
85
86     public Top getTop() {
87         return top;
88     }
89
90     public void setLower(Lower lower) {
91         this.lower = lower;
92     }
93
94     public void setTop(Top top) {
95         this.top = top;
96     }
97
98 }
99
100
101
102
103
104
105
Popular Tags