KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > iterate > Item


1 //$Id: Item.java,v 1.1 2005/04/28 15:52:26 oneovthafew Exp $
2
package org.hibernate.test.iterate;
3
4 /**
5  * @author Gavin King
6  */

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