Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20640 amit.gupta 1
/**
2
 * ScheduledDeliveryRequest.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 ScheduledDeliveryRequest  implements java.io.Serializable {
11
    private com.aramex.stub.ClientInfo clientInfo;
12
 
13
    private com.aramex.stub.Transaction transaction;
14
 
15
    private com.aramex.stub.Address address;
16
 
17
    private com.aramex.stub.ScheduledDelivery scheduledDelivery;
18
 
19
    private java.lang.String shipmentNumber;
20
 
21
    private java.lang.String productGroup;
22
 
23
    private java.lang.String entity;
24
 
25
    private java.lang.String consigneePhone;
26
 
27
    private java.lang.String shipperNumber;
28
 
29
    private java.lang.String shipperReference;
30
 
31
    private java.lang.String reference1;
32
 
33
    private java.lang.String reference2;
34
 
35
    private java.lang.String reference3;
36
 
37
    public ScheduledDeliveryRequest() {
38
    }
39
 
40
    public ScheduledDeliveryRequest(
41
           com.aramex.stub.ClientInfo clientInfo,
42
           com.aramex.stub.Transaction transaction,
43
           com.aramex.stub.Address address,
44
           com.aramex.stub.ScheduledDelivery scheduledDelivery,
45
           java.lang.String shipmentNumber,
46
           java.lang.String productGroup,
47
           java.lang.String entity,
48
           java.lang.String consigneePhone,
49
           java.lang.String shipperNumber,
50
           java.lang.String shipperReference,
51
           java.lang.String reference1,
52
           java.lang.String reference2,
53
           java.lang.String reference3) {
54
           this.clientInfo = clientInfo;
55
           this.transaction = transaction;
56
           this.address = address;
57
           this.scheduledDelivery = scheduledDelivery;
58
           this.shipmentNumber = shipmentNumber;
59
           this.productGroup = productGroup;
60
           this.entity = entity;
61
           this.consigneePhone = consigneePhone;
62
           this.shipperNumber = shipperNumber;
63
           this.shipperReference = shipperReference;
64
           this.reference1 = reference1;
65
           this.reference2 = reference2;
66
           this.reference3 = reference3;
67
    }
68
 
69
 
70
    /**
71
     * Gets the clientInfo value for this ScheduledDeliveryRequest.
72
     * 
73
     * @return clientInfo
74
     */
75
    public com.aramex.stub.ClientInfo getClientInfo() {
76
        return clientInfo;
77
    }
78
 
79
 
80
    /**
81
     * Sets the clientInfo value for this ScheduledDeliveryRequest.
82
     * 
83
     * @param clientInfo
84
     */
85
    public void setClientInfo(com.aramex.stub.ClientInfo clientInfo) {
86
        this.clientInfo = clientInfo;
87
    }
88
 
89
 
90
    /**
91
     * Gets the transaction value for this ScheduledDeliveryRequest.
92
     * 
93
     * @return transaction
94
     */
95
    public com.aramex.stub.Transaction getTransaction() {
96
        return transaction;
97
    }
98
 
99
 
100
    /**
101
     * Sets the transaction value for this ScheduledDeliveryRequest.
102
     * 
103
     * @param transaction
104
     */
105
    public void setTransaction(com.aramex.stub.Transaction transaction) {
106
        this.transaction = transaction;
107
    }
108
 
109
 
110
    /**
111
     * Gets the address value for this ScheduledDeliveryRequest.
112
     * 
113
     * @return address
114
     */
115
    public com.aramex.stub.Address getAddress() {
116
        return address;
117
    }
118
 
119
 
120
    /**
121
     * Sets the address value for this ScheduledDeliveryRequest.
122
     * 
123
     * @param address
124
     */
125
    public void setAddress(com.aramex.stub.Address address) {
126
        this.address = address;
127
    }
128
 
129
 
130
    /**
131
     * Gets the scheduledDelivery value for this ScheduledDeliveryRequest.
132
     * 
133
     * @return scheduledDelivery
134
     */
135
    public com.aramex.stub.ScheduledDelivery getScheduledDelivery() {
136
        return scheduledDelivery;
137
    }
138
 
139
 
140
    /**
141
     * Sets the scheduledDelivery value for this ScheduledDeliveryRequest.
142
     * 
143
     * @param scheduledDelivery
144
     */
145
    public void setScheduledDelivery(com.aramex.stub.ScheduledDelivery scheduledDelivery) {
146
        this.scheduledDelivery = scheduledDelivery;
147
    }
148
 
149
 
150
    /**
151
     * Gets the shipmentNumber value for this ScheduledDeliveryRequest.
152
     * 
153
     * @return shipmentNumber
154
     */
155
    public java.lang.String getShipmentNumber() {
156
        return shipmentNumber;
157
    }
158
 
