Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20640 amit.gupta 1
/**
2
 * Shipper.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.bluedart.stub;
9
 
10
public class Shipper  implements java.io.Serializable {
11
    private java.lang.String customerAddress1;
12
 
13
    private java.lang.String customerAddress2;
14
 
15
    private java.lang.String customerAddress3;
16
 
17
    private java.lang.String customerCode;
18
 
19
    private java.lang.String customerEmailID;
20
 
21
    private java.lang.String customerMobile;
22
 
23
    private java.lang.String customerName;
24
 
25
    private java.lang.String customerPincode;
26
 
27
    private java.lang.String customerTelephone;
28
 
29
    private java.lang.Boolean isToPayCustomer;
30
 
31
    private java.lang.String originArea;
32
 
33
    private java.lang.String sender;
34
 
35
    private java.lang.String vendorCode;
36
 
37
    public Shipper() {
38
    }
39
 
40
    public Shipper(
41
           java.lang.String customerAddress1,
42
           java.lang.String customerAddress2,
43
           java.lang.String customerAddress3,
44
           java.lang.String customerCode,
45
           java.lang.String customerEmailID,
46
           java.lang.String customerMobile,
47
           java.lang.String customerName,
48
           java.lang.String customerPincode,
49
           java.lang.String customerTelephone,
50
           java.lang.Boolean isToPayCustomer,
51
           java.lang.String originArea,
52
           java.lang.String sender,
53
           java.lang.String vendorCode) {
54
           this.customerAddress1 = customerAddress1;
55
           this.customerAddress2 = customerAddress2;
56
           this.customerAddress3 = customerAddress3;
57
           this.customerCode = customerCode;
58
           this.customerEmailID = customerEmailID;
59
           this.customerMobile = customerMobile;
60
           this.customerName = customerName;
61
           this.customerPincode = customerPincode;
62
           this.customerTelephone = customerTelephone;
63
           this.isToPayCustomer = isToPayCustomer;
64
           this.originArea = originArea;
65
           this.sender = sender;
66
           this.vendorCode = vendorCode;
67
    }
68
 
69
 
70
    /**
71
     * Gets the customerAddress1 value for this Shipper.
72
     * 
73
     * @return customerAddress1
74
     */
75
    public java.lang.String getCustomerAddress1() {
76
        return customerAddress1;
77
    }
78
 
79
 
80
    /**
81
     * Sets the customerAddress1 value for this Shipper.
82
     * 
83
     * @param customerAddress1
84
     */
85
    public void setCustomerAddress1(java.lang.String customerAddress1) {
86
        this.customerAddress1 = customerAddress1;
87
    }
88
 
89
 
90
    /**
91
     * Gets the customerAddress2 value for this Shipper.
92
     * 
93
     * @return customerAddress2
94
     */
95
    public java.lang.String getCustomerAddress2() {
96
        return customerAddress2;
97
    }
98
 
99
 
100
    /**
101
     * Sets the customerAddress2 value for this Shipper.
102
     * 
103
     * @param customerAddress2
104
     */
105
    public void setCustomerAddress2(java.lang.String customerAddress2) {
106
        this.customerAddress2 = customerAddress2;
107
    }
108
 
109
 
110
    /**
111
     * Gets the customerAddress3 value for this Shipper.
112
     * 
113
     * @return customerAddress3
114
     */
115
    public java.lang.String getCustomerAddress3() {
116
        return customerAddress3;
117
    }
118
 
119
 
120
    /**
121
     * Sets the customerAddress3 value for this Shipper.
122
     * 
123
     * @param customerAddress3
124
     */
125
    public void setCustomerAddress3(java.lang.String customerAddress3) {
126
        this.customerAddress3 = customerAddress3;
127
    }
128
 
129
 
130
    /**
131
     * Gets the customerCode value for this Shipper.
132
     * 
133
     * @return customerCode
134
     */
135
    public java.lang.String getCustomerCode() {
136
        return customerCode;
137
    }
138
 
139
 
140
    /**
141
     * Sets the customerCode value for this Shipper.
142
     * 
143
     * @param customerCode
144
     */
145
    public void setCustomerCode(java.lang.String customerCode) {
146
        this.customerCode = customerCode;
147
    }
148
 
149
 
150
    /**
151
     * Gets the customerEmailID value for this Shipper.
152
     * 
153
     * @return customerEmailID
154
     */
155
    public java.lang.String getCustomerEmailID() {
156
        return customerEmailID;
157
    }
158
 
159
 
160
    /**
161
     * Sets the customerEmailID value for this Shipper.
162
     * 
163
     * @param customerEmailID
164
     */
165
    public void setCustomerEmailID(java.lang.String customerEmailID) {
166
        this.customerEmailID = customerEmailID;
167
    }
168
 
169
 
170
    /**
171
     * Gets the customerMobile value for this Shipper.
172
     * 
173
     * @return customerMobile
174
     */
175
    public java.lang.String getCustomerMobile() {
176
        return customerMobile;
177
    }
178
 
179
 
