KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

21     public String JavaDoc getName() {
22         return name;
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 name.
35      * @param name The name to set
36      */

37     public void setName(String JavaDoc name) {
38         this.name = name;
39     }
40     
41     public E getForward() {
42         return forward;
43     }
44
45     public void setForward(E e) {
46         forward = e;
47     }
48
49 }
50
51
52
53
54
55
56
Popular Tags