1 package org.hibernate.test.ondelete; 3 4 import java.math.BigDecimal ; 5 6 9 public class Employee extends Person { 10 private String title; 11 private BigDecimal salary; 12 private Employee manager; 13 16 public String getTitle() { 17 return title; 18 } 19 22 public void setTitle(String title) { 23 this.title = title; 24 } 25 28 public Employee getManager() { 29 return manager; 30 } 31 34 public void setManager(Employee manager) { 35 this.manager = manager; 36 } 37 40 public BigDecimal getSalary() { 41 return salary; 42 } 43 46 public void setSalary(BigDecimal salary) { 47 this.salary = salary; 48 } 49 } 50 | Popular Tags |