KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Group.java,v 1.1 2005/03/11 17:05:18 oneovthafew Exp $
2
package org.hibernate.test.idbag;
3
4 /**
5  * @author Gavin King
6  */

7 public class Group {
8     private String JavaDoc name;
9     
10     Group() {}
11     
12     public Group(String JavaDoc name) {
13         this.name = name;
14     }
15     
16     public String JavaDoc getName() {
17         return name;
18     }
19     
20     void setName(String JavaDoc name) {
21         this.name = name;
22     }
23     
24 }
25
Popular Tags