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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/reattachment/Child.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.reattachment;
 
2
 
 
3
/**
 
4
 * Child entity
 
5
 *
 
6
 * @author Steve Ebersole
 
7
 */
 
8
public class Child {
 
9
        private String name;
 
10
        private Parent parent;
 
11
 
 
12
        public Child() {
 
13
        }
 
14
 
 
15
        public Child(String name) {
 
16
                this.name = name;
 
17
        }
 
18
 
 
19
        public String getName() {
 
20
                return name;
 
21
        }
 
22
 
 
23
        public void setName(String name) {
 
24
                this.name = name;
 
25
        }
 
26
 
 
27
        public Parent getParent() {
 
28
                return parent;
 
29
        }
 
30
 
 
31
        public void setParent(Parent parent) {
 
32
                this.parent = parent;
 
33
        }
 
34
}