KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > unionsubclass > Hive


1 //$Id: Hive.java,v 1.2 2005/02/12 07:27:32 steveebersole Exp $
2
package org.hibernate.test.unionsubclass;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6
7 /**
8  * @author Gavin King
9  */

10 public class Hive {
11     private long id;
12     private Location location;
13     private List JavaDoc members = new ArrayList JavaDoc();
14     public List JavaDoc getMembers() {
15         return members;
16     }
17     public void setMembers(List JavaDoc hives) {
18         this.members = hives;
19     }
20     public long getId() {
21         return id;
22     }
23     public void setId(long id) {
24         this.id = id;
25     }
26     public Location getLocation() {
27         return location;
28     }
29     public void setLocation(Location location) {
30         this.location = location;
31     }
32 }
33
Popular Tags