180
    /**
181
     * Sets the customerMobile value for this Shipper.
182
     * 
183
     * @param customerMobile
184
     */
185
    public void setCustomerMobile(java.lang.String customerMobile) {
186
        this.customerMobile = customerMobile;
187
    }
188
 
189
 
190
    /**
191
     * Gets the customerName value for this Shipper.
192
     * 
193
     * @return customerName
194
     */
195
    public java.lang.String getCustomerName() {
196
        return customerName;
197
    }
198
 
199
 
200
    /**
201
     * Sets the customerName value for this Shipper.
202
     * 
203
     * @param customerName
204
     */
205
    public void setCustomerName(java.lang.String customerName) {
206
        this.customerName = customerName;
207
    }
208
 
209
 
210
    /**
211
     * Gets the customerPincode value for this Shipper.
212
     * 
213
     * @return customerPincode
214
     */
215
    public java.lang.String getCustomerPincode() {
216
        return customerPincode;
217
    }
218
 
219
 
220
    /**
221
     * Sets the customerPincode value for this Shipper.
222
     * 
223
     * @param customerPincode
224
     */
225
    public void setCustomerPincode(java.lang.String customerPincode) {
226
        this.customerPincode = customerPincode;
227
    }
228
 
229
 
230
    /**
231
     * Gets the customerTelephone value for this Shipper.
232
     * 
233
     * @return customerTelephone
234
     */
235
    public java.lang.String getCustomerTelephone() {
236
        return customerTelephone;
237
    }
238
 
239
 
240
    /**
241
     * Sets the customerTelephone value for this Shipper.
242
     * 
243
     * @param customerTelephone
244
     */
245
    public void setCustomerTelephone(java.lang.String customerTelephone) {
246
        this.customerTelephone = customerTelephone;
247
    }
248
 
249
 
250
    /**
251
     * Gets the isToPayCustomer value for this Shipper.
252
     * 
253
     * @return isToPayCustomer
254
     */
255
    public java.lang.Boolean getIsToPayCustomer() {
256
        return isToPayCustomer;
257
    }
258
 
259
 
260
    /**
261
     * Sets the isToPayCustomer value for this Shipper.
262
     * 
263
     * @param isToPayCustomer
264
     */
265
    public void setIsToPayCustomer(java.lang.Boolean isToPayCustomer) {
266
        this.isToPayCustomer = isToPayCustomer;
267
    }
268
 
269
 
270
    /**
271
     * Gets the originArea value for this Shipper.
272
     * 
273
     * @return originArea
274
     */
275
    public java.lang.String getOriginArea() {
276
        return originArea;
277
    }
278
 
279
 
280
    /**
281
     * Sets the originArea value for this Shipper.
282
     * 
283
     * @param originArea
284
     */
285
    public void setOriginArea(java.lang.String originArea) {
286
        this.originArea = originArea;
287
    }
288
 
289
 
290
    /**
291
     * Gets the sender value for this Shipper.
292
     * 
293
     * @return sender
294
     */
295
    public java.lang.String getSender() {
296
        return sender;
297
    }
298
 
299
 
300
    /**
301
     * Sets the sender value for this Shipper.
302
     * 
303
     * @param sender
304
     */
305
    public void setSender(java.lang.String sender) {
306
        this.sender = sender;
307
    }
308
 
309
 
310
    /**
311
     * Gets the vendorCode value for this Shipper.
312
     * 
313
     * @return vendorCode
314
     */
315
    public java.lang.String getVendorCode() {
316
        return vendorCode;
317
    }
318
 
319
 
320
    /**
321
     * Sets the vendorCode value for this Shipper.
322
     * 
323
     * @param vendorCode
324
     */
325
    public void setVendorCode(java.lang.String vendorCode) {
326
        this.vendorCode = vendorCode;
327
    }
328
 
329
    private java.lang.Object __equalsCalc = null;
330
    public synchronized boolean equals(java.lang.Object obj) {
331
        if (!(obj instanceof Shipper)) return false;
332
        Shipper other = (Shipper) 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.customerAddress1==null && other.getCustomerAddress1()==null) || 
342
             (this.customerAddress1!=null &&
343
              this.customerAddress1.equals(other.getCustomerAddress1()))) &&
344
            ((this.customerAddress2==null && other.getCustomerAddress2()==null) || 
345
             (this.customerAddress2!=null &&
346
              this.customerAddress2.equals(other.getCustomerAddress2()))) &&
347
            ((this.customerAddress3==null && other.getCustomerAddress3()==null) || 
348
             (this.customerAddress3!=null &&
349
              this.customerAddress3.equals(other.getCustomerAddress3()))) &&
350
            ((this.customerCode==null && other.getCustomerCode()==null) || 
351
             (this.customerCode!=null &&
352
              this.customerCode.equals(other.getCustomerCode()))) &&
353
            ((this.customerEmailID==null && other.getCustomerEmailID()==null) || 
354
             (this.customerEmailID!=null &&
355
              this.customerEmailID.equals(other.getCustomerEmailID()))) &&
