1 | public class ServerImpl implements Server {
↵ | | 1 | public class Y {↵
|
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String serverType;↵ | | 3 | private String ↵
|
4 | private Address address;↵ | | |
|
5 |
↵ | | 4 | x;↵
|
| | | 5 | private X theX;↵
|
| | | 6 | /**↵
|
| | | 7 | * Returns the id.↵
|
| | | 8 | * @return Long↵
|
| | | 9 | */↵
|
6 | public Long getId() {
↵ | | 10 | public Long getId() {↵
|
7 | return id;↵ | | 11 | return id;↵
|
8 | }↵ | | |
|
9 |
↵ | | |
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * Returns the x.↵
|
| | | 15 | * @return String↵
|
| | | 16 | */↵
|
| | | 17 | public String getX() {↵
|
| | | 18 | return x;↵
|
| | | 19 | }↵
|
|
| | | 20 | /**↵
|
| | | 21 | * Sets the id.↵
|
| | | 22 | * @param id The id to set↵
|
| | | 23 | */↵
|
10 | public void setId(Long id) {
↵ | | 24 | public void setId(Long id) {↵
|
11 | this.id = id;
↵ | | 25 | this.id = id;↵
|
12 | }↵ | | 26 | }↵
|
|
13 | public String getServerType() {↵ | | |
|
14 | return serverType;↵ | | |
|
15 | }↵ | | |
|
|
16 | public void setServerType(String serverType↵ | | |
|
|
| | | 27 | /**↵
|
| | | 28 | * Sets the x.↵
|
| | | 29 | * @param x The x to set↵
|
| | | 30 | */↵
|
17 | ) {
↵ | | 31 | public void setX(String x) {↵
|
18 | this.serverType = serverType;↵ | | 32 | this.↵
|
19 | }↵ | | |
|
|
20 | public Address getAddress↵ | | 33 | x = x;↵
|
| | | 34 | }↵
|
|
| | | 35 | /**↵
|
| | | 36 | * @return↵
|
| | | 37 | */↵
|
21 | () {
↵ | | 38 | public X getTheX() {↵
|
22 | return address;↵ | | 39 | return ↵
|
23 | }↵ | | |
|
|
24 | public void setAddress(Address address↵ | | 40 | theX;↵
|
| | | 41 | }↵
|
|
| | | 42 | /**↵
|
| | | 43 | * @param x↵
|
| | | 44 | */↵
|
25 | ) {
↵ | | 45 | public void setTheX(X x) {↵
|
26 | this.address = address | | 46 | theX = x
|