~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/unionsubclass/Hive.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//$Id: Hive.java 5686 2005-02-12 07:27:32Z steveebersole $
 
2
package org.hibernate.test.unionsubclass;
 
3
 
 
4
import java.util.ArrayList;
 
5
import java.util.List;
 
6
 
 
7
/**
 
8
 * @author Gavin King
 
9
 */
 
10
public class Hive {
 
11
        private long id;
 
12
        private Location location;
 
13
        private List members = new ArrayList();
 
14
        public List getMembers() {
 
15
                return members;
 
16
        }
 
17
        public void setMembers(List 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
}