1
// $Id: Employee.java 5899 2005-02-24 20:08:04Z steveebersole $
2
package org.hibernate.test.subclassfilter;
5
import java.util.HashSet;
8
* Implementation of Employee.
10
* @author Steve Ebersole
12
public class Employee extends Person {
14
private String department;
15
private Employee manager;
16
private Set minions = new HashSet();
21
public Employee(String name) {
25
public String getTitle() {
29
public void setTitle(String title) {
33
public String getDepartment() {
37
public void setDepartment(String department) {
38
this.department = department;
41
public Employee getManager() {
45
public void setManager(Employee manager) {
46
this.manager = manager;
49
public Set getMinions() {
53
public void setMinions(Set minions) {
54
this.minions = minions;