KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > joinfetch > Group


1 //$Id: Group.java,v 1.1 2005/06/17 05:23:15 oneovthafew Exp $
2
package org.hibernate.test.joinfetch;
3
4 import java.util.HashMap JavaDoc;
5 import java.util.Map JavaDoc;
6
7 public class Group {
8     private String JavaDoc name;
9     private Map JavaDoc users = new HashMap JavaDoc();
10     
11     public Group(String JavaDoc name) {
12         this.name = name;
13     }
14
15     Group() {}
16
17     public String JavaDoc getName() {
18         return name;
19     }
20
21     public void setName(String JavaDoc name) {
22         this.name = name;
23     }
24
25     public Map JavaDoc getUsers() {
26         return users;
27     }
28
29     public void setUsers(Map JavaDoc users) {
30         this.users = users;
31     }
32
33 }
34
Popular Tags