Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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