KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Componentizable.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 /**
5  * contains components
6  *
7  * @author emmanuel
8  */

9 public class Componentizable {
10     /** surrogate id */
11     private Integer JavaDoc _id;
12     
13     public String JavaDoc _nickName;
14     
15     /** component */
16     private Component _component;
17
18     /**
19      * @return
20      */

21     public Integer JavaDoc getId() {
22         return _id;
23     }
24
25     /**
26      * @param integer
27      */

28     public void setId(Integer JavaDoc integer) {
29         _id = integer;
30     }
31
32     /**
33      * @return
34      */

35     public Component getComponent() {
36         return _component;
37     }
38
39     /**
40      * @param component
41      */

42     public void setComponent(Component component) {
43         _component = component;
44     }
45
46     /**
47      * @return
48      */

49     public String JavaDoc getNickName() {
50         return _nickName;
51     }
52
53     /**
54      * @param string
55      */

56     public void setNickName(String JavaDoc string) {
57         _nickName = string;
58     }
59
60 }
61
Popular Tags