Source code: org/hibernate/test/ondelete/Employee.java
1 //$Id: Employee.java 7119 2005-06-12 22:03:30Z oneovthafew $
2 package org.hibernate.test.ondelete;
3
4 import java.math.BigDecimal;
5
6 /**
7 * @author Gavin King
8 */
9 public class Employee extends Person {
10 private String title;
11 private BigDecimal salary;
12 private Employee manager;
13 /**
14 * @return Returns the title.
15 */
16 public String getTitle() {
17 return title;
18 }
19 /**
20 * @param title The title to set.
21 */
22 public void setTitle(String title) {
23 this.title = title;
24 }
25 /**
26 * @return Returns the manager.
27 */
28 public Employee getManager() {
29 return manager;
30 }
31 /**
32 * @param manager The manager to set.
33 */
34 public void setManager(Employee manager) {
35 this.manager = manager;
36 }
37 /**
38 * @return Returns the salary.
39 */
40 public BigDecimal getSalary() {
41 return salary;
42 }
43 /**
44 * @param salary The salary to set.
45 */
46 public void setSalary(BigDecimal salary) {
47 this.salary = salary;
48 }
49 }