KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > interfaceproxy > ItemImpl


1 //$Id: ItemImpl.java,v 1.1 2004/08/22 01:20:07 oneovthafew Exp $
2
package org.hibernate.test.interfaceproxy;
3
4 /**
5  * @author Gavin King
6  */

7 public abstract class ItemImpl implements Item {
8     private Long JavaDoc id;
9     private String JavaDoc name;
10     /**
11      * @return Returns the id.
12      */

13     public Long JavaDoc getId() {
14         return id;
15     }
16     /**
17      * @param id The id to set.
18      */

19     public void setId(Long JavaDoc id) {
20         this.id = id;
21     }
22     /**
23      * @return Returns the name.
24      */

25     public String JavaDoc getName() {
26         return name;
27     }
28     /**
29      * @param name The name to set.
30      */

31     public void setName(String JavaDoc name) {
32         this.name = name;
33     }
34 }
35
Popular Tags