159
 
160
    /**
161
     * Sets the shipmentNumber value for this ScheduledDeliveryRequest.
162
     * 
163
     * @param shipmentNumber
164
     */
165
    public void setShipmentNumber(java.lang.String shipmentNumber) {
166
        this.shipmentNumber = shipmentNumber;
167
    }
168
 
169
 
170
    /**
171
     * Gets the productGroup value for this ScheduledDeliveryRequest.
172
     * 
173
     * @return productGroup
174
     */
175
    public java.lang.String getProductGroup() {
176
        return productGroup;
177
    }
178
 
179
 
180
    /**
181
     * Sets the productGroup value for this ScheduledDeliveryRequest.
182
     * 
183
     * @param productGroup
184
     */
185
    public void setProductGroup(java.lang.String productGroup) {
186
        this.productGroup = productGroup;
187
    }
188
 
189
 
190
    /**
191
     * Gets the entity value for this ScheduledDeliveryRequest.
192
     * 
193
     * @return entity
194
     */
195
    public java.lang.String getEntity() {
196
        return entity;
197
    }
198
 
199
 
200
    /**
201
     * Sets the entity value for this ScheduledDeliveryRequest.
202
     * 
203
     * @param entity
204
     */
205
    public void setEntity(java.lang.String entity) {
206
        this.entity = entity;
207
    }
208
 
209
 
210
    /**
211
     * Gets the consigneePhone value for this ScheduledDeliveryRequest.
212
     * 
213
     * @return consigneePhone
214
     */
215
    public java.lang.String getConsigneePhone() {
216
        return consigneePhone;
217
    }
218
 
219
 
220
    /**
221
     * Sets the consigneePhone value for this ScheduledDeliveryRequest.
222
     * 
223
     * @param consigneePhone
224
     */
225
    public void setConsigneePhone(java.lang.String consigneePhone) {
226
        this.consigneePhone = consigneePhone;
227
    }
228
 
229
 
230
    /**
231
     * Gets the shipperNumber value for this ScheduledDeliveryRequest.
232
     * 
233
     * @return shipperNumber
234
     */
235
    public java.lang.String getShipperNumber() {
236
        return shipperNumber;
237
    }
238
 
239
 
240
    /**
241
     * Sets the shipperNumber value for this ScheduledDeliveryRequest.
242
     * 
243
     * @param shipperNumber
244
     */
245
    public void setShipperNumber(java.lang.String shipperNumber) {
246
        this.shipperNumber = shipperNumber;
247
    }
248
 
249
 
250
    /**
251
     * Gets the shipperReference value for this ScheduledDeliveryRequest.
252
     * 
253
     * @return shipperReference
254
     */
255
    public java.lang.String getShipperReference() {
256
        return shipperReference;
257
    }
258
 
259
 
260
    /**
261
     * Sets the shipperReference value for this ScheduledDeliveryRequest.
262
     * 
263
     * @param shipperReference
264
     */
265
    public void setShipperReference(java.lang.String shipperReference) {
266
        this.shipperReference = shipperReference;
267
    }
268
 
269
 
270
    /**
271
     * Gets the reference1 value for this ScheduledDeliveryRequest.
272
     * 
273
     * @return reference1
274
     */
275
    public java.lang.String getReference1() {
276
        return reference1;
277
    }
278
 
279
 
280
    /**
281
     * Sets the reference1 value for this ScheduledDeliveryRequest.
282
     * 
283
     * @param reference1
284
     */
285
    public void setReference1(java.lang.String reference1) {
286
        this.reference1 = reference1;
287
    }
288
 
289
 
290
    /**
291
     * Gets the reference2 value for this ScheduledDeliveryRequest.
292
     * 
293
     * @return reference2
294
     */
295
    public java.lang.String getReference2() {
296
        return reference2;
297
    }
298
 
299
 
300
    /**
301
     * Sets the reference2 value for this ScheduledDeliveryRequest.
302
     * 
303
     * @param reference2
304
     */
305
    public void setReference2(java.lang.String reference2) {
306
        this.reference2 = reference2;
307
    }
308
 
309
 
310
    /**
311
     * Gets the reference3 value for this ScheduledDeliveryRequest.
312
     * 
313
     * @return reference3
314
     */
315
    public java.lang.String getReference3() {
316
        return reference3;
317
    }
318
 
319
 
320
    /**
321
     * Sets the reference3 value for this ScheduledDeliveryRequest.
322
     * 
323
     * @param reference3
324
     */
325
    public void setReference3(java.lang.String reference3) {
326
        this.reference3 = reference3;
327
    }
328
 
329
    private java.lang.Object __equalsCalc = null;
