KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > unconstrained > Employee


1 //$Id: Employee.java,v 1.1 2005/04/03 03:56:22 oneovthafew Exp $
2
package org.hibernate.test.unconstrained;
3
4 /**
5  * @author Gavin King
6  */

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