| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* Address.java
|
|
|
3 |
*
|
|
|
4 |
* This file was auto-generated from WSDL
|
|
|
5 |
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
package com.aramex.stub;
|
|
|
9 |
|
|
|
10 |
public class Address implements java.io.Serializable {
|
|
|
11 |
private java.lang.String line1;
|
|
|
12 |
|
| 22577 |
amit.gupta |
13 |
@Override
|
|
|
14 |
public String toString() {
|
|
|
15 |
return "Address [line1=" + line1 + ", line2=" + line2 + ", line3=" + line3 + ", city=" + city + ", stateOrProvinceCode="
|
|
|
16 |
+ stateOrProvinceCode + ", postCode=" + postCode + ", countryCode=" + countryCode + ", longitude=" + longitude
|
|
|
17 |
+ ", latitude=" + latitude + ", buildingNumber=" + buildingNumber + ", buildingName=" + buildingName + ", floor=" + floor
|
|
|
18 |
+ ", apartment=" + apartment + ", POBox=" + POBox + ", description=" + description + "]";
|
|
|
19 |
}
|
| 20640 |
amit.gupta |
20 |
|
| 22577 |
amit.gupta |
21 |
private java.lang.String line2;
|
|
|
22 |
|
| 20640 |
amit.gupta |
23 |
private java.lang.String line3;
|
|
|
24 |
|
|
|
25 |
private java.lang.String city;
|
|
|
26 |
|
|
|
27 |
private java.lang.String stateOrProvinceCode;
|
|
|
28 |
|
|
|
29 |
private java.lang.String postCode;
|
|
|
30 |
|
|
|
31 |
private java.lang.String countryCode;
|
|
|
32 |
|
|
|
33 |
private java.math.BigDecimal longitude;
|
|
|
34 |
|
|
|
35 |
private java.math.BigDecimal latitude;
|
|
|
36 |
|
|
|
37 |
private java.lang.String buildingNumber;
|
|
|
38 |
|
|
|
39 |
private java.lang.String buildingName;
|
|
|
40 |
|
|
|
41 |
private java.lang.String floor;
|
|
|
42 |
|
|
|
43 |
private java.lang.String apartment;
|
|
|
44 |
|
|
|
45 |
private java.lang.String POBox;
|
|
|
46 |
|
|
|
47 |
private java.lang.String description;
|
|
|
48 |
|
|
|
49 |
public Address() {
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public Address(
|
|
|
53 |
java.lang.String line1,
|
|
|
54 |
java.lang.String line2,
|
|
|
55 |
java.lang.String line3,
|
|
|
56 |
java.lang.String city,
|
|
|
57 |
java.lang.String stateOrProvinceCode,
|
|
|
58 |
java.lang.String postCode,
|
|
|
59 |
java.lang.String countryCode,
|
|
|
60 |
java.math.BigDecimal longitude,
|
|
|
61 |
java.math.BigDecimal latitude,
|
|
|
62 |
java.lang.String buildingNumber,
|
|
|
63 |
java.lang.String buildingName,
|
|
|
64 |
java.lang.String floor,
|
|
|
65 |
java.lang.String apartment,
|
|
|
66 |
java.lang.String POBox,
|
|
|
67 |
java.lang.String description) {
|
|
|
68 |
this.line1 = line1;
|
|
|
69 |
this.line2 = line2;
|
|
|
70 |
this.line3 = line3;
|
|
|
71 |
this.city = city;
|
|
|
72 |
this.stateOrProvinceCode = stateOrProvinceCode;
|
|
|
73 |
this.postCode = postCode;
|
|
|
74 |
this.countryCode = countryCode;
|
|
|
75 |
this.longitude = longitude;
|
|
|
76 |
this.latitude = latitude;
|
|
|
77 |
this.buildingNumber = buildingNumber;
|
|
|
78 |
this.buildingName = buildingName;
|
|
|
79 |
this.floor = floor;
|
|
|
80 |
this.apartment = apartment;
|
|
|
81 |
this.POBox = POBox;
|
|
|
82 |
this.description = description;
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
/**
|
|
|
87 |
* Gets the line1 value for this Address.
|
|
|
88 |
*
|
|
|
89 |
* @return line1
|
|
|
90 |
*/
|
|
|
91 |
public java.lang.String getLine1() {
|
|
|
92 |
return line1;
|
|
|
93 |
}
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
/**
|
|
|
97 |
* Sets the line1 value for this Address.
|
|
|
98 |
*
|
|
|
99 |
* @param line1
|
|
|
100 |
*/
|
|
|
101 |
public void setLine1(java.lang.String line1) {
|
|
|
102 |
this.line1 = line1;
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
/**
|
|
|
107 |
* Gets the line2 value for this Address.
|
|
|
108 |
*
|
|
|
109 |
* @return line2
|
|
|
110 |
*/
|
|
|
111 |
public java.lang.String getLine2() {
|
|
|
112 |
return line2;
|
|
|
113 |
}
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
/**
|
|
|
117 |
* Sets the line2 value for this Address.
|
|
|
118 |
*
|
|
|
119 |
* @param line2
|
|
|
120 |
*/
|
|
|
121 |
public void setLine2(java.lang.String line2) {
|
|
|
122 |
this.line2 = line2;
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
/**
|
|
|
127 |
* Gets the line3 value for this Address.
|
|
|
128 |
*
|
|
|
129 |
* @return line3
|
|
|
130 |
*/
|
|
|
131 |
public java.lang.String getLine3() {
|
|
|
132 |
return line3;
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
/**
|
|
|
137 |
* Sets the line3 value for this Address.
|
|
|
138 |
*
|
|
|
139 |
* @param line3
|
|
|
140 |
*/
|
|
|
141 |
public void setLine3(java.lang.String line3) {
|
|
|
142 |
this.line3 = line3;
|
|
|
143 |
}
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
/**
|
|
|
147 |
* Gets the city value for this Address.
|
|
|
148 |
*
|
|
|
149 |
* @return city
|
|
|
150 |
*/
|
|
|
151 |
public java.lang.String getCity() {
|
|
|
152 |
return city;
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
/**
|
|
|
157 |
* Sets the city value for this Address.
|
|
|
158 |
*
|
|
|
159 |
* @param city
|
|
|
160 |
*/
|
|
|
161 |
public void setCity(java.lang.String city) {
|
|
|
162 |
this.city = city;
|
|
|
163 |
}
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
/**
|
|
|
167 |
* Gets the stateOrProvinceCode value for this Address.
|
|
|
168 |
*
|
|
|
169 |
* @return stateOrProvinceCode
|
|
|
170 |
*/
|
|
|
171 |
public java.lang.String getStateOrProvinceCode() {
|
|
|
172 |
return stateOrProvinceCode;
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
/**
|
|
|
177 |
* Sets the stateOrProvinceCode value for this Address.
|
|
|
178 |
*
|
|
|
179 |
* @param stateOrProvinceCode
|
|
|
180 |
*/
|
|
|
181 |
public void setStateOrProvinceCode(java.lang.String stateOrProvinceCode) {
|
|
|
182 |
this.stateOrProvinceCode = stateOrProvinceCode;
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
/**
|
|
|
187 |
* Gets the postCode value for this Address.
|
|
|
188 |
*
|
|
|
189 |
* @return postCode
|
|
|
190 |
*/
|
|
|
191 |
public java.lang.String getPostCode() {
|
|
|
192 |
return postCode;
|
|
|
193 |
}
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
/**
|
|
|
197 |
* Sets the postCode value for this Address.
|
|
|
198 |
*
|
|
|
199 |
* @param postCode
|
|
|
200 |
*/
|
|
|
201 |
public void setPostCode(java.lang.String postCode) {
|
|
|
202 |
this.postCode = postCode;
|
|
|
203 |
}
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
/**
|
|
|
207 |
* Gets the countryCode value for this Address.
|
|
|
208 |
*
|
|
|
209 |
* @return countryCode
|
|
|
210 |
*/
|
|
|
211 |
public java.lang.String getCountryCode() {
|
|
|
212 |
return countryCode;
|
|
|
213 |
}
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
/**
|
|
|
217 |
* Sets the countryCode value for this Address.
|
|
|
218 |
*
|
|
|
219 |
* @param countryCode
|
|
|
220 |
*/
|
|
|
221 |
public void setCountryCode(java.lang.String countryCode) {
|
|
|
222 |
this.countryCode = countryCode;
|
|
|
223 |
}
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
/**
|
|
|
227 |
* Gets the longitude value for this Address.
|
|
|
228 |
*
|
|
|
229 |
* @return longitude
|
|
|
230 |
*/
|
|
|
231 |
public java.math.BigDecimal getLongitude() {
|
|
|
232 |
return longitude;
|
|
|
233 |
}
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
/**
|
|
|
237 |
* Sets the longitude value for this Address.
|
|
|
238 |
*
|
|
|
239 |
* @param longitude
|
|
|
240 |
*/
|
|
|
241 |
public void setLongitude(java.math.BigDecimal longitude) {
|
|
|
242 |
this.longitude = longitude;
|
|
|
243 |
}
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
/**
|
|
|
247 |
* Gets the latitude value for this Address.
|
|
|
248 |
*
|
|
|
249 |
* @return latitude
|
|
|
250 |
*/
|
|
|
251 |
public java.math.BigDecimal getLatitude() {
|
|
|
252 |
return latitude;
|
|
|
253 |
}
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
/**
|
|
|
257 |
* Sets the latitude value for this Address.
|
|
|
258 |
*
|
|
|
259 |
* @param latitude
|
|
|
260 |
*/
|
|
|
261 |
public void setLatitude(java.math.BigDecimal latitude) {
|
|
|
262 |
this.latitude = latitude;
|
|
|
263 |
}
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
/**
|
|
|
267 |
* Gets the buildingNumber value for this Address.
|
|
|
268 |
*
|
|
|
269 |
* @return buildingNumber
|
|
|
270 |
*/
|
|
|
271 |
public java.lang.String getBuildingNumber() {
|
|
|
272 |
return buildingNumber;
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
/**
|
|
|
277 |
* Sets the buildingNumber value for this Address.
|
|
|
278 |
*
|
|
|
279 |
* @param buildingNumber
|
|
|
280 |
*/
|
|
|
281 |
public void setBuildingNumber(java.lang.String buildingNumber) {
|
|
|
282 |
this.buildingNumber = buildingNumber;
|
|
|
283 |
}
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
/**
|
|
|
287 |
* Gets the buildingName value for this Address.
|
|
|
288 |
*
|
|
|
289 |
* @return buildingName
|
|
|
290 |
*/
|
|
|
291 |
public java.lang.String getBuildingName() {
|
|
|
292 |
return buildingName;
|
|
|
293 |
}
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
/**
|
|
|
297 |
* Sets the buildingName value for this Address.
|
|
|
298 |
*
|
|
|
299 |
* @param buildingName
|
|
|
300 |
*/
|
|
|
301 |
public void setBuildingName(java.lang.String buildingName) {
|
|
|
302 |
this.buildingName = buildingName;
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
/**
|
|
|
307 |
* Gets the floor value for this Address.
|
|
|
308 |
*
|
|
|
309 |
* @return floor
|
|
|
310 |
*/
|
|
|
311 |
public java.lang.String getFloor() {
|
|
|
312 |
return floor;
|
|
|
313 |
}
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
/**
|
|
|
317 |
* Sets the floor value for this Address.
|
|
|
318 |
*
|
|
|
319 |
* @param floor
|
|
|
320 |
*/
|
|
|
321 |
public void setFloor(java.lang.String floor) {
|
|
|
322 |
this.floor = floor;
|
|
|
323 |
}
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
/**
|
|
|
327 |
* Gets the apartment value for this Address.
|
|
|
328 |
*
|
|
|
329 |
* @return apartment
|
|
|
330 |
*/
|
|
|
331 |
public java.lang.String getApartment() {
|
|
|
332 |
return apartment;
|
|
|
333 |
}
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
/**
|
|
|
337 |
* Sets the apartment value for this Address.
|
|
|
338 |
*
|
|
|
339 |
* @param apartment
|
|
|
340 |
*/
|
|
|
341 |
public void setApartment(java.lang.String apartment) {
|
|
|
342 |
this.apartment = apartment;
|
|
|
343 |
}
|
|
|
344 |
|
|
|
345 |
|
|
|
346 |
/**
|
|
|
347 |
* Gets the POBox value for this Address.
|
|
|
348 |
*
|
|
|
349 |
* @return POBox
|
|
|
350 |
*/
|
|
|
351 |
public java.lang.String getPOBox() {
|
|
|
352 |
return POBox;
|
|
|
353 |
}
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
/**
|
|
|
357 |
* Sets the POBox value for this Address.
|
|
|
358 |
*
|
|
|
359 |
* @param POBox
|
|
|
360 |
*/
|
|
|
361 |
public void setPOBox(java.lang.String POBox) {
|
|
|
362 |
this.POBox = POBox;
|
|
|
363 |
}
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
/**
|
|
|
367 |
* Gets the description value for this Address.
|
|
|
368 |
*
|
|
|
369 |
* @return description
|
|
|
370 |
*/
|
|
|
371 |
public java.lang.String getDescription() {
|
|
|
372 |
return description;
|
|
|
373 |
}
|
|
|
374 |
|
|
|
375 |
|
|
|
376 |
/**
|
|
|
377 |
* Sets the description value for this Address.
|
|
|
378 |
*
|
|
|
379 |
* @param description
|
|
|
380 |
*/
|
|
|
381 |
public void setDescription(java.lang.String description) {
|
|
|
382 |
this.description = description;
|
|
|
383 |
}
|
|
|
384 |
|
|
|
385 |
private java.lang.Object __equalsCalc = null;
|
|
|
386 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
387 |
if (!(obj instanceof Address)) return false;
|
|
|
388 |
Address other = (Address) obj;
|
|
|
389 |
if (obj == null) return false;
|
|
|
390 |
if (this == obj) return true;
|
|
|
391 |
if (__equalsCalc != null) {
|
|
|
392 |
return (__equalsCalc == obj);
|
|
|
393 |
}
|
|
|
394 |
__equalsCalc = obj;
|
|
|
395 |
boolean _equals;
|
|
|
396 |
_equals = true &&
|
|
|
397 |
((this.line1==null && other.getLine1()==null) ||
|
|
|
398 |
(this.line1!=null &&
|
|
|
399 |
this.line1.equals(other.getLine1()))) &&
|
|
|
400 |
((this.line2==null && other.getLine2()==null) ||
|
|
|
401 |
(this.line2!=null &&
|
|
|
402 |
this.line2.equals(other.getLine2()))) &&
|
|
|
403 |
((this.line3==null && other.getLine3()==null) ||
|
|
|
404 |
(this.line3!=null &&
|
|
|
405 |
this.line3.equals(other.getLine3()))) &&
|
|
|
406 |
((this.city==null && other.getCity()==null) ||
|
|
|
407 |
(this.city!=null &&
|
|
|
408 |
this.city.equals(other.getCity()))) &&
|
|
|
409 |
((this.stateOrProvinceCode==null && other.getStateOrProvinceCode()==null) ||
|
|
|
410 |
(this.stateOrProvinceCode!=null &&
|
|
|
411 |
this.stateOrProvinceCode.equals(other.getStateOrProvinceCode()))) &&
|
|
|
412 |
((this.postCode==null && other.getPostCode()==null) ||
|
|
|
413 |
(this.postCode!=null &&
|
|
|
414 |
this.postCode.equals(other.getPostCode()))) &&
|
|
|
415 |
((this.countryCode==null && other.getCountryCode()==null) ||
|
|
|
416 |
(this.countryCode!=null &&
|
|
|
417 |
this.countryCode.equals(other.getCountryCode()))) &&
|
|
|
418 |
((this.longitude==null && other.getLongitude()==null) ||
|
|
|
419 |
(this.longitude!=null &&
|
|
|
420 |
this.longitude.equals(other.getLongitude()))) &&
|
|
|
421 |
((this.latitude==null && other.getLatitude()==null) ||
|
|
|
422 |
(this.latitude!=null &&
|
|
|
423 |
this.latitude.equals(other.getLatitude()))) &&
|
|
|
424 |
((this.buildingNumber==null && other.getBuildingNumber()==null) ||
|
|
|
425 |
(this.buildingNumber!=null &&
|
|
|
426 |
this.buildingNumber.equals(other.getBuildingNumber()))) &&
|
|
|
427 |
((this.buildingName==null && other.getBuildingName()==null) ||
|
|
|
428 |
(this.buildingName!=null &&
|
|
|
429 |
this.buildingName.equals(other.getBuildingName()))) &&
|
|
|
430 |
((this.floor==null && other.getFloor()==null) ||
|
|
|
431 |
(this.floor!=null &&
|
|
|
432 |
this.floor.equals(other.getFloor()))) &&
|
|
|
433 |
((this.apartment==null && other.getApartment()==null) ||
|
|
|
434 |
(this.apartment!=null &&
|
|
|
435 |
this.apartment.equals(other.getApartment()))) &&
|
|
|
436 |
((this.POBox==null && other.getPOBox()==null) ||
|
|
|
437 |
(this.POBox!=null &&
|
|
|
438 |
this.POBox.equals(other.getPOBox()))) &&
|
|
|
439 |
((this.description==null && other.getDescription()==null) ||
|
|
|
440 |
(this.description!=null &&
|
|
|
441 |
this.description.equals(other.getDescription())));
|
|
|
442 |
__equalsCalc = null;
|
|
|
443 |
return _equals;
|
|
|
444 |
}
|
|
|
445 |
|
|
|
446 |
private boolean __hashCodeCalc = false;
|
|
|
447 |
public synchronized int hashCode() {
|
|
|
448 |
if (__hashCodeCalc) {
|
|
|
449 |
return 0;
|
|
|
450 |
}
|
|
|
451 |
__hashCodeCalc = true;
|
|
|
452 |
int _hashCode = 1;
|
|
|
453 |
if (getLine1() != null) {
|
|
|
454 |
_hashCode += getLine1().hashCode();
|
|
|
455 |
}
|
|
|
456 |
if (getLine2() != null) {
|
|
|
457 |
_hashCode += getLine2().hashCode();
|
|
|
458 |
}
|
|
|
459 |
if (getLine3() != null) {
|
|
|
460 |
_hashCode += getLine3().hashCode();
|
|
|
461 |
}
|
|
|
462 |
if (getCity() != null) {
|
|
|
463 |
_hashCode += getCity().hashCode();
|
|
|
464 |
}
|
|
|
465 |
if (getStateOrProvinceCode() != null) {
|
|
|
466 |
_hashCode += getStateOrProvinceCode().hashCode();
|
|
|
467 |
}
|
|
|
468 |
if (getPostCode() != null) {
|
|
|
469 |
_hashCode += getPostCode().hashCode();
|
|
|
470 |
}
|
|
|
471 |
if (getCountryCode() != null) {
|
|
|
472 |
_hashCode += getCountryCode().hashCode();
|
|
|
473 |
}
|
|
|
474 |
if (getLongitude() != null) {
|
|
|
475 |
_hashCode += getLongitude().hashCode();
|
|
|
476 |
}
|
|
|
477 |
if (getLatitude() != null) {
|
|
|
478 |
_hashCode += getLatitude().hashCode();
|
|
|
479 |
}
|
|
|
480 |
if (getBuildingNumber() != null) {
|
|
|
481 |
_hashCode += getBuildingNumber().hashCode();
|
|
|
482 |
}
|
|
|
483 |
if (getBuildingName() != null) {
|
|
|
484 |
_hashCode += getBuildingName().hashCode();
|
|
|
485 |
}
|
|
|
486 |
if (getFloor() != null) {
|
|
|
487 |
_hashCode += getFloor().hashCode();
|
|
|
488 |
}
|
|
|
489 |
if (getApartment() != null) {
|
|
|
490 |
_hashCode += getApartment().hashCode();
|
|
|
491 |
}
|
|
|
492 |
if (getPOBox() != null) {
|
|
|
493 |
_hashCode += getPOBox().hashCode();
|
|
|
494 |
}
|
|
|
495 |
if (getDescription() != null) {
|
|
|
496 |
_hashCode += getDescription().hashCode();
|
|
|
497 |
}
|
|
|
498 |
__hashCodeCalc = false;
|
|
|
499 |
return _hashCode;
|
|
|
500 |
}
|
|
|
501 |
|
|
|
502 |
// Type metadata
|
|
|
503 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
504 |
new org.apache.axis.description.TypeDesc(Address.class, true);
|
|
|
505 |
|
|
|
506 |
static {
|
|
|
507 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Address"));
|
|
|
508 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
509 |
elemField.setFieldName("line1");
|
|
|
510 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Line1"));
|
|
|
511 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
512 |
elemField.setNillable(true);
|
|
|
513 |
typeDesc.addFieldDesc(elemField);
|
|
|
514 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
515 |
elemField.setFieldName("line2");
|
|
|
516 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Line2"));
|
|
|
517 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
518 |
elemField.setNillable(true);
|
|
|
519 |
typeDesc.addFieldDesc(elemField);
|
|
|
520 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
521 |
elemField.setFieldName("line3");
|
|
|
522 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Line3"));
|
|
|
523 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
524 |
elemField.setNillable(true);
|
|
|
525 |
typeDesc.addFieldDesc(elemField);
|
|
|
526 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
527 |
elemField.setFieldName("city");
|
|
|
528 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "City"));
|
|
|
529 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
530 |
elemField.setNillable(true);
|
|
|
531 |
typeDesc.addFieldDesc(elemField);
|
|
|
532 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
533 |
elemField.setFieldName("stateOrProvinceCode");
|
|
|
534 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "StateOrProvinceCode"));
|
|
|
535 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
536 |
elemField.setMinOccurs(0);
|
|
|
537 |
elemField.setNillable(true);
|
|
|
538 |
typeDesc.addFieldDesc(elemField);
|
|
|
539 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
540 |
elemField.setFieldName("postCode");
|
|
|
541 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PostCode"));
|
|
|
542 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
543 |
elemField.setNillable(true);
|
|
|
544 |
typeDesc.addFieldDesc(elemField);
|
|
|
545 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
546 |
elemField.setFieldName("countryCode");
|
|
|
547 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CountryCode"));
|
|
|
548 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
549 |
elemField.setNillable(true);
|
|
|
550 |
typeDesc.addFieldDesc(elemField);
|
|
|
551 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
552 |
elemField.setFieldName("longitude");
|
|
|
553 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Longitude"));
|
|
|
554 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
|
|
|
555 |
elemField.setMinOccurs(0);
|
|
|
556 |
elemField.setNillable(false);
|
|
|
557 |
typeDesc.addFieldDesc(elemField);
|
|
|
558 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
559 |
elemField.setFieldName("latitude");
|
|
|
560 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Latitude"));
|
|
|
561 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
|
|
|
562 |
elemField.setMinOccurs(0);
|
|
|
563 |
elemField.setNillable(false);
|
|
|
564 |
typeDesc.addFieldDesc(elemField);
|
|
|
565 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
566 |
elemField.setFieldName("buildingNumber");
|
|
|
567 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "BuildingNumber"));
|
|
|
568 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
569 |
elemField.setMinOccurs(0);
|
|
|
570 |
elemField.setNillable(true);
|
|
|
571 |
typeDesc.addFieldDesc(elemField);
|
|
|
572 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
573 |
elemField.setFieldName("buildingName");
|
|
|
574 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "BuildingName"));
|
|
|
575 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
576 |
elemField.setMinOccurs(0);
|
|
|
577 |
elemField.setNillable(true);
|
|
|
578 |
typeDesc.addFieldDesc(elemField);
|
|
|
579 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
580 |
elemField.setFieldName("floor");
|
|
|
581 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Floor"));
|
|
|
582 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
583 |
elemField.setMinOccurs(0);
|
|
|
584 |
elemField.setNillable(true);
|
|
|
585 |
typeDesc.addFieldDesc(elemField);
|
|
|
586 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
587 |
elemField.setFieldName("apartment");
|
|
|
588 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Apartment"));
|
|
|
589 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
590 |
elemField.setMinOccurs(0);
|
|
|
591 |
elemField.setNillable(true);
|
|
|
592 |
typeDesc.addFieldDesc(elemField);
|
|
|
593 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
594 |
elemField.setFieldName("POBox");
|
|
|
595 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "POBox"));
|
|
|
596 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
597 |
elemField.setMinOccurs(0);
|
|
|
598 |
elemField.setNillable(true);
|
|
|
599 |
typeDesc.addFieldDesc(elemField);
|
|
|
600 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
601 |
elemField.setFieldName("description");
|
|
|
602 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Description"));
|
|
|
603 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
604 |
elemField.setMinOccurs(0);
|
|
|
605 |
elemField.setNillable(true);
|
|
|
606 |
typeDesc.addFieldDesc(elemField);
|
|
|
607 |
}
|
|
|
608 |
|
|
|
609 |
/**
|
|
|
610 |
* Return type metadata object
|
|
|
611 |
*/
|
|
|
612 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
613 |
return typeDesc;
|
|
|
614 |
}
|
|
|
615 |
|
|
|
616 |
/**
|
|
|
617 |
* Get Custom Serializer
|
|
|
618 |
*/
|
|
|
619 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
620 |
java.lang.String mechType,
|
|
|
621 |
java.lang.Class _javaType,
|
|
|
622 |
javax.xml.namespace.QName _xmlType) {
|
|
|
623 |
return
|
|
|
624 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
625 |
_javaType, _xmlType, typeDesc);
|
|
|
626 |
}
|
|
|
627 |
|
|
|
628 |
/**
|
|
|
629 |
* Get Custom Deserializer
|
|
|
630 |
*/
|
|
|
631 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
632 |
java.lang.String mechType,
|
|
|
633 |
java.lang.Class _javaType,
|
|
|
634 |
javax.xml.namespace.QName _xmlType) {
|
|
|
635 |
return
|
|
|
636 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
637 |
_javaType, _xmlType, typeDesc);
|
|
|
638 |
}
|
|
|
639 |
|
|
|
640 |
}
|