|
Hibernate example source code file (Employee.java)
The Hibernate Employee.java source code// $Id: Employee.java 5899 2005-02-24 20:08:04Z steveebersole $ package org.hibernate.test.subclassfilter; import java.util.HashSet; import java.util.Set; /** * Implementation of Employee. * * @author Steve Ebersole */ public class Employee extends Person { private String title; private String department; private Employee manager; private Set minions = new HashSet(); public Employee() { } public Employee(String name) { super( name ); } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDepartment() { return department; } public void setDepartment(String department) { this.department = department; } public Employee getManager() { return manager; } public void setManager(Employee manager) { this.manager = manager; } public Set getMinions() { return minions; } public void setMinions(Set minions) { this.minions = minions; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Employee.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.