//$Id: Employee.java 7192 2005-06-18 14:40:15Z oneovthafew $ package org.hibernate.test.unionsubclass2; import java.math.BigDecimal; /** * @author Gavin King */ public class Employee extends Person { private String title; private BigDecimal salary; private double passwordExpiryDays; private Employee manager; /** * @return Returns the title. */ public String getTitle() { return title; } /** * @param title The title to set. */ public void setTitle(String title) { this.title = title; } /** * @return Returns the manager. */ public Employee getManager() { return manager; } /** * @param manager The manager to set. */ public void setManager(Employee manager) { this.manager = manager; } /** * @return Returns the salary. */ public BigDecimal getSalary() { return salary; } /** * @param salary The salary to set. */ public void setSalary(BigDecimal salary) { this.salary = salary; } /** * @return The password expiry policy in days. */ public double getPasswordExpiryDays() { return passwordExpiryDays; } /** * @param passwordExpiryDays The password expiry policy in days. */ public void setPasswordExpiryDays(double passwordExpiryDays) { this.passwordExpiryDays = passwordExpiryDays; } }