KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Customer.java,v 1.1 2005/06/18 14:40:15 oneovthafew Exp $
2
package org.hibernate.test.unionsubclass2;
3
4 /**
5  * @author Gavin King
6  */

7 public class Customer extends Person {
8     private Employee salesperson;
9     private String JavaDoc comments;
10
11     /**
12      * @return Returns the salesperson.
13      */

14     public Employee getSalesperson() {
15         return salesperson;
16     }
17     /**
18      * @param salesperson The salesperson to set.
19      */

20     public void setSalesperson(Employee salesperson) {
21         this.salesperson = salesperson;
22     }
23     /**
24      * @return Returns the comments.
25      */

26     public String JavaDoc getComments() {
27         return comments;
28     }
29     /**
30      * @param comments The comments to set.
31      */

32     public void setComments(String JavaDoc comments) {
33         this.comments = comments;
34     }
35 }
36
Popular Tags