1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.apache.ws.scout.registry.infomodel; |
18 | |
|
19 | |
import javax.xml.registry.infomodel.ClassificationScheme; |
20 | |
import javax.xml.registry.infomodel.PostalAddress; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
public class PostalAddressImpl extends ExtensibleObjectImpl implements PostalAddress |
30 | |
{ |
31 | |
private static final String EMPTY_STRING = ""; |
32 | 0 | private String street = EMPTY_STRING; |
33 | 0 | private String streetNumber = EMPTY_STRING; |
34 | 0 | private String city = EMPTY_STRING; |
35 | 0 | private String stateOrProvince = EMPTY_STRING; |
36 | 0 | private String postalCode = EMPTY_STRING; |
37 | 0 | private String country = EMPTY_STRING; |
38 | 0 | private String type = EMPTY_STRING; |
39 | |
private ClassificationScheme postalScheme; |
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
public PostalAddressImpl(ClassificationScheme postalScheme) |
45 | 0 | { |
46 | 0 | this.postalScheme = postalScheme; |
47 | 0 | } |
48 | |
|
49 | |
public PostalAddressImpl() |
50 | 0 | { |
51 | 0 | } |
52 | |
|
53 | |
public String getCity() |
54 | |
{ |
55 | 0 | return city; |
56 | |
} |
57 | |
|
58 | |
public void setCity(String city) |
59 | |
{ |
60 | 0 | this.city = city; |
61 | 0 | } |
62 | |
|
63 | |
public String getCountry() |
64 | |
{ |
65 | 0 | return country; |
66 | |
} |
67 | |
|
68 | |
public void setCountry(String country) |
69 | |
{ |
70 | 0 | this.country = country; |
71 | 0 | } |
72 | |
|
73 | |
public String getPostalCode() |
74 | |
{ |
75 | 0 | return postalCode; |
76 | |
} |
77 | |
|
78 | |
public void setPostalCode(String postalCode) |
79 | |
{ |
80 | 0 | this.postalCode = postalCode; |
81 | 0 | } |
82 | |
|
83 | |
public ClassificationScheme getPostalScheme() |
84 | |
{ |
85 | 0 | return postalScheme; |
86 | |
} |
87 | |
|
88 | |
public void setPostalScheme(ClassificationScheme postalScheme) |
89 | |
{ |
90 | 0 | this.postalScheme = postalScheme; |
91 | 0 | } |
92 | |
|
93 | |
public String getStateOrProvince() |
94 | |
{ |
95 | 0 | return stateOrProvince; |
96 | |
} |
97 | |
|
98 | |
public void setStateOrProvince(String stateOrProvince) |
99 | |
{ |
100 | 0 | this.stateOrProvince = stateOrProvince; |
101 | 0 | } |
102 | |
|
103 | |
public String getStreet() |
104 | |
{ |
105 | 0 | return street; |
106 | |
} |
107 | |
|
108 | |
public void setStreet(String street) |
109 | |
{ |
110 | 0 | this.street = street; |
111 | 0 | } |
112 | |
|
113 | |
public String getStreetNumber() |
114 | |
{ |
115 | 0 | return streetNumber; |
116 | |
} |
117 | |
|
118 | |
public void setStreetNumber(String streetNumber) |
119 | |
{ |
120 | 0 | this.streetNumber = streetNumber; |
121 | 0 | } |
122 | |
|
123 | |
public String getType() |
124 | |
{ |
125 | 0 | return type; |
126 | |
} |
127 | |
|
128 | |
public void setType(String type) |
129 | |
{ |
130 | 0 | this.type = type; |
131 | 0 | } |
132 | |
} |