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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/stats/Locality.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
package org.hibernate.test.stats;
 
2
 
 
3
/**
 
4
 * @author Steve Ebersole
 
5
 */
 
6
public class Locality {
 
7
        private Long id;
 
8
        private String name;
 
9
        private Country country;
 
10
 
 
11
        public Locality() {
 
12
        }
 
13
 
 
14
        public Locality(String name, Country country) {
 
15
                this.name = name;
 
16
                this.country = country;
 
17
        }
 
18
 
 
19
        public Long getId() {
 
20
                return id;
 
21
        }
 
22
 
 
23
        public void setId(Long id) {
 
24
                this.id = id;
 
25
        }
 
26
 
 
27
        public String getName() {
 
28
                return name;
 
29
        }
 
30
 
 
31
        public void setName(String name) {
 
32
                this.name = name;
 
33
        }
 
34
 
 
35
        public Country getCountry() {
 
36
                return country;
 
37
        }
 
38
 
 
39
        public void setCountry(Country country) {
 
40
                this.country = country;
 
41
        }
 
42
}