org.hibernate.test.discriminator
Class Employee

java.lang.Object
  extended by org.hibernate.test.discriminator.Person
      extended by org.hibernate.test.discriminator.Employee
Direct Known Subclasses:
PartTimeEmployee

public class Employee
extends Person


Constructor Summary
Employee()
           
 
Method Summary
 Employee getManager()
           
 BigDecimal getSalary()
           
 String getTitle()
           
 void setManager(Employee manager)
           
 void setSalary(BigDecimal salary)
           
 void setTitle(String title)
           
 
Methods inherited from class org.hibernate.test.discriminator.Person
getAddress, getId, getName, getSex, setAddress, setCountry, setId, setName, setSex, setZip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Employee

public Employee()
Method Detail

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.