org.hibernate.test.discriminator
Class Employee
java.lang.Object
org.hibernate.test.discriminator.Person
org.hibernate.test.discriminator.Employee
- Direct Known Subclasses:
- PartTimeEmployee
public class Employee
- extends Person
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Employee
public Employee()
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
getManager
public Employee getManager()
- Returns:
- Returns the manager.
setManager
public void setManager(Employee manager)
- Parameters:
manager
- The manager to set.
getSalary
public BigDecimal getSalary()
- Returns:
- Returns the salary.
setSalary
public void setSalary(BigDecimal salary)
- Parameters:
salary
- The salary to set.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.