This project has retired. For details please refer to its
Attic page.
PostalAddressImpl xref
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 private String street = EMPTY_STRING;
33 private String streetNumber = EMPTY_STRING;
34 private String city = EMPTY_STRING;
35 private String stateOrProvince = EMPTY_STRING;
36 private String postalCode = EMPTY_STRING;
37 private String country = EMPTY_STRING;
38 private String type = EMPTY_STRING;
39 private ClassificationScheme postalScheme;
40
41
42
43
44 public PostalAddressImpl(ClassificationScheme postalScheme)
45 {
46 this.postalScheme = postalScheme;
47 }
48
49 public PostalAddressImpl()
50 {
51 }
52
53 public String getCity()
54 {
55 return city;
56 }
57
58 public void setCity(String city)
59 {
60 this.city = city;
61 }
62
63 public String getCountry()
64 {
65 return country;
66 }
67
68 public void setCountry(String country)
69 {
70 this.country = country;
71 }
72
73 public String getPostalCode()
74 {
75 return postalCode;
76 }
77
78 public void setPostalCode(String postalCode)
79 {
80 this.postalCode = postalCode;
81 }
82
83 public ClassificationScheme getPostalScheme()
84 {
85 return postalScheme;
86 }
87
88 public void setPostalScheme(ClassificationScheme postalScheme)
89 {
90 this.postalScheme = postalScheme;
91 }
92
93 public String getStateOrProvince()
94 {
95 return stateOrProvince;
96 }
97
98 public void setStateOrProvince(String stateOrProvince)
99 {
100 this.stateOrProvince = stateOrProvince;
101 }
102
103 public String getStreet()
104 {
105 return street;
106 }
107
108 public void setStreet(String street)
109 {
110 this.street = street;
111 }
112
113 public String getStreetNumber()
114 {
115 return streetNumber;
116 }
117
118 public void setStreetNumber(String streetNumber)
119 {
120 this.streetNumber = streetNumber;
121 }
122
123 public String getType()
124 {
125 return type;
126 }
127
128 public void setType(String type)
129 {
130 this.type = type;
131 }
132 }