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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/component/cascading/toone/User.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.component.cascading.toone;
 
2
 
 
3
/**
 
4
 * {@inheritDoc}
 
5
 *
 
6
 * @author Steve Ebersole
 
7
 */
 
8
public class User {
 
9
        private Long id;
 
10
        private PersonalInfo personalInfo;
 
11
 
 
12
        public Long getId() {
 
13
                return id;
 
14
        }
 
15
 
 
16
        public void setId(Long id) {
 
17
                this.id = id;
 
18
        }
 
19
 
 
20
        public PersonalInfo getPersonalInfo() {
 
21
                return personalInfo;
 
22
        }
 
23
 
 
24
        public void setPersonalInfo(PersonalInfo personalInfo) {
 
25
                this.personalInfo = personalInfo;
 
26
        }
 
27
}