KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > typeparameters > Widget


1 package org.hibernate.test.typeparameters;
2
3 /**
4  * @author Michael Gloegl
5  */

6 public class Widget {
7
8     private int valueOne = 1;
9     private int valueTwo = 2;
10     private int valueThree = -1;
11     private int valueFour = -5;
12     private Integer JavaDoc id;
13     private String JavaDoc string;
14
15     public int getValueOne() {
16         return valueOne;
17     }
18
19     public void setValueOne(int valueOne) {
20         this.valueOne = valueOne;
21     }
22
23     public int getValueThree() {
24         return valueThree;
25     }
26
27     public void setValueThree(int valueThree) {
28         this.valueThree = valueThree;
29     }
30
31     public int getValueTwo() {
32         return valueTwo;
33     }
34
35     public void setValueTwo(int valueTwo) {
36         this.valueTwo = valueTwo;
37     }
38
39     public Integer JavaDoc getId() {
40         return id;
41     }
42
43     public void setId(Integer JavaDoc id) {
44         this.id = id;
45     }
46
47     public String JavaDoc getString() {
48         return string;
49     }
50
51     public void setString(String JavaDoc string) {
52         this.string = string;
53     }
54
55     public int getValueFour() {
56         return valueFour;
57     }
58
59     public void setValueFour(int valueFour) {
60         this.valueFour = valueFour;
61     }
62 }
63
Popular Tags