1 | public class ServerImpl implements Server {↵ | | 1 | public class Speech {↵
|
2 | private Long id;↵ | | 2 | private Integer id;↵
|
3 | private String serverType;↵ | | 3 | private String name;↵
|
4 | private Address address;↵ | | 4 | private Double length;↵
|
|
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 String getServerType() {↵ | | 11 | public Double getLength() {↵
|
12 | return serverType;↵ | | 12 | return length;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public void setServerType(String serverType) {↵ | | 14 | public void set↵
|
15 | this.serverType = serverType;↵ | | |
|
16 | }↵ | | |
|
|
17 | public Address getAddress↵ | | 15 | Length(Double length) {↵
|
| | | 16 | this.length = length;↵
|
| | | 17 | }↵
|
|
18 | () {↵ | | 18 | public String getName() {↵
|
19 | return address;↵ | | 19 | return name;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public void setAddress(Address address) {↵ | | 21 | public void setName(String name) {↵
|
22 | this.address = address;↵ | | 22 | this.name = name;↵
|
23 | | | 23 |
|