KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Parent.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 public class Parent {
5     private long id;
6     private int count;
7     private Child child;
8     private Object JavaDoc any;
9     private int x;
10     
11     public int getX() {
12         return x;
13     }
14     public void setX(int x) {
15         this.x = x;
16     }
17     
18     public int getCount() {
19         return count;
20     }
21     
22     
23     public long getId() {
24         return id;
25     }
26     
27     
28     public void setCount(int count) {
29         this.count = count;
30     }
31     
32     
33     public void setId(long id) {
34         this.id = id;
35     }
36     
37     
38     public Child getChild() {
39         return child;
40     }
41     
42     
43     public void setChild(Child child) {
44         this.child = child;
45     }
46     
47     public Object JavaDoc getAny() {
48         return any;
49     }
50
51     public void setAny(Object JavaDoc any) {
52         this.any = any;
53     }
54
55 }
56
57
58
59
60
61
62
63
Popular Tags