~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/Child.java

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.hibernate.test.jpa.cascade;
2
 
 
3
 
/**
4
 
 * todo: describe Child
5
 
 *
6
 
 * @author Steve Ebersole
7
 
 */
8
 
public class Child {
9
 
        private Long id;
10
 
        private String name;
11
 
        private Parent parent;
12
 
        private ChildInfo info;
13
 
 
14
 
        public Child() {
15
 
        }
16
 
 
17
 
        public Child(String name) {
18
 
                this.name = name;
19
 
        }
20
 
 
21
 
        public Long getId() {
22
 
                return id;
23
 
        }
24
 
 
25
 
        public void setId(Long id) {
26
 
                this.id = id;
27
 
        }
28
 
 
29
 
        public String getName() {
30
 
                return name;
31
 
        }
32
 
 
33
 
        public void setName(String name) {
34
 
                this.name = name;
35
 
        }
36
 
 
37
 
        public Parent getParent() {
38
 
                return parent;
39
 
        }
40
 
 
41
 
        public void setParent(Parent parent) {
42
 
                this.parent = parent;
43
 
        }
44
 
 
45
 
        public ChildInfo getInfo() {
46
 
                return info;
47
 
        }
48
 
 
49
 
        public void setInfo(ChildInfo info) {
50
 
                this.info = info;
51
 
        }
52
 
}