1 | public class Parent {↵ | | 1 | public class Object2 {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private S↵
|
4 | private Set children↵ | | 4 | tring dummy;↵
|
5 | ;↵ | | 5 | private MainObject belongsToMainObj;↵
|
|
6 | public Long getId() {↵ | | 6 | public Long getId() {↵
|
7 | return id;↵ | | 7 | return id;↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void setId(Long id) {↵ | | 9 | public void setId(Long l) {↵
|
10 | this.id = id;↵ | | 10 | this.id = l;↵
|
11 | }↵ | | 11 | }↵
|
| | | 12 | ↵
|
12 | public Set getDeleteOrphanChildren() {↵ | | 13 | public S↵
|
13 | return deleteOrphanChildren;↵ | | |
|
14 | }↵ | | |
|
|
15 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | |
|
16 | this.deleteOrphanChildren = deleteOrphanChildren;↵ | | |
|
17 | }↵ | | |
|
|
18 | public Set getChildren() {↵ | | |
|
19 | return children;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setChildren(Set children) {↵ | | |
|
22 | this.children = children | | 14 | tring getDummy() {↵
|
| | | 15 | return dummy;↵
|
| | | 16 | }↵
|
|
| | | 17 | public void setDummy(String string) {↵
|
| | | 18 | dummy = string;↵
|
| | | 19 | }↵
|
|
| | | 20 | public MainObject getBelongsToMainObj() {↵
|
| | | 21 | return belongsToMainObj;↵
|
| | | 22 | }↵
|
|
| | | 23 | public void setBelongsToMainObj(MainObject object) {↵
|
| | | 24 | belongsToMainObj = object
|