1 package com.iqjava.employee; 2 3 // Generated Nov 3, 2009 6:02:21 PM by Hibernate Tools 3.2.4.GA 4 5 /** 6 * This class contains the employee details. 7 */ 8 public class Employee implements java.io.Serializable { 9 10 private long employeeId; 11 private String employeeName; 12 13 public Employee() { 14 } 15 16 public Employee(String employeeName) { 17 this.employeeName = employeeName; 18 } 19 20 public long getEmployeeId() { 21 return this.employeeId; 22 } 23 24 public void setEmployeeId(long employeeId) { 25 this.employeeId = employeeId; 26 } 27 28 public String getEmployeeName() { 29 return this.employeeName; 30 } 31 32 public void setEmployeeName(String employeeName) { 33 this.employeeName = employeeName; 34 } 35 36 } 37 38