~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subclassfilter/Employee.java

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: Employee.java 5899 2005-02-24 20:08:04Z steveebersole $
2
 
package org.hibernate.test.subclassfilter;
3
 
 
4
 
import java.util.Set;
5
 
import java.util.HashSet;
6
 
 
7
 
/**
8
 
 * Implementation of Employee.
9
 
 *
10
 
 * @author Steve Ebersole
11
 
 */
12
 
public class Employee extends Person {
13
 
    private String title;
14
 
        private String department;
15
 
        private Employee manager;
16
 
        private Set minions = new HashSet();
17
 
 
18
 
        public Employee() {
19
 
        }
20
 
 
21
 
        public Employee(String name) {
22
 
                super( name );
23
 
        }
24
 
 
25
 
        public String getTitle() {
26
 
                return title;
27
 
        }
28
 
 
29
 
        public void setTitle(String title) {
30
 
                this.title = title;
31
 
        }
32
 
 
33
 
        public String getDepartment() {
34
 
                return department;
35
 
        }
36
 
 
37
 
        public void setDepartment(String department) {
38
 
                this.department = department;
39
 
        }
40
 
 
41
 
        public Employee getManager() {
42
 
                return manager;
43
 
        }
44
 
 
45
 
        public void setManager(Employee manager) {
46
 
                this.manager = manager;
47
 
        }
48
 
 
49
 
        public Set getMinions() {
50
 
                return minions;
51
 
        }
52
 
 
53
 
        public void setMinions(Set minions) {
54
 
                this.minions = minions;
55
 
        }
56
 
}