KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Group.java,v 1.2 2005/02/12 07:27:29 steveebersole Exp $
2
package org.hibernate.test.mapelemformula;
3
4 import java.util.HashMap JavaDoc;
5 import java.util.Map JavaDoc;
6
7 /**
8  * @author Gavin King
9  */

10 public class Group {
11     private String JavaDoc name;
12     private Map JavaDoc users = new HashMap JavaDoc();
13     Group() {}
14     public Group(String JavaDoc n) {
15         name = n;
16     }
17     public String JavaDoc getName() {
18         return name;
19     }
20     public void setName(String JavaDoc name) {
21         this.name = name;
22     }
23     public Map JavaDoc getUsers() {
24         return users;
25     }
26     public void setUsers(Map JavaDoc users) {
27         this.users = users;
28     }
29 }
30
Popular Tags