KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > ejb > test > pack > explodedpar > Elephant


1 //$Id: Elephant.java,v 1.1 2005/07/21 06:42:27 epbernard Exp $
2
package org.hibernate.ejb.test.pack.explodedpar;
3
4 /**
5  * @author Emmanuel Bernard
6  */

7 public class Elephant {
8     private Integer JavaDoc id;
9     private String JavaDoc name;
10
11     public Integer JavaDoc getId() {
12         return id;
13     }
14
15     public void setId(Integer JavaDoc id) {
16         this.id = id;
17     }
18
19     public String JavaDoc getName() {
20         return name;
21     }
22
23     public void setName(String JavaDoc name) {
24         this.name = name;
25     }
26 }
27
Popular Tags