1 | public class Parent {↵ | | 1 | public class Continent {↵
|
2 | private Long id;↵ | | 2 | private Integer id;↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private String name;↵
|
4 | private Set children;↵ | | 4 | private Set countries;↵
|
|
5 | public Long getId() {↵ | | 5 | public Integer getId() {↵
|
6 | return id;↵ | | 6 | return id;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void setId(Long id) {↵ | | 8 | public void setId(Integer id) {↵
|
9 | this.id = id;↵ | | 9 | this.id = id;↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public Set getDeleteOrphanChildren() {↵ | | 11 | public S↵
|
12 | return deleteOrphanChildren↵ | | 12 | tring getName() {↵
|
13 | ;↵ | | 13 | return name;↵
|
14 | }↵ | | 14 | }↵
|
|
15 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | 15 | public void set↵
|
16 | this.deleteOrphanChildren = deleteOrphanChildren↵ | | 16 | Name(String name) {↵
|
17 | ;↵ | | 17 | this.name = name;↵
|
18 | }↵ | | 18 | }↵
|
|
19 | public Set getChildren() {↵ | | 19 | public Set getCountries() {↵
|
20 | return children;↵ | | 20 | return countries;↵
|
21 | }↵ | | 21 | }↵
|
|
22 | public void setChildren(Set children) {↵ | | 22 | public void setC↵
|
23 | this.children = children↵ | | 23 | ountries(Set countries) {↵
|
24 | ;↵ | | 24 | this.countries = countries;↵
|
25 | | | 25 |
|