KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Category.java,v 1.1 2005/05/31 04:21:58 oneovthafew Exp $
2
package org.hibernate.test.joinfetch;
3
4 /**
5  * @author Gavin King
6  */

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