KickJava   Java API By Example, From Geeks To Geeks.

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


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

9 public class Component {
10     private String JavaDoc _name;
11     
12     private SubComponent _subComponent;
13
14     /**
15      * @return
16      */

17     public String JavaDoc getName() {
18         return _name;
19     }
20
21     /**
22      * @param string
23      */

24     public void setName(String JavaDoc string) {
25         _name = string;
26     }
27
28     /**
29      * @return
30      */

31     public SubComponent getSubComponent() {
32         return _subComponent;
33     }
34
35     /**
36      * @param component
37      */

38     public void setSubComponent(SubComponent component) {
39         _subComponent = component;
40     }
41
42 }
43
Popular Tags