KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Item.java,v 1.3 2005/02/12 07:27:21 steveebersole Exp $
2
package org.hibernate.test.cache;
3
4
5 /**
6  * @author Gavin King
7  */

8 public class Item {
9     private Long JavaDoc 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 JavaDoc getId() {
20         return id;
21     }
22     public void setId(Long JavaDoc 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