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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/propertyref/inheritence/discrim/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 10921 2006-12-05 14:39:12Z steve.ebersole@jboss.com $
 
2
package org.hibernate.test.propertyref.inheritence.discrim;
 
3
 
 
4
 
 
5
/**
 
6
 * @author gavin
 
7
 */
 
8
public class Person {
 
9
        private Long id;
 
10
        private String name;
 
11
        private String personId;
 
12
        /**
 
13
         * @return Returns the id.
 
14
         */
 
15
        public Long getId() {
 
16
                return id;
 
17
        }
 
18
        /**
 
19
         * @param id The id to set.
 
20
         */
 
21
        public void setId(Long id) {
 
22
                this.id = id;
 
23
        }
 
24
        /**
 
25
         * @return Returns the name.
 
26
         */
 
27
        public String getName() {
 
28
                return name;
 
29
        }
 
30
        /**
 
31
         * @param name The name to set.
 
32
         */
 
33
        public void setName(String name) {
 
34
                this.name = name;
 
35
        }
 
36
        public String getPersonId() {
 
37
                return personId;
 
38
        }
 
39
        
 
40
        public void setPersonId(String personId) {
 
41
                this.personId = personId;
 
42
        }
 
43
        
 
44
}