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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/join/Person.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: Person.java 7203 2005-06-19 02:01:05Z oneovthafew $
 
2
package org.hibernate.test.join;
 
3
 
 
4
 
 
5
/**
 
6
 * @author Gavin King
 
7
 */
 
8
public class Person {
 
9
        private long id;
 
10
        private String name;
 
11
        private String address;
 
12
        private String zip;
 
13
        private String country;
 
14
        private char sex;
 
15
        
 
16
        /**
 
17
         * @return Returns the sex.
 
18
         */
 
19
        public char getSex() {
 
20
                return sex;
 
21
        }
 
22
        /**
 
23
         * @param sex The sex to set.
 
24
         */
 
25
        public void setSex(char sex) {
 
26
                this.sex = sex;
 
27
        }
 
28
        /**
 
29
         * @return Returns the id.
 
30
         */
 
31
        public long getId() {
 
32
                return id;
 
33
        }
 
34
        /**
 
35
         * @param id The id to set.
 
36
         */
 
37
        public void setId(long id) {
 
38
                this.id = id;
 
39
        }
 
40
        /**
 
41
         * @return Returns the identity.
 
42
         */
 
43
        public String getName() {
 
44
                return name;
 
45
        }
 
46
        /**
 
47
         * @param identity The identity to set.
 
48
         */
 
49
        public void setName(String identity) {
 
50
                this.name = identity;
 
51
        }
 
52
        public String getSpecies() {
 
53
                return null;
 
54
        }
 
55
 
 
56
        /**
 
57
         * @return Returns the country.
 
58
         */
 
59
        public String getCountry() {
 
60
                return country;
 
61
        }
 
62
        /**
 
63
         * @param country The country to set.
 
64
         */
 
65
        public void setCountry(String country) {
 
66
                this.country = country;
 
67
        }
 
68
        /**
 
69
         * @return Returns the zip.
 
70
         */
 
71
        public String getZip() {
 
72
                return zip;
 
73
        }
 
74
        /**
 
75
         * @param zip The zip to set.
 
76
         */
 
77
        public void setZip(String zip) {
 
78
                this.zip = zip;
 
79
        }
 
80
        /**
 
81
         * @param address The address to set.
 
82
         */
 
83
        public void setAddress(String address) {
 
84
                this.address = address;
 
85
        }
 
86
        
 
87
        public String getAddress() {
 
88
                return address;
 
89
        }
 
90
}