1 | public class AddressImpl implements Address {
↵ | | 1 | public class Joiner {↵
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String addressType;
↵ | | 3 | private String name;↵
|
4 | private Server server;↵ | | 4 | private S↵
|
5 |
↵ | | 5 | tring joinedName;↵
|
|
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 id) {↵
|
11 | this.id = id;
↵ | | 10 | this.id = id;↵
|
12 | }↵ | | 11 | }↵
|
13 |
↵ | | |
|
|
14 | public String getAddressType() {
↵ | | 12 | public String getName() {↵
|
15 | return addressType;
↵ | | 13 | return name;↵
|
16 | }↵ | | 14 | }↵
|
17 |
↵ | | |
|
|
18 | public void setAddressType(String addressType) {
↵ | | 15 | public void setName(String name) {↵
|
19 | this.addressType = addressType;
↵ | | 16 | this.name = name;↵
|
20 | }↵ | | 17 | }↵
|
21 |
↵ | | |
|
|
22 | public Server getServer() {
↵ | | 18 | public String getJoinedName() {↵
|
23 | return server;↵ | | 19 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 20 | joinedName;↵
|
| | | 21 | }↵
|
|
26 | public void setServer(Server server) {
↵ | | 22 | public void setJoinedName(String joinedName) {↵
|
27 | this.server = server;
↵ | | 23 | this.joinedName = joinedName;↵
|
28 | | | 24 |
|