KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Item.java,v 1.1 2004/12/22 22:33:51 oneovthafew Exp $
2
package org.hibernate.test.querycache;
3
4
5 /**
6  * @author Gavin King
7  */

8 public class Item {
9     private long id;
10     private String JavaDoc name;
11     private String JavaDoc description;
12     
13     public String JavaDoc getDescription() {
14         return description;
15     }
16     public void setDescription(String JavaDoc description) {
17         this.description = description;
18     }
19     public long getId() {
20         return id;
21     }
22     public void setId(long id) {
23         this.id = id;
24     }
25     public String JavaDoc getName() {
26         return name;
27     }
28     public void setName(String JavaDoc name) {
29         this.name = name;
30     }
31 }
32
Popular Tags