1 | public class AddressImpl implements Address {↵ | | 1 | public class Document {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String addressType;↵ | | 3 | private String location;↵
|
4 | private Server server;↵ | | 4 | private User owner;↵
|
|
5 | public Long getId() {↵ | | 5 | public Long getId() {↵
|
6 | return id;↵ | | 6 | return id;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void setId(Long id) {↵ | | 8 | public void setId(Long id) {↵
|
9 | this.id = id;↵ | | 9 | this.id = id;↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public String getAddressType() {↵ | | 11 | public String getLocation() {↵
|
12 | return addressType;↵ | | 12 | return location;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public void setAddressType(String addressType) {↵ | | 14 | public void set↵
|
15 | this.addressType = addressType↵ | | 15 | Location(String location) {↵
|
16 | ;↵ | | 16 | this.location = location;↵
|
17 | }↵ | | 17 | }↵
|
|
18 | public Server getServer() {↵ | | 18 | public User getOwner() {↵
|
19 | return server;↵ | | 19 | return owner;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public void setServer(Server server) {↵ | | 21 | public void setOwner(User owner) {↵
|
22 | this.server = server | | 22 | this.owner = owner
|