1 | public class ServerImpl implements Server {
↵ | | 1 | public class Master implements Serializable {↵
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String serverType;
↵ | | 3 | private String name;↵
|
4 | private Address address;↵ | | 4 | private ↵
|
|
5 | public Long getId↵ | | 5 | Detail detail;↵
|
6 | () {
↵ | | 6 | public Detail getDetail() {↵
|
7 | return id;↵ | | 7 | return ↵
|
8 | }↵ | | |
|
9 |
↵ | | 8 | detail;↵
|
| | | 9 | }↵
|
10 | public void setId(Long id) {
↵ | | 10 | public void setDetail(Detail detail) {↵
|
11 | this.id = id;↵ | | 11 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 12 | detail = detail;↵
|
| | | 13 | }↵
|
14 | public String getServerType() {
↵ | | 14 | public Long getId() {↵
|
15 | return serverType;↵ | | 15 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setServerType(String serverType↵ | | 16 | id;↵
|
| | | 17 | }↵
|
18 | ) {
↵ | | 18 | public void setId(Long id) {↵
|
19 | this.serverType = serverType;↵ | | 19 | this.↵
|
20 | }↵ | | |
|
|
21 | public Address getAddress↵ | | 20 | id = id;↵
|
| | | 21 | }↵
|
22 | () {
↵ | | 22 | public String getName() {↵
|
23 | return address;↵ | | 23 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 24 | name;↵
|
| | | 25 | }↵
|
26 | public void setAddress(Address address) {
↵ | | 26 | public void setName(String name) {↵
|
27 | this.address = address | | 27 | this.name = name
|