KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Bar.java,v 1.1 2004/09/26 05:18:24 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 public class Bar extends Abstract implements BarProxy, Named {
5     private String JavaDoc barString;
6     private FooComponent barComponent = new FooComponent("bar", 69, null, null);
7     private Baz baz;
8     private int x;
9     private Object JavaDoc object;
10     
11     public int getX() {
12         return x;
13     }
14     public void setX(int x) {
15         this.x = x;
16     }
17
18     public String JavaDoc getBarString() {
19         return barString;
20     }
21     
22     void setBarString(String JavaDoc barString) {
23         this.barString = barString;
24     }
25     
26     public FooComponent getBarComponent() {
27         return barComponent;
28     }
29     
30     public void setBarComponent(FooComponent barComponent) {
31         this.barComponent = barComponent;
32     }
33     
34     public Baz getBaz() {
35         return baz;
36     }
37     
38     public void setBaz(Baz baz) {
39         this.baz = baz;
40     }
41     
42     private String JavaDoc name = "bar";
43     
44     public String JavaDoc getName() {
45         return name;
46     }
47     
48     public void setName(String JavaDoc name) {
49         this.name = name;
50     }
51
52     public Object JavaDoc getObject() {
53         return object;
54     }
55
56     public void setObject(Object JavaDoc object) {
57         this.object = object;
58     }
59
60 }
61
62
63
64
65
66
67
68
Popular Tags