KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Immutable.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 public class Immutable {
5     private String JavaDoc foo;
6     private String JavaDoc bar;
7     private String JavaDoc id;
8     
9     public String JavaDoc getFoo() {
10         return foo;
11     }
12     
13     public void setFoo(String JavaDoc foo) {
14         this.foo = foo;
15     }
16     
17     public String JavaDoc getBar() {
18         return bar;
19     }
20     
21     public void setBar(String JavaDoc bar) {
22         this.bar = bar;
23     }
24     
25     public String JavaDoc getId() {
26         return id;
27     }
28     
29     public void setId(String JavaDoc id) {
30         this.id = id;
31     }
32     
33 }
34
35
36
37
38
39
40
Popular Tags