1 | public class Item {↵ | | 1 | public class ↵
|
2 | ↵ | | 2 | ServerImpl implements Server {↵
|
3 | private Long id;↵ | | 3 | private Long id;↵
|
4 | ↵ | | |
|
5 | private String name;↵ | | 4 | private String ↵
|
6 | private String description;↵ | | |
|
|
7 | ↵ | | 5 | serverType;↵
|
| | | 6 | private Address address;↵
|
|
8 | public String getDescription() {↵ | | 7 | public Long get↵
|
9 | return description;↵ | | |
|
10 | }↵ | | |
|
|
11 | public void setDescription(String description) {↵ | | |
|
12 | this.description = description;↵ | | |
|
13 | }↵ | | |
|
|
14 | ↵ | | 8 | Id() {↵
|
| | | 9 | return id;↵
|
| | | 10 | }↵
|
|
| | | 11 | public void setId(Long id) {↵
|
| | | 12 | this.id = id;↵
|
| | | 13 | }↵
|
|
15 | public Long getId() {↵ | | 14 | public String get↵
|
16 | return id;↵ | | |
|
17 | }↵ | | |
|
|
18 | public void setId(Long id) {↵ | | |
|
19 | this.id = id;↵ | | |
|
20 | }↵ | | |
|
|
21 | public String getName() {↵ | | |
|
22 | return name;↵ | | |
|
23 | }↵ | | |
|
|
24 | public void setName(String name) {↵ | | |
|
25 | this.name = name;↵ | | |
|
26 | | | 15 | ServerType() {↵
|
| | | 16 | return serverType;↵
|
| | | 17 | }↵
|
|
| | | 18 | public void setServerType(String serverType) {↵
|
| | | 19 | this.serverType = serverType;↵
|
| | | 20 | }↵
|
|
| | | 21 | public Address getAddress() {↵
|
| | | 22 | return address;↵
|
| | | 23 | }↵
|
|
| | | 24 | public void setAddress(Address address) {↵
|
| | | 25 | this.address = address;↵
|
| | | 26 |
|