KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > subselectfetch > Child


1 //$Id: Child.java,v 1.1 2005/03/17 05:56:00 oneovthafew Exp $
2
package org.hibernate.test.subselectfetch;
3
4 import java.util.List JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

9 public class Child {
10     private String JavaDoc name;
11     private List JavaDoc friends;
12
13     Child() {}
14     public Child(String JavaDoc name) {
15         this.name = name;
16     }
17
18     public String JavaDoc getName() {
19         return name;
20     }
21     
22     public void setName(String JavaDoc name) {
23         this.name = name;
24     }
25     public List JavaDoc getFriends() {
26         return friends;
27     }
28     
29     public void setFriends(List JavaDoc friends) {
30         this.friends = friends;
31     }
32     
33     
34 }
35
Popular Tags