01: package com.uvw.travel.impl;
02:
03: import com.uvw.travel.Address;
04:
05: /**
06: * @author Adrian Price
07: */
08: public class AddressImpl implements Address {
09: private final String address1;
10: private final String address2;
11: private final String state;
12: private final String postCode;
13: private final String country;
14:
15: public AddressImpl(String address1, String address2, String state,
16: String postCode, String country) {
17:
18: this .address1 = address1;
19: this .address2 = address2;
20: this .state = state;
21: this .postCode = postCode;
22: this .country = country;
23: }
24:
25: public String getAddress1() {
26: return address1;
27: }
28:
29: public String getAddress2() {
30: return address2;
31: }
32:
33: public String getState() {
34: return state;
35: }
36:
37: public String getPostCode() {
38: return postCode;
39: }
40:
41: public String getCountry() {
42: return country;
43: }
44: }
|