KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Employee.java,v 1.1 2005/05/03 22:59:24 epbernard Exp $
2
package org.hibernate.test.unionsubclass;
3
4 /**
5  * @author Emmanuel Bernard
6  */

7 public class Employee extends Human {
8     private Double JavaDoc salary;
9
10     public Double JavaDoc getSalary() {
11         return salary;
12     }
13
14     public void setSalary(Double JavaDoc salary) {
15         this.salary = salary;
16     }
17 }
18
Popular Tags