KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Many.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 public class Many {
5     Long JavaDoc key;
6     One one;
7     private int x;
8     
9     public int getX() {
10         return x;
11     }
12     public void setX(int x) {
13         this.x = x;
14     }
15     
16     public void setKey(Long JavaDoc key) {
17         this.key = key;
18     }
19     
20     public Long JavaDoc getKey() {
21         return this.key;
22     }
23     
24     public void setOne(One one) {
25         this.one = one;
26     }
27     
28     public One getOne() {
29         return this.one;
30     }
31 }
32
33
34
35
36
37
38
Popular Tags