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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/jpa/cascade/ChildAssigned.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.jpa.cascade;
 
2
 
 
3
/**
 
4
 * Child, but with an assigned identifier.
 
5
 *
 
6
 * @author Steve Ebersole
 
7
 */
 
8
public class ChildAssigned {
 
9
        private Long id;
 
10
        private String name;
 
11
        private ParentAssigned parent;
 
12
        private ChildInfoAssigned info;
 
13
 
 
14
        public ChildAssigned() {
 
15
        }
 
16
 
 
17
        public ChildAssigned(Long id, String name) {
 
18
                this.id = id;
 
19
                this.name = name;
 
20
        }
 
21
 
 
22
        public Long getId() {
 
23
                return id;
 
24
        }
 
25
 
 
26
        public String getName() {
 
27
                return name;
 
28
        }
 
29
 
 
30
        public void setName(String name) {
 
31
                this.name = name;
 
32
        }
 
33
 
 
34
        public ParentAssigned getParent() {
 
35
                return parent;
 
36
        }
 
37
 
 
38
        public void setParent(ParentAssigned parent) {
 
39
                this.parent = parent;
 
40
        }
 
41
 
 
42
        public ChildInfoAssigned getInfo() {
 
43
                return info;
 
44
        }
 
45
 
 
46
        public void setInfo(ChildInfoAssigned info) {
 
47
                this.info = info;
 
48
        }
 
49
}