KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Group.java,v 1.1 2005/07/21 01:56:40 oneovthafew Exp $
2
package org.hibernate.test.propertyref;
3
4 import java.util.HashSet JavaDoc;
5 import java.util.Set JavaDoc;
6
7 public class Group {
8     private String JavaDoc name;
9     private Set JavaDoc users = new HashSet JavaDoc();
10     
11     public String JavaDoc getName() {
12         return name;
13     }
14     public void setName(String JavaDoc name) {
15         this.name = name;
16     }
17     public Set JavaDoc getUsers() {
18         return users;
19     }
20     public void setUsers(Set JavaDoc users) {
21         this.users = users;
22     }
23 }
24
Popular Tags