~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/joinedsubclass/Employee.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//$Id: Employee.java 4364 2004-08-17 12:10:32Z oneovthafew $
 
2
package org.hibernate.test.joinedsubclass;
 
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
}