1 | public class ServerImpl implements Server {
↵ | | 1 | public class Object2 {↵
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String serverType;↵ | | 3 | private String ↵
|
4 | private Address address;↵ | | |
|
5 |
↵ | | 4 | dummy;↵
|
| | | 5 | private MainObject belongsToMainObj;↵
|
|
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 l) {↵
|
11 | this.id = id;↵ | | 10 | this.id = ↵
|
12 | }↵ | | |
|
13 |
↵ | | 11 | l;↵
|
| | | 12 | }↵
|
| | | 13 | ↵
|
14 | public String getServerType() {
↵ | | 14 | public String getDummy() {↵
|
15 | return serverType;↵ | | 15 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 16 | dummy;↵
|
| | | 17 | }↵
|
|
18 | public void setServerType(String serverType) {
↵ | | 18 | public void setDummy(String string) {↵
|
19 | this.serverType = serverType;↵ | | 19 | ↵
|
20 | }↵ | | |
|
|
21 | public Address getAddress↵ | | 20 | dummy = string;↵
|
| | | 21 | }↵
|
|
22 | () {
↵ | | 22 | public MainObject getBelongsToMainObj() {↵
|
23 | return address;↵ | | 23 | return ↵
|
24 | }↵ | | |
|
|
25 | public void setAddress(Address address↵ | | 24 | belongsToMainObj;↵
|
| | | 25 | }↵
|
|
26 | ) {
↵ | | 26 | public void setBelongsToMainObj(MainObject object) {↵
|
27 | this.address = address;
↵ | | 27 | belongsToMainObj = object;↵
|
28 | | | 28 |
|