330
    public synchronized boolean equals(java.lang.Object obj) {
331
        if (!(obj instanceof ScheduledDeliveryRequest)) return false;
332
        ScheduledDeliveryRequest other = (ScheduledDeliveryRequest) obj;
333
        if (obj == null) return false;
334
        if (this == obj) return true;
335
        if (__equalsCalc != null) {
336
            return (__equalsCalc == obj);
337
        }
338
        __equalsCalc = obj;
339
        boolean _equals;
340
        _equals = true && 
341
            ((this.clientInfo==null && other.getClientInfo()==null) || 
342
             (this.clientInfo!=null &&
343
              this.clientInfo.equals(other.getClientInfo()))) &&
344
            ((this.transaction==null && other.getTransaction()==null) || 
345
             (this.transaction!=null &&
346
              this.transaction.equals(other.getTransaction()))) &&
347
            ((this.address==null && other.getAddress()==null) || 
348
             (this.address!=null &&
349
              this.address.equals(other.getAddress()))) &&
350
            ((this.scheduledDelivery==null && other.getScheduledDelivery()==null) || 
351
             (this.scheduledDelivery!=null &&
352
              this.scheduledDelivery.equals(other.getScheduledDelivery()))) &&
353
            ((this.shipmentNumber==null && other.getShipmentNumber()==null) || 
354
             (this.shipmentNumber!=null &&
355
              this.shipmentNumber.equals(other.getShipmentNumber()))) &&
356
            ((this.productGroup==null && other.getProductGroup()==null) || 
357
             (this.productGroup!=null &&
358
              this.productGroup.equals(other.getProductGroup()))) &&
359
            ((this.entity==null && other.getEntity()==null) || 
360
             (this.entity!=null &&
361
              this.entity.equals(other.getEntity()))) &&
362
            ((this.consigneePhone==null && other.getConsigneePhone()==null) || 
363
             (this.consigneePhone!=null &&
364
              this.consigneePhone.equals(other.getConsigneePhone()))) &&
365
            ((this.shipperNumber==null && other.getShipperNumber()==null) || 
366
             (this.shipperNumber!=null &&
367
              this.shipperNumber.equals(other.getShipperNumber()))) &&
368
            ((this.shipperReference==null && other.getShipperReference()==null) || 
369
             (this.shipperReference!=null &&
370
              this.shipperReference.equals(other.getShipperReference()))) &&
371
            ((this.reference1==null && other.getReference1()==null) || 
372
             (this.reference1!=null &&
373
              this.reference1.equals(other.getReference1()))) &&
374
            ((this.reference2==null && other.getReference2()==null) || 
375
             (this.reference2!=null &&
376
              this.reference2.equals(other.getReference2()))) &&
377
            ((this.reference3==null && other.getReference3()==null) || 
378
             (this.reference3!=null &&
379
              this.reference3.equals(other.getReference3())));
380
        __equalsCalc = null;
381
        return _equals;
382
    }
383
 
384
    private boolean __hashCodeCalc = false;
385
    public synchronized int hashCode() {
386
        if (__hashCodeCalc) {
387
            return 0;
388
        }
389
        __hashCodeCalc = true;
390
        int _hashCode = 1;
391
        if (getClientInfo() != null) {
392
            _hashCode += getClientInfo().hashCode();
393
        }
394
        if (getTransaction() != null) {
395
            _hashCode += getTransaction().hashCode();
396
        }
397
        if (getAddress() != null) {
398
            _hashCode += getAddress().hashCode();
399
        }
400
        if (getScheduledDelivery() != null) {
401
            _hashCode += getScheduledDelivery().hashCode();
402
        }
403
        if (getShipmentNumber() != null) {
404
            _hashCode += getShipmentNumber().hashCode();
405
        }
406
        if (getProductGroup() != null) {
407
            _hashCode += getProductGroup().hashCode();
408
        }
409
        if (getEntity() != null) {
410
            _hashCode += getEntity().hashCode();
411
        }
412
        if (getConsigneePhone() != null) {
413
            _hashCode += getConsigneePhone().hashCode();
414
        }
415
        if (getShipperNumber() != null) {
416
            _hashCode += getShipperNumber().hashCode();
417
        }
418
        if (getShipperReference() != null) {
419
            _hashCode += getShipperReference().hashCode();
420
        }
421
        if (getReference1() != null) {
422
            _hashCode += getReference1().hashCode();
423
        }
424
        if (getReference2() != null) {
425
            _hashCode += getReference2().hashCode();
426
        }
427
        if (getReference3() != null) {
428
            _hashCode += getReference3().hashCode();
429
        }
430
        __hashCodeCalc = false;
431
        return _hashCode;
432
    }
433
 
434
    // Type metadata
435
    private static org.apache.axis.description.TypeDesc typeDesc =
436
        new org.apache.axis.description.TypeDesc(ScheduledDeliveryRequest.class, true);
437
 
