KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.test.legacy;
2
3
4 public class Y {
5
6     private Long JavaDoc id;
7     private String JavaDoc x;
8     private X theX;
9     /**
10      * Returns the id.
11      * @return Long
12      */

13     public Long JavaDoc getId() {
14         return id;
15     }
16
17     /**
18      * Returns the x.
19      * @return String
20      */

21     public String JavaDoc getX() {
22         return x;
23     }
24
25     /**
26      * Sets the id.
27      * @param id The id to set
28      */

29     public void setId(Long JavaDoc id) {
30         this.id = id;
31     }
32
33     /**
34      * Sets the x.
35      * @param x The x to set
36      */

37     public void setX(String JavaDoc x) {
38         this.x = x;
39     }
40
41     /**
42      * @return
43      */

44     public X getTheX() {
45         return theX;
46     }
47
48     /**
49      * @param x
50      */

51     public void setTheX(X x) {
52         theX = x;
53     }
54
55 }
56
Popular Tags