| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* Shipment.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 Shipment implements java.io.Serializable {
|
|
|
11 |
private java.lang.String reference1;
|
|
|
12 |
|
|
|
13 |
private java.lang.String reference2;
|
|
|
14 |
|
|
|
15 |
private java.lang.String reference3;
|
|
|
16 |
|
|
|
17 |
private com.aramex.stub.Party shipper;
|
|
|
18 |
|
|
|
19 |
private com.aramex.stub.Party consignee;
|
|
|
20 |
|
|
|
21 |
private com.aramex.stub.Party thirdParty;
|
|
|
22 |
|
|
|
23 |
private java.util.Calendar shippingDateTime;
|
|
|
24 |
|
|
|
25 |
private java.util.Calendar dueDate;
|
|
|
26 |
|
|
|
27 |
private java.lang.String comments;
|
|
|
28 |
|
|
|
29 |
private java.lang.String pickupLocation;
|
|
|
30 |
|
|
|
31 |
private java.lang.String operationsInstructions;
|
|
|
32 |
|
|
|
33 |
private java.lang.String accountingInstrcutions;
|
|
|
34 |
|
|
|
35 |
private com.aramex.stub.ShipmentDetails details;
|
|
|
36 |
|
|
|
37 |
private com.aramex.stub.ArrayOfAttachment attachments;
|
|
|
38 |
|
|
|
39 |
private java.lang.String foreignHAWB;
|
|
|
40 |
|
|
|
41 |
private java.lang.Integer transportType_x0020_;
|
|
|
42 |
|
|
|
43 |
private java.lang.String pickupGUID;
|
|
|
44 |
|
|
|
45 |
private java.lang.String number;
|
|
|
46 |
|
|
|
47 |
private com.aramex.stub.ScheduledDelivery scheduledDelivery;
|
|
|
48 |
|
|
|
49 |
public Shipment() {
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public Shipment(
|
|
|
53 |
java.lang.String reference1,
|
|
|
54 |
java.lang.String reference2,
|
|
|
55 |
java.lang.String reference3,
|
|
|
56 |
com.aramex.stub.Party shipper,
|
|
|
57 |
com.aramex.stub.Party consignee,
|
|
|
58 |
com.aramex.stub.Party thirdParty,
|
|
|
59 |
java.util.Calendar shippingDateTime,
|
|
|
60 |
java.util.Calendar dueDate,
|
|
|
61 |
java.lang.String comments,
|
|
|
62 |
java.lang.String pickupLocation,
|
|
|
63 |
java.lang.String operationsInstructions,
|
|
|
64 |
java.lang.String accountingInstrcutions,
|
|
|
65 |
com.aramex.stub.ShipmentDetails details,
|
|
|
66 |
com.aramex.stub.ArrayOfAttachment attachments,
|
|
|
67 |
java.lang.String foreignHAWB,
|
|
|
68 |
java.lang.Integer transportType_x0020_,
|
|
|
69 |
java.lang.String pickupGUID,
|
|
|
70 |
java.lang.String number,
|
|
|
71 |
com.aramex.stub.ScheduledDelivery scheduledDelivery) {
|
|
|
72 |
this.reference1 = reference1;
|
|
|
73 |
this.reference2 = reference2;
|
|
|
74 |
this.reference3 = reference3;
|
|
|
75 |
this.shipper = shipper;
|
|
|
76 |
this.consignee = consignee;
|
|
|
77 |
this.thirdParty = thirdParty;
|
|
|
78 |
this.shippingDateTime = shippingDateTime;
|
|
|
79 |
this.dueDate = dueDate;
|
|
|
80 |
this.comments = comments;
|
|
|
81 |
this.pickupLocation = pickupLocation;
|
|
|
82 |
this.operationsInstructions = operationsInstructions;
|
|
|
83 |
this.accountingInstrcutions = accountingInstrcutions;
|
|
|
84 |
this.details = details;
|
|
|
85 |
this.attachments = attachments;
|
|
|
86 |
this.foreignHAWB = foreignHAWB;
|
|
|
87 |
this.transportType_x0020_ = transportType_x0020_;
|
|
|
88 |
this.pickupGUID = pickupGUID;
|
|
|
89 |
this.number = number;
|
|
|
90 |
this.scheduledDelivery = scheduledDelivery;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
/**
|
|
|
95 |
* Gets the reference1 value for this Shipment.
|
|
|
96 |
*
|
|
|
97 |
* @return reference1
|
|
|
98 |
*/
|
|
|
99 |
public java.lang.String getReference1() {
|
|
|
100 |
return reference1;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
/**
|
|
|
105 |
* Sets the reference1 value for this Shipment.
|
|
|
106 |
*
|
|
|
107 |
* @param reference1
|
|
|
108 |
*/
|
|
|
109 |
public void setReference1(java.lang.String reference1) {
|
|
|
110 |
this.reference1 = reference1;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
/**
|
|
|
115 |
* Gets the reference2 value for this Shipment.
|
|
|
116 |
*
|
|
|
117 |
* @return reference2
|
|
|
118 |
*/
|
|
|
119 |
public java.lang.String getReference2() {
|
|
|
120 |
return reference2;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
/**
|
|
|
125 |
* Sets the reference2 value for this Shipment.
|
|
|
126 |
*
|
|
|
127 |
* @param reference2
|
|
|
128 |
*/
|
|
|
129 |
public void setReference2(java.lang.String reference2) {
|
|
|
130 |
this.reference2 = reference2;
|
|
|
131 |
}
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
/**
|
|
|
135 |
* Gets the reference3 value for this Shipment.
|
|
|
136 |
*
|
|
|
137 |
* @return reference3
|
|
|
138 |
*/
|
|
|
139 |
public java.lang.String getReference3() {
|
|
|
140 |
return reference3;
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
/**
|
|
|
145 |
* Sets the reference3 value for this Shipment.
|
|
|
146 |
*
|
|
|
147 |
* @param reference3
|
|
|
148 |
*/
|
|
|
149 |
public void setReference3(java.lang.String reference3) {
|
|
|
150 |
this.reference3 = reference3;
|
|
|
151 |
}
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Gets the shipper value for this Shipment.
|
|
|
156 |
*
|
|
|
157 |
* @return shipper
|
|
|
158 |
*/
|
|
|
159 |
public com.aramex.stub.Party getShipper() {
|
|
|
160 |
return shipper;
|
|
|
161 |
}
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
/**
|
|
|
165 |
* Sets the shipper value for this Shipment.
|
|
|
166 |
*
|
|
|
167 |
* @param shipper
|
|
|
168 |
*/
|
|
|
169 |
public void setShipper(com.aramex.stub.Party shipper) {
|
|
|
170 |
this.shipper = shipper;
|
|
|
171 |
}
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
/**
|
|
|
175 |
* Gets the consignee value for this Shipment.
|
|
|
176 |
*
|
|
|
177 |
* @return consignee
|
|
|
178 |
*/
|
|
|
179 |
public com.aramex.stub.Party getConsignee() {
|
|
|
180 |
return consignee;
|
|
|
181 |
}
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
/**
|
|
|
185 |
* Sets the consignee value for this Shipment.
|
|
|
186 |
*
|
|
|
187 |
* @param consignee
|
|
|
188 |
*/
|
|
|
189 |
public void setConsignee(com.aramex.stub.Party consignee) {
|
|
|
190 |
this.consignee = consignee;
|
|
|
191 |
}
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
/**
|
|
|
195 |
* Gets the thirdParty value for this Shipment.
|
|
|
196 |
*
|
|
|
197 |
* @return thirdParty
|
|
|
198 |
*/
|
|
|
199 |
public com.aramex.stub.Party getThirdParty() {
|
|
|
200 |
return thirdParty;
|
|
|
201 |
}
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
/**
|
|
|
205 |
* Sets the thirdParty value for this Shipment.
|
|
|
206 |
*
|
|
|
207 |
* @param thirdParty
|
|
|
208 |
*/
|
|
|
209 |
public void setThirdParty(com.aramex.stub.Party thirdParty) {
|
|
|
210 |
this.thirdParty = thirdParty;
|
|
|
211 |
}
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
/**
|
|
|
215 |
* Gets the shippingDateTime value for this Shipment.
|
|
|
216 |
*
|
|
|
217 |
* @return shippingDateTime
|
|
|
218 |
*/
|
|
|
219 |
public java.util.Calendar getShippingDateTime() {
|
|
|
220 |
return shippingDateTime;
|
|
|
221 |
}
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
/**
|
|
|
225 |
* Sets the shippingDateTime value for this Shipment.
|
|
|
226 |
*
|
|
|
227 |
* @param shippingDateTime
|
|
|
228 |
*/
|
|
|
229 |
public void setShippingDateTime(java.util.Calendar shippingDateTime) {
|
|
|
230 |
this.shippingDateTime = shippingDateTime;
|
|
|
231 |
}
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
/**
|
|
|
235 |
* Gets the dueDate value for this Shipment.
|
|
|
236 |
*
|
|
|
237 |
* @return dueDate
|
|
|
238 |
*/
|
|
|
239 |
public java.util.Calendar getDueDate() {
|
|
|
240 |
return dueDate;
|
|
|
241 |
}
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
/**
|
|
|
245 |
* Sets the dueDate value for this Shipment.
|
|
|
246 |
*
|
|
|
247 |
* @param dueDate
|
|
|
248 |
*/
|
|
|
249 |
public void setDueDate(java.util.Calendar dueDate) {
|
|
|
250 |
this.dueDate = dueDate;
|
|
|
251 |
}
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
/**
|
|
|
255 |
* Gets the comments value for this Shipment.
|
|
|
256 |
*
|
|
|
257 |
* @return comments
|
|
|
258 |
*/
|
|
|
259 |
public java.lang.String getComments() {
|
|
|
260 |
return comments;
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
|
|
|
264 |
/**
|
|
|
265 |
* Sets the comments value for this Shipment.
|
|
|
266 |
*
|
|
|
267 |
* @param comments
|
|
|
268 |
*/
|
|
|
269 |
public void setComments(java.lang.String comments) {
|
|
|
270 |
this.comments = comments;
|
|
|
271 |
}
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
/**
|
|
|
275 |
* Gets the pickupLocation value for this Shipment.
|
|
|
276 |
*
|
|
|
277 |
* @return pickupLocation
|
|
|
278 |
*/
|
|
|
279 |
public java.lang.String getPickupLocation() {
|
|
|
280 |
return pickupLocation;
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
/**
|
|
|
285 |
* Sets the pickupLocation value for this Shipment.
|
|
|
286 |
*
|
|
|
287 |
* @param pickupLocation
|
|
|
288 |
*/
|
|
|
289 |
public void setPickupLocation(java.lang.String pickupLocation) {
|
|
|
290 |
this.pickupLocation = pickupLocation;
|
|
|
291 |
}
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
/**
|
|
|
295 |
* Gets the operationsInstructions value for this Shipment.
|
|
|
296 |
*
|
|
|
297 |
* @return operationsInstructions
|
|
|
298 |
*/
|
|
|
299 |
public java.lang.String getOperationsInstructions() {
|
|
|
300 |
return operationsInstructions;
|
|
|
301 |
}
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
/**
|
|
|
305 |
* Sets the operationsInstructions value for this Shipment.
|
|
|
306 |
*
|
|
|
307 |
* @param operationsInstructions
|
|
|
308 |
*/
|
|
|
309 |
public void setOperationsInstructions(java.lang.String operationsInstructions) {
|
|
|
310 |
this.operationsInstructions = operationsInstructions;
|
|
|
311 |
}
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
/**
|
|
|
315 |
* Gets the accountingInstrcutions value for this Shipment.
|
|
|
316 |
*
|
|
|
317 |
* @return accountingInstrcutions
|
|
|
318 |
*/
|
|
|
319 |
public java.lang.String getAccountingInstrcutions() {
|
|
|
320 |
return accountingInstrcutions;
|
|
|
321 |
}
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
/**
|
|
|
325 |
* Sets the accountingInstrcutions value for this Shipment.
|
|
|
326 |
*
|
|
|
327 |
* @param accountingInstrcutions
|
|
|
328 |
*/
|
|
|
329 |
public void setAccountingInstrcutions(java.lang.String accountingInstrcutions) {
|
|
|
330 |
this.accountingInstrcutions = accountingInstrcutions;
|
|
|
331 |
}
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
/**
|
|
|
335 |
* Gets the details value for this Shipment.
|
|
|
336 |
*
|
|
|
337 |
* @return details
|
|
|
338 |
*/
|
|
|
339 |
public com.aramex.stub.ShipmentDetails getDetails() {
|
|
|
340 |
return details;
|
|
|
341 |
}
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
/**
|
|
|
345 |
* Sets the details value for this Shipment.
|
|
|
346 |
*
|
|
|
347 |
* @param details
|
|
|
348 |
*/
|
|
|
349 |
public void setDetails(com.aramex.stub.ShipmentDetails details) {
|
|
|
350 |
this.details = details;
|
|
|
351 |
}
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
/**
|
|
|
355 |
* Gets the attachments value for this Shipment.
|
|
|
356 |
*
|
|
|
357 |
* @return attachments
|
|
|
358 |
*/
|
|
|
359 |
public com.aramex.stub.ArrayOfAttachment getAttachments() {
|
|
|
360 |
return attachments;
|
|
|
361 |
}
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
/**
|
|
|
365 |
* Sets the attachments value for this Shipment.
|
|
|
366 |
*
|
|
|
367 |
* @param attachments
|
|
|
368 |
*/
|
|
|
369 |
public void setAttachments(com.aramex.stub.ArrayOfAttachment attachments) {
|
|
|
370 |
this.attachments = attachments;
|
|
|
371 |
}
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
/**
|
|
|
375 |
* Gets the foreignHAWB value for this Shipment.
|
|
|
376 |
*
|
|
|
377 |
* @return foreignHAWB
|
|
|
378 |
*/
|
|
|
379 |
public java.lang.String getForeignHAWB() {
|
|
|
380 |
return foreignHAWB;
|
|
|
381 |
}
|
|
|
382 |
|
|
|
383 |
|
|
|
384 |
/**
|
|
|
385 |
* Sets the foreignHAWB value for this Shipment.
|
|
|
386 |
*
|
|
|
387 |
* @param foreignHAWB
|
|
|
388 |
*/
|
|
|
389 |
public void setForeignHAWB(java.lang.String foreignHAWB) {
|
|
|
390 |
this.foreignHAWB = foreignHAWB;
|
|
|
391 |
}
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
/**
|
|
|
395 |
* Gets the transportType_x0020_ value for this Shipment.
|
|
|
396 |
*
|
|
|
397 |
* @return transportType_x0020_
|
|
|
398 |
*/
|
|
|
399 |
public java.lang.Integer getTransportType_x0020_() {
|
|
|
400 |
return transportType_x0020_;
|
|
|
401 |
}
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
/**
|
|
|
405 |
* Sets the transportType_x0020_ value for this Shipment.
|
|
|
406 |
*
|
|
|
407 |
* @param transportType_x0020_
|
|
|
408 |
*/
|
|
|
409 |
public void setTransportType_x0020_(java.lang.Integer transportType_x0020_) {
|
|
|
410 |
this.transportType_x0020_ = transportType_x0020_;
|
|
|
411 |
}
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
/**
|
|
|
415 |
* Gets the pickupGUID value for this Shipment.
|
|
|
416 |
*
|
|
|
417 |
* @return pickupGUID
|
|
|
418 |
*/
|
|
|
419 |
public java.lang.String getPickupGUID() {
|
|
|
420 |
return pickupGUID;
|
|
|
421 |
}
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
/**
|
|
|
425 |
* Sets the pickupGUID value for this Shipment.
|
|
|
426 |
*
|
|
|
427 |
* @param pickupGUID
|
|
|
428 |
*/
|
|
|
429 |
public void setPickupGUID(java.lang.String pickupGUID) {
|
|
|
430 |
this.pickupGUID = pickupGUID;
|
|
|
431 |
}
|
|
|
432 |
|
|
|
433 |
|
|
|
434 |
/**
|
|
|
435 |
* Gets the number value for this Shipment.
|
|
|
436 |
*
|
|
|
437 |
* @return number
|
|
|
438 |
*/
|
|
|
439 |
public java.lang.String getNumber() {
|
|
|
440 |
return number;
|
|
|
441 |
}
|
|
|
442 |
|
|
|
443 |
|
|
|
444 |
/**
|
|
|
445 |
* Sets the number value for this Shipment.
|
|
|
446 |
*
|
|
|
447 |
* @param number
|
|
|
448 |
*/
|
|
|
449 |
public void setNumber(java.lang.String number) {
|
|
|
450 |
this.number = number;
|
|
|
451 |
}
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
/**
|
|
|
455 |
* Gets the scheduledDelivery value for this Shipment.
|
|
|
456 |
*
|
|
|
457 |
* @return scheduledDelivery
|
|
|
458 |
*/
|
|
|
459 |
public com.aramex.stub.ScheduledDelivery getScheduledDelivery() {
|
|
|
460 |
return scheduledDelivery;
|
|
|
461 |
}
|
|
|
462 |
|
|
|
463 |
|
|
|
464 |
/**
|
|
|
465 |
* Sets the scheduledDelivery value for this Shipment.
|
|
|
466 |
*
|
|
|
467 |
* @param scheduledDelivery
|
|
|
468 |
*/
|
|
|
469 |
public void setScheduledDelivery(com.aramex.stub.ScheduledDelivery scheduledDelivery) {
|
|
|
470 |
this.scheduledDelivery = scheduledDelivery;
|
|
|
471 |
}
|
|
|
472 |
|
|
|
473 |
private java.lang.Object __equalsCalc = null;
|
|
|
474 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
475 |
if (!(obj instanceof Shipment)) return false;
|
|
|
476 |
Shipment other = (Shipment) obj;
|
|
|
477 |
if (obj == null) return false;
|
|
|
478 |
if (this == obj) return true;
|
|
|
479 |
if (__equalsCalc != null) {
|
|
|
480 |
return (__equalsCalc == obj);
|
|
|
481 |
}
|
|
|
482 |
__equalsCalc = obj;
|
|
|
483 |
boolean _equals;
|
|
|
484 |
_equals = true &&
|
|
|
485 |
((this.reference1==null && other.getReference1()==null) ||
|
|
|
486 |
(this.reference1!=null &&
|
|
|
487 |
this.reference1.equals(other.getReference1()))) &&
|
|
|
488 |
((this.reference2==null && other.getReference2()==null) ||
|
|
|
489 |
(this.reference2!=null &&
|
|
|
490 |
this.reference2.equals(other.getReference2()))) &&
|
|
|
491 |
((this.reference3==null && other.getReference3()==null) ||
|
|
|
492 |
(this.reference3!=null &&
|
|
|
493 |
this.reference3.equals(other.getReference3()))) &&
|
|
|
494 |
((this.shipper==null && other.getShipper()==null) ||
|
|
|
495 |
(this.shipper!=null &&
|
|
|
496 |
this.shipper.equals(other.getShipper()))) &&
|
|
|
497 |
((this.consignee==null && other.getConsignee()==null) ||
|
|
|
498 |
(this.consignee!=null &&
|
|
|
499 |
this.consignee.equals(other.getConsignee()))) &&
|
|
|
500 |
((this.thirdParty==null && other.getThirdParty()==null) ||
|
|
|
501 |
(this.thirdParty!=null &&
|
|
|
502 |
this.thirdParty.equals(other.getThirdParty()))) &&
|
|
|
503 |
((this.shippingDateTime==null && other.getShippingDateTime()==null) ||
|
|
|
504 |
(this.shippingDateTime!=null &&
|
|
|
505 |
this.shippingDateTime.equals(other.getShippingDateTime()))) &&
|
|
|
506 |
((this.dueDate==null && other.getDueDate()==null) ||
|
|
|
507 |
(this.dueDate!=null &&
|
|
|
508 |
this.dueDate.equals(other.getDueDate()))) &&
|
|
|
509 |
((this.comments==null && other.getComments()==null) ||
|
|
|
510 |
(this.comments!=null &&
|
|
|
511 |
this.comments.equals(other.getComments()))) &&
|
|
|
512 |
((this.pickupLocation==null && other.getPickupLocation()==null) ||
|
|
|
513 |
(this.pickupLocation!=null &&
|
|
|
514 |
this.pickupLocation.equals(other.getPickupLocation()))) &&
|
|
|
515 |
((this.operationsInstructions==null && other.getOperationsInstructions()==null) ||
|
|
|
516 |
(this.operationsInstructions!=null &&
|
|
|
517 |
this.operationsInstructions.equals(other.getOperationsInstructions()))) &&
|
|
|
518 |
((this.accountingInstrcutions==null && other.getAccountingInstrcutions()==null) ||
|
|
|
519 |
(this.accountingInstrcutions!=null &&
|
|
|
520 |
this.accountingInstrcutions.equals(other.getAccountingInstrcutions()))) &&
|
|
|
521 |
((this.details==null && other.getDetails()==null) ||
|
|
|
522 |
(this.details!=null &&
|
|
|
523 |
this.details.equals(other.getDetails()))) &&
|
|
|
524 |
((this.attachments==null && other.getAttachments()==null) ||
|
|
|
525 |
(this.attachments!=null &&
|
|
|
526 |
this.attachments.equals(other.getAttachments()))) &&
|
|
|
527 |
((this.foreignHAWB==null && other.getForeignHAWB()==null) ||
|
|
|
528 |
(this.foreignHAWB!=null &&
|
|
|
529 |
this.foreignHAWB.equals(other.getForeignHAWB()))) &&
|
|
|
530 |
((this.transportType_x0020_==null && other.getTransportType_x0020_()==null) ||
|
|
|
531 |
(this.transportType_x0020_!=null &&
|
|
|
532 |
this.transportType_x0020_.equals(other.getTransportType_x0020_()))) &&
|
|
|
533 |
((this.pickupGUID==null && other.getPickupGUID()==null) ||
|
|
|
534 |
(this.pickupGUID!=null &&
|
|
|
535 |
this.pickupGUID.equals(other.getPickupGUID()))) &&
|
|
|
536 |
((this.number==null && other.getNumber()==null) ||
|
|
|
537 |
(this.number!=null &&
|
|
|
538 |
this.number.equals(other.getNumber()))) &&
|
|
|
539 |
((this.scheduledDelivery==null && other.getScheduledDelivery()==null) ||
|
|
|
540 |
(this.scheduledDelivery!=null &&
|
|
|
541 |
this.scheduledDelivery.equals(other.getScheduledDelivery())));
|
|
|
542 |
__equalsCalc = null;
|
|
|
543 |
return _equals;
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
private boolean __hashCodeCalc = false;
|
|
|
547 |
public synchronized int hashCode() {
|
|
|
548 |
if (__hashCodeCalc) {
|
|
|
549 |
return 0;
|
|
|
550 |
}
|
|
|
551 |
__hashCodeCalc = true;
|
|
|
552 |
int _hashCode = 1;
|
|
|
553 |
if (getReference1() != null) {
|
|
|
554 |
_hashCode += getReference1().hashCode();
|
|
|
555 |
}
|
|
|
556 |
if (getReference2() != null) {
|
|
|
557 |
_hashCode += getReference2().hashCode();
|
|
|
558 |
}
|
|
|
559 |
if (getReference3() != null) {
|
|
|
560 |
_hashCode += getReference3().hashCode();
|
|
|
561 |
}
|
|
|
562 |
if (getShipper() != null) {
|
|
|
563 |
_hashCode += getShipper().hashCode();
|
|
|
564 |
}
|
|
|
565 |
if (getConsignee() != null) {
|
|
|
566 |
_hashCode += getConsignee().hashCode();
|
|
|
567 |
}
|
|
|
568 |
if (getThirdParty() != null) {
|
|
|
569 |
_hashCode += getThirdParty().hashCode();
|
|
|
570 |
}
|
|
|
571 |
if (getShippingDateTime() != null) {
|
|
|
572 |
_hashCode += getShippingDateTime().hashCode();
|
|
|
573 |
}
|
|
|
574 |
if (getDueDate() != null) {
|
|
|
575 |
_hashCode += getDueDate().hashCode();
|
|
|
576 |
}
|
|
|
577 |
if (getComments() != null) {
|
|
|
578 |
_hashCode += getComments().hashCode();
|
|
|
579 |
}
|
|
|
580 |
if (getPickupLocation() != null) {
|
|
|
581 |
_hashCode += getPickupLocation().hashCode();
|
|
|
582 |
}
|
|
|
583 |
if (getOperationsInstructions() != null) {
|
|
|
584 |
_hashCode += getOperationsInstructions().hashCode();
|
|
|
585 |
}
|
|
|
586 |
if (getAccountingInstrcutions() != null) {
|
|
|
587 |
_hashCode += getAccountingInstrcutions().hashCode();
|
|
|
588 |
}
|
|
|
589 |
if (getDetails() != null) {
|
|
|
590 |
_hashCode += getDetails().hashCode();
|
|
|
591 |
}
|
|
|
592 |
if (getAttachments() != null) {
|
|
|
593 |
_hashCode += getAttachments().hashCode();
|
|
|
594 |
}
|
|
|
595 |
if (getForeignHAWB() != null) {
|
|
|
596 |
_hashCode += getForeignHAWB().hashCode();
|
|
|
597 |
}
|
|
|
598 |
if (getTransportType_x0020_() != null) {
|
|
|
599 |
_hashCode += getTransportType_x0020_().hashCode();
|
|
|
600 |
}
|
|
|
601 |
if (getPickupGUID() != null) {
|
|
|
602 |
_hashCode += getPickupGUID().hashCode();
|
|
|
603 |
}
|
|
|
604 |
if (getNumber() != null) {
|
|
|
605 |
_hashCode += getNumber().hashCode();
|
|
|
606 |
}
|
|
|
607 |
if (getScheduledDelivery() != null) {
|
|
|
608 |
_hashCode += getScheduledDelivery().hashCode();
|
|
|
609 |
}
|
|
|
610 |
__hashCodeCalc = false;
|
|
|
611 |
return _hashCode;
|
|
|
612 |
}
|
|
|
613 |
|
|
|
614 |
// Type metadata
|
|
|
615 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
616 |
new org.apache.axis.description.TypeDesc(Shipment.class, true);
|
|
|
617 |
|
|
|
618 |
static {
|
|
|
619 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Shipment"));
|
|
|
620 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
621 |
elemField.setFieldName("reference1");
|
|
|
622 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference1"));
|
|
|
623 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
624 |
elemField.setMinOccurs(0);
|
|
|
625 |
elemField.setNillable(true);
|
|
|
626 |
typeDesc.addFieldDesc(elemField);
|
|
|
627 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
628 |
elemField.setFieldName("reference2");
|
|
|
629 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference2"));
|
|
|
630 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
631 |
elemField.setMinOccurs(0);
|
|
|
632 |
elemField.setNillable(true);
|
|
|
633 |
typeDesc.addFieldDesc(elemField);
|
|
|
634 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
635 |
elemField.setFieldName("reference3");
|
|
|
636 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference3"));
|
|
|
637 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
638 |
elemField.setMinOccurs(0);
|
|
|
639 |
elemField.setNillable(true);
|
|
|
640 |
typeDesc.addFieldDesc(elemField);
|
|
|
641 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
642 |
elemField.setFieldName("shipper");
|
|
|
643 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Shipper"));
|
|
|
644 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Party"));
|
|
|
645 |
elemField.setNillable(true);
|
|
|
646 |
typeDesc.addFieldDesc(elemField);
|
|
|
647 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
648 |
elemField.setFieldName("consignee");
|
|
|
649 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Consignee"));
|
|
|
650 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Party"));
|
|
|
651 |
elemField.setNillable(true);
|
|
|
652 |
typeDesc.addFieldDesc(elemField);
|
|
|
653 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
654 |
elemField.setFieldName("thirdParty");
|
|
|
655 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ThirdParty"));
|
|
|
656 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Party"));
|
|
|
657 |
elemField.setMinOccurs(0);
|
|
|
658 |
elemField.setNillable(true);
|
|
|
659 |
typeDesc.addFieldDesc(elemField);
|
|
|
660 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
661 |
elemField.setFieldName("shippingDateTime");
|
|
|
662 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShippingDateTime"));
|
|
|
663 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
|
|
664 |
elemField.setNillable(false);
|
|
|
665 |
typeDesc.addFieldDesc(elemField);
|
|
|
666 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
667 |
elemField.setFieldName("dueDate");
|
|
|
668 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DueDate"));
|
|
|
669 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
|
|
670 |
elemField.setMinOccurs(0);
|
|
|
671 |
elemField.setNillable(false);
|
|
|
672 |
typeDesc.addFieldDesc(elemField);
|
|
|
673 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
674 |
elemField.setFieldName("comments");
|
|
|
675 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Comments"));
|
|
|
676 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
677 |
elemField.setMinOccurs(0);
|
|
|
678 |
elemField.setNillable(true);
|
|
|
679 |
typeDesc.addFieldDesc(elemField);
|
|
|
680 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
681 |
elemField.setFieldName("pickupLocation");
|
|
|
682 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupLocation"));
|
|
|
683 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
684 |
elemField.setMinOccurs(0);
|
|
|
685 |
elemField.setNillable(true);
|
|
|
686 |
typeDesc.addFieldDesc(elemField);
|
|
|
687 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
688 |
elemField.setFieldName("operationsInstructions");
|
|
|
689 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "OperationsInstructions"));
|
|
|
690 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
691 |
elemField.setMinOccurs(0);
|
|
|
692 |
elemField.setNillable(true);
|
|
|
693 |
typeDesc.addFieldDesc(elemField);
|
|
|
694 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
695 |
elemField.setFieldName("accountingInstrcutions");
|
|
|
696 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountingInstrcutions"));
|
|
|
697 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
698 |
elemField.setMinOccurs(0);
|
|
|
699 |
elemField.setNillable(true);
|
|
|
700 |
typeDesc.addFieldDesc(elemField);
|
|
|
701 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
702 |
elemField.setFieldName("details");
|
|
|
703 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Details"));
|
|
|
704 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentDetails"));
|
|
|
705 |
elemField.setNillable(true);
|
|
|
706 |
typeDesc.addFieldDesc(elemField);
|
|
|
707 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
708 |
elemField.setFieldName("attachments");
|
|
|
709 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachments"));
|
|
|
710 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfAttachment"));
|
|
|
711 |
elemField.setMinOccurs(0);
|
|
|
712 |
elemField.setNillable(true);
|
|
|
713 |
typeDesc.addFieldDesc(elemField);
|
|
|
714 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
715 |
elemField.setFieldName("foreignHAWB");
|
|
|
716 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ForeignHAWB"));
|
|
|
717 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
718 |
elemField.setMinOccurs(0);
|
|
|
719 |
elemField.setNillable(true);
|
|
|
720 |
typeDesc.addFieldDesc(elemField);
|
|
|
721 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
722 |
elemField.setFieldName("transportType_x0020_");
|
|
|
723 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "TransportType_x0020_"));
|
|
|
724 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
|
|
725 |
elemField.setMinOccurs(0);
|
|
|
726 |
elemField.setNillable(false);
|
|
|
727 |
typeDesc.addFieldDesc(elemField);
|
|
|
728 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
729 |
elemField.setFieldName("pickupGUID");
|
|
|
730 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupGUID"));
|
|
|
731 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
732 |
elemField.setMinOccurs(0);
|
|
|
733 |
elemField.setNillable(true);
|
|
|
734 |
typeDesc.addFieldDesc(elemField);
|
|
|
735 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
736 |
elemField.setFieldName("number");
|
|
|
737 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Number"));
|
|
|
738 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
739 |
elemField.setMinOccurs(0);
|
|
|
740 |
elemField.setNillable(true);
|
|
|
741 |
typeDesc.addFieldDesc(elemField);
|
|
|
742 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
743 |
elemField.setFieldName("scheduledDelivery");
|
|
|
744 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDelivery"));
|
|
|
745 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDelivery"));
|
|
|
746 |
elemField.setMinOccurs(0);
|
|
|
747 |
elemField.setNillable(true);
|
|
|
748 |
typeDesc.addFieldDesc(elemField);
|
|
|
749 |
}
|
|
|
750 |
|
|
|
751 |
/**
|
|
|
752 |
* Return type metadata object
|
|
|
753 |
*/
|
|
|
754 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
755 |
return typeDesc;
|
|
|
756 |
}
|
|
|
757 |
|
|
|
758 |
/**
|
|
|
759 |
* Get Custom Serializer
|
|
|
760 |
*/
|
|
|
761 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
762 |
java.lang.String mechType,
|
|
|
763 |
java.lang.Class _javaType,
|
|
|
764 |
javax.xml.namespace.QName _xmlType) {
|
|
|
765 |
return
|
|
|
766 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
767 |
_javaType, _xmlType, typeDesc);
|
|
|
768 |
}
|
|
|
769 |
|
|
|
770 |
/**
|
|
|
771 |
* Get Custom Deserializer
|
|
|
772 |
*/
|
|
|
773 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
774 |
java.lang.String mechType,
|
|
|
775 |
java.lang.Class _javaType,
|
|
|
776 |
javax.xml.namespace.QName _xmlType) {
|
|
|
777 |
return
|
|
|
778 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
779 |
_javaType, _xmlType, typeDesc);
|
|
|
780 |
}
|
|
|
781 |
|
|
|
782 |
}
|