1 | public class ServerImpl implements Server {
↵ | | 1 | public class Parent {↵
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String serverType;↵ | | 3 | private S↵
|
4 | private Address address;↵ | | |
|
5 |
↵ | | 4 | et deleteOrphanChildren;↵
|
| | | 5 | private Set children;↵
|
|
6 | public Long getId() {
↵ | | 6 | public Long getId() {↵
|
7 | return id;
↵ | | 7 | return id;↵
|
8 | }↵ | | 8 | }↵
|
9 |
↵ | | |
|
|
10 | public void setId(Long id) {
↵ | | 9 | public void setId(Long id) {↵
|
11 | this.id = id;
↵ | | 10 | this.id = id;↵
|
12 | }↵ | | 11 | }↵
|
13 |
↵ | | |
|
|
14 | public String getServerType() {
↵ | | 12 | public Set getDeleteOrphanChildren() {↵
|
15 | return serverType;↵ | | 13 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setServerType(String serverType↵ | | 14 | deleteOrphanChildren;↵
|
| | | 15 | }↵
|
|
18 | ) {
↵ | | 16 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵
|
19 | this.serverType = serverType;↵ | | 17 | this.↵
|
20 | }↵ | | |
|
|
21 | public Address getAd↵ | | 18 | deleteOrphanChildren = deleteOrphanChildren;↵
|
| | | 19 | }↵
|
|
22 | dress() {
↵ | | 20 | public Set getChildren() {↵
|
23 | return address;↵ | | 21 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 22 | children;↵
|
| | | 23 | }↵
|
|
26 | public void setAddress(Address address) {
↵ | | 24 | public void setChildren(Set children) {↵
|
27 | this.address = address | | 25 | this.children = children
|