1 | public class Parent {↵ | | 1 | public class Y {↵
|
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private S↵
|
4 | private Set children;↵ | | |
|
|
5 | public Long getId() {↵ | | |
|
6 | return id;↵ | | |
|
7 | }↵ | | |
|
| | | 4 | tring x;↵
|
| | | 5 | private X theX;↵
|
| | | 6 | /**↵
|
| | | 7 | * Returns the id.↵
|
| | | 8 | * @return Long↵
|
| | | 9 | */↵
|
| | | 10 | public Long getId() {↵
|
| | | 11 | return id;↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * Returns the x.↵
|
| | | 15 | * @return String↵
|
| | | 16 | */↵
|
| | | 17 | public String getX() {↵
|
| | | 18 | return x;↵
|
| | | 19 | }↵
|
|
| | | 20 | /**↵
|
| | | 21 | * Sets the id.↵
|
| | | 22 | * @param id The id to set↵
|
| | | 23 | */↵
|
8 | public void setId(Long id) {↵ | | 24 | public void setId(Long id) {↵
|
9 | this.id = id;↵ | | 25 | this.id = id;↵
|
10 | }↵ | | 26 | }↵
|
|
11 | public Set getDeleteOrphanChildren() {↵ | | 27 | ↵
|
12 | return deleteOrphanChildren;↵ | | |
|
13 | }↵ | | |
|
|
14 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | |
|
15 | this.deleteOrphanChildren = deleteOrphanChildren;↵ | | |
|
16 | }↵ | | |
|
| | | 28 | /**↵
|
| | | 29 | * Sets the x.↵
|
| | | 30 | * @param x The x to set↵
|
| | | 31 | */↵
|
| | | 32 | public void setX(String x) {↵
|
| | | 33 | this.x = x;↵
|
| | | 34 | }↵
|
|
| | | 35 | /**↵
|
| | | 36 | * @return↵
|
| | | 37 | */↵
|
17 | public Set getChildren() {↵ | | 38 | public X getTheX() {↵
|
18 | return children;↵ | | 39 | return ↵
|
19 | }↵ | | |
|
|
20 | public void setChildren(Set children) {↵ | | |
|
21 | this.children = children↵ | | 40 | theX;↵
|
| | | 41 | }↵
|
|
| | | 42 | /**↵
|
| | | 43 | * @param x↵
|
| | | 44 | */↵
|
| | | 45 | public void setTheX(X x) {↵
|
22 | ;↵ | | 46 | theX = x;↵
|
23 | | | 47 |
|