438
    static {
439
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ScheduledDeliveryRequest"));
440
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
441
        elemField.setFieldName("clientInfo");
442
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));
443
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));
444
        elemField.setMinOccurs(0);
445
        elemField.setNillable(true);
446
        typeDesc.addFieldDesc(elemField);
447
        elemField = new org.apache.axis.description.ElementDesc();
448
        elemField.setFieldName("transaction");
449
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Transaction"));
450
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Transaction"));
451
        elemField.setMinOccurs(0);
452
        elemField.setNillable(true);
453
        typeDesc.addFieldDesc(elemField);
454
        elemField = new org.apache.axis.description.ElementDesc();
455
        elemField.setFieldName("address");
456
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Address"));
457
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Address"));
458
        elemField.setMinOccurs(0);
459
        elemField.setNillable(true);
460
        typeDesc.addFieldDesc(elemField);
461
        elemField = new org.apache.axis.description.ElementDesc();
462
        elemField.setFieldName("scheduledDelivery");
463
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDelivery"));
464
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDelivery"));
465
        elemField.setMinOccurs(0);
466
        elemField.setNillable(true);
467
        typeDesc.addFieldDesc(elemField);
468
        elemField = new org.apache.axis.description.ElementDesc();
469
        elemField.setFieldName("shipmentNumber");
470
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentNumber"));
471
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
472
        elemField.setMinOccurs(0);
473
        elemField.setNillable(true);
474
        typeDesc.addFieldDesc(elemField);
475
        elemField = new org.apache.axis.description.ElementDesc();
476
        elemField.setFieldName("productGroup");
477
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductGroup"));
478
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
479
        elemField.setMinOccurs(0);
480
        elemField.setNillable(true);
481
        typeDesc.addFieldDesc(elemField);
482
        elemField = new org.apache.axis.description.ElementDesc();
483
        elemField.setFieldName("entity");
484
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Entity"));
485
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
486
        elemField.setMinOccurs(0);
487
        elemField.setNillable(true);
488
        typeDesc.addFieldDesc(elemField);
489
        elemField = new org.apache.axis.description.ElementDesc();
490
        elemField.setFieldName("consigneePhone");
491
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ConsigneePhone"));
492
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
493
        elemField.setMinOccurs(0);
494
        elemField.setNillable(true);
495
        typeDesc.addFieldDesc(elemField);
496
        elemField = new org.apache.axis.description.ElementDesc();
497
        elemField.setFieldName("shipperNumber");
498
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipperNumber"));
499
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
500
        elemField.setMinOccurs(0);
501
        elemField.setNillable(true);
502
        typeDesc.addFieldDesc(elemField);
503
        elemField = new org.apache.axis.description.ElementDesc();
504
        elemField.setFieldName("shipperReference");
505
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipperReference"));
506
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
507
        elemField.setMinOccurs(0);
508
        elemField.setNillable(true);
509
        typeDesc.addFieldDesc(elemField);
510
        elemField = new org.apache.axis.description.ElementDesc();
511
        elemField.setFieldName("reference1");
512
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference1"));
513
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
514
        elemField.setMinOccurs(0);
515
        elemField.setNillable(true);
516
        typeDesc.addFieldDesc(elemField);
517
        elemField = new org.apache.axis.description.ElementDesc();
518
        elemField.setFieldName("reference2");
519
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference2"));
520
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
521
        elemField.setMinOccurs(0);
522
        elemField.setNillable(true);
523
        typeDesc.addFieldDesc(elemField);
524
        elemField = new org.apache.axis.description.ElementDesc();
525
        elemField.setFieldName("reference3");
526
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference3"));
527
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
528
        elemField.setMinOccurs(0);
529
        elemField.setNillable(true);
530
        typeDesc.addFieldDesc(elemField);
531
    }
532
 
533
    /**
534
     * Return type metadata object
535
     */
536
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
537
        return typeDesc;
538
    }
539
 
540
    /**
541
     * Get Custom Serializer
542
     */
543
    public static org.apache.axis.encoding.Serializer getSerializer(
544
           java.lang.String mechType, 
545
           java.lang.Class _javaType,  
546
           javax.xml.namespace.QName _xmlType) {
547
        return 
548
          new  org.apache.axis.encoding.ser.BeanSerializer(
549
            _javaType, _xmlType, typeDesc);
550
    }
551
 
552
    /**
553
     * Get Custom Deserializer
554
     */
555
    public static org.apache.axis.encoding.Deserializer getDeserializer(
556
           java.lang.String mechType, 
557
           java.lang.Class _javaType,  
558
           javax.xml.namespace.QName _xmlType) {
559
        return 
560
          new  org.apache.axis.encoding.ser.BeanDeserializer(
561
            _javaType, _xmlType, typeDesc);
562
    }
563
 
564
}