356
            ((this.customerMobile==null && other.getCustomerMobile()==null) || 
357
             (this.customerMobile!=null &&
358
              this.customerMobile.equals(other.getCustomerMobile()))) &&
359
            ((this.customerName==null && other.getCustomerName()==null) || 
360
             (this.customerName!=null &&
361
              this.customerName.equals(other.getCustomerName()))) &&
362
            ((this.customerPincode==null && other.getCustomerPincode()==null) || 
363
             (this.customerPincode!=null &&
364
              this.customerPincode.equals(other.getCustomerPincode()))) &&
365
            ((this.customerTelephone==null && other.getCustomerTelephone()==null) || 
366
             (this.customerTelephone!=null &&
367
              this.customerTelephone.equals(other.getCustomerTelephone()))) &&
368
            ((this.isToPayCustomer==null && other.getIsToPayCustomer()==null) || 
369
             (this.isToPayCustomer!=null &&
370
              this.isToPayCustomer.equals(other.getIsToPayCustomer()))) &&
371
            ((this.originArea==null && other.getOriginArea()==null) || 
372
             (this.originArea!=null &&
373
              this.originArea.equals(other.getOriginArea()))) &&
374
            ((this.sender==null && other.getSender()==null) || 
375
             (this.sender!=null &&
376
              this.sender.equals(other.getSender()))) &&
377
            ((this.vendorCode==null && other.getVendorCode()==null) || 
378
             (this.vendorCode!=null &&
379
              this.vendorCode.equals(other.getVendorCode())));
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 (getCustomerAddress1() != null) {
392
            _hashCode += getCustomerAddress1().hashCode();
393
        }
394
        if (getCustomerAddress2() != null) {
395
            _hashCode += getCustomerAddress2().hashCode();
396
        }
397
        if (getCustomerAddress3() != null) {
398
            _hashCode += getCustomerAddress3().hashCode();
399
        }
400
        if (getCustomerCode() != null) {
401
            _hashCode += getCustomerCode().hashCode();
402
        }
403
        if (getCustomerEmailID() != null) {
404
            _hashCode += getCustomerEmailID().hashCode();
405
        }
406
        if (getCustomerMobile() != null) {
407
            _hashCode += getCustomerMobile().hashCode();
408
        }
409
        if (getCustomerName() != null) {
410
            _hashCode += getCustomerName().hashCode();
411
        }
412
        if (getCustomerPincode() != null) {
413
            _hashCode += getCustomerPincode().hashCode();
414
        }
415
        if (getCustomerTelephone() != null) {
416
            _hashCode += getCustomerTelephone().hashCode();
417
        }
418
        if (getIsToPayCustomer() != null) {
419
            _hashCode += getIsToPayCustomer().hashCode();
420
        }
421
        if (getOriginArea() != null) {
422
            _hashCode += getOriginArea().hashCode();
423
        }
424
        if (getSender() != null) {
425
            _hashCode += getSender().hashCode();
426
        }
427
        if (getVendorCode() != null) {
428
            _hashCode += getVendorCode().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(Shipper.class, true);
437
 
438
    static {
439
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Shipper"));
440
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
441
        elemField.setFieldName("customerAddress1");
442
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerAddress1"));
443
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
444
        elemField.setMinOccurs(0);
445
        elemField.setNillable(true);
446
        typeDesc.addFieldDesc(elemField);
447
        elemField = new org.apache.axis.description.ElementDesc();
448
        elemField.setFieldName("customerAddress2");
449
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerAddress2"));
450
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
451
        elemField.setMinOccurs(0);
452
        elemField.setNillable(true);
453
        typeDesc.addFieldDesc(elemField);
454
        elemField = new org.apache.axis.description.ElementDesc();
455
        elemField.setFieldName("customerAddress3");
456
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerAddress3"));
457
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
458
        elemField.setMinOccurs(0);
459
        elemField.setNillable(true);
460
        typeDesc.addFieldDesc(elemField);
461
        elemField = new org.apache.axis.description.ElementDesc();
462
        elemField.setFieldName("customerCode");
463
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerCode"));
464
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
465
        elemField.setMinOccurs(0);
466
        elemField.setNillable(true);
467
        typeDesc.addFieldDesc(elemField);
468
        elemField = new org.apache.axis.description.ElementDesc();
469
        elemField.setFieldName("customerEmailID");
470
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerEmailID"));
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("customerMobile");
477
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerMobile"));
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("customerName");
484
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerName"));
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("customerPincode");
491
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerPincode"));
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("customerTelephone");
498
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CustomerTelephone"));
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("isToPayCustomer");
505
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "IsToPayCustomer"));
506
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
507
        elemField.setMinOccurs(0);
508
        elemField.setNillable(false);
509
        typeDesc.addFieldDesc(elemField);
510
        elemField = new org.apache.axis.description.ElementDesc();
511
        elemField.setFieldName("originArea");
512
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "OriginArea"));
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("sender");
519
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Sender"));
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("vendorCode");
526
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "VendorCode"));
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
}