1 | public class Parent {↵ | | 1 | public class Being {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private S↵
|
4 | private Set childre↵ | | 4 | tring identity;↵
|
5 | n;↵ | | 5 | private String location;↵
|
|
6 | public Long getId() {↵ | | 6 | p↵
|
7 | return id;↵ | | 7 | rivate String species;↵
|
8 | }↵ | | 8 | ↵
|
|
9 | public void setId(Long id) {↵ | | 9 | public void set↵
|
10 | this.id = id↵ | | 10 | Location(String location) {↵
|
11 | ;↵ | | 11 | this.location = location;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public Set getDeleteOrphanChildren() {↵ | | 13 | public S↵
|
14 | return deleteOrphanChildre↵ | | 14 | tring getLocation() {↵
|
15 | n;↵ | | 15 | return location;↵
|
16 | }↵ | | 16 | }↵
|
|
17 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | 17 | public void set↵
|
18 | this.deleteOrphanChildren = deleteOrphanChildren↵ | | 18 | Species(String species) {↵
|
19 | ;↵ | | 19 | this.species = species;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public Set getChildren() {↵ | | 21 | public String getSpecies() {↵
|
22 | return children;↵ | | 22 | return species;↵
|
23 | }↵ | | 23 | }↵
|
|
24 | public void setChildren(Set children) {↵ | | 24 | public void set↵
|
25 | this.children = children↵ | | 25 | Identity(String identity) {↵
|
| | | 26 | this.identity = identity;↵
|
| | | 27 | }↵
|
| | | 28 | public String getIdentity() {↵
|
26 | ;↵ | | 29 | return identity;↵
|
27 | | | 30 |
|