1 | public class AddressImpl implements Address {↵ | | 1 | public class ↵
|
2 | private Long id;↵ | | |
|
3 | private String addressType;↵ | | |
|
4 | private Server server;↵ | | 2 | StringPropertyValue implements PropertyValue {↵
|
| | | 3 | private Long id;↵
|
| | | 4 | private String value;↵
|
|
| | | 5 | public StringPropertyValue() {↵
|
| | | 6 | }↵
|
|
| | | 7 | public StringPropertyValue(String value) {↵
|
| | | 8 | this.value = value;↵
|
| | | 9 | }↵
|
|
5 | public Long getId() {↵ | | 10 | public Long getId() {↵
|
6 | return id;↵ | | 11 | return id;↵
|
7 | }↵ | | 12 | }↵
|
|
8 | public void setId(Long id) {↵ | | 13 | public void setId(Long id) {↵
|
9 | this.id = id;↵ | | 14 | this.id = id;↵
|
10 | }↵ | | 15 | }↵
|
|
11 | public String getAddressType() {↵ | | 16 | public String getValue() {↵
|
12 | return addressType;↵ | | 17 | return value;↵
|
13 | }↵ | | 18 | }↵
|
|
14 | public void setAddressType(String addressType) {↵ | | 19 | public void setValue(String value) {↵
|
15 | this.addressType = addressType;↵ | | 20 | this.value = value;↵
|
16 | }↵ | | 21 | }↵
|
|
17 | public Server getServer() {↵ | | 22 | public S↵
|
18 | return server;↵ | | |
|
19 | }↵ | | |
|
|
20 | public void setServer(Server server) {↵ | | |
|
21 | this.server = server↵ | | 23 | tring asString() {↵
|
22 | ;↵ | | 24 | return value;↵
|
23 | | | 25 |
|