KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > subclassfilter > Customer


1 // $Id: Customer.java,v 1.1 2005/02/24 20:08:04 steveebersole Exp $
2
package org.hibernate.test.subclassfilter;
3
4 /**
5  * Implementation of Customer.
6  *
7  * @author Steve Ebersole
8  */

9 public class Customer extends Person {
10     private Employee contactOwner;
11
12     public Customer() {
13     }
14
15     public Customer(String JavaDoc name) {
16         super( name );
17     }
18
19     public Employee getContactOwner() {
20         return contactOwner;
21     }
22
23     public void setContactOwner(Employee contactOwner) {
24         this.contactOwner = contactOwner;
25     }
26 }
27
Popular Tags