KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > hql > DomesticAnimal


1 //$Id: DomesticAnimal.java,v 1.2 2004/12/06 14:17:23 pgmjsd Exp $
2
package org.hibernate.test.hql;
3
4 /**
5  * @author Gavin King
6  */

7 public class DomesticAnimal extends Mammal {
8     private Human owner;
9
10     public Human getOwner() {
11         return owner;
12     }
13
14     public void setOwner(Human owner) {
15         this.owner = owner;
16     }
17 }
18
Popular Tags