Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20640 amit.gupta 1
/**
2
 * WayBillGenerationResponse.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 WayBillGenerationResponse  implements java.io.Serializable {
11
    private java.lang.String AWBNo;
12
 
13
    private byte[] AWBPrintContent;
14
 
15
    private java.lang.String CCRCRDREF;
16
 
17
    private java.lang.String destinationArea;
18
 
19
    private java.lang.String destinationLocation;
20
 
21
    private java.lang.Boolean isError;
22
 
23
    private java.util.Calendar shipmentPickupDate;
24
 
25
    private com.bluedart.stub.ArrayOfWayBillGenerationStatus status;
26
 
27
    private java.lang.String tokenNumber;
28
 
29
    public WayBillGenerationResponse() {
30
    }
31
 
32
    public WayBillGenerationResponse(
33
           java.lang.String AWBNo,
34
           byte[] AWBPrintContent,
35
           java.lang.String CCRCRDREF,
36
           java.lang.String destinationArea,
37
           java.lang.String destinationLocation,
38
           java.lang.Boolean isError,
39
           java.util.Calendar shipmentPickupDate,
40
           com.bluedart.stub.ArrayOfWayBillGenerationStatus status,
41
           java.lang.String tokenNumber) {
42
           this.AWBNo = AWBNo;
43
           this.AWBPrintContent = AWBPrintContent;
44
           this.CCRCRDREF = CCRCRDREF;
45
           this.destinationArea = destinationArea;
46
           this.destinationLocation = destinationLocation;
47
           this.isError = isError;
48
           this.shipmentPickupDate = shipmentPickupDate;
49
           this.status = status;
50
           this.tokenNumber = tokenNumber;
51
    }
52
 
53
 
54
    /**
55
     * Gets the AWBNo value for this WayBillGenerationResponse.
56
     * 
57
     * @return AWBNo
58
     */
59
    public java.lang.String getAWBNo() {
60
        return AWBNo;
61
    }
62
 
63
 
64
    /**
65
     * Sets the AWBNo value for this WayBillGenerationResponse.
66
     * 
67
     * @param AWBNo
68
     */
69
    public void setAWBNo(java.lang.String AWBNo) {
70
        this.AWBNo = AWBNo;
71
    }
72
 
73
 
74
    /**
75
     * Gets the AWBPrintContent value for this WayBillGenerationResponse.
76
     * 
77
     * @return AWBPrintContent
78
     */
79
    public byte[] getAWBPrintContent() {
80
        return AWBPrintContent;
81
    }
82
 
83
 
84
    /**
85
     * Sets the AWBPrintContent value for this WayBillGenerationResponse.
86
     * 
87
     * @param AWBPrintContent
88
     */
89
    public void setAWBPrintContent(byte[] AWBPrintContent) {
90
        this.AWBPrintContent = AWBPrintContent;
91
    }
92
 
93
 
94
    /**
95
     * Gets the CCRCRDREF value for this WayBillGenerationResponse.
96
     * 
97
     * @return CCRCRDREF
98
     */
99
    public java.lang.String getCCRCRDREF() {
100
        return CCRCRDREF;
101
    }
102
 
103
 
104
    /**
105
     * Sets the CCRCRDREF value for this WayBillGenerationResponse.
106
     * 
107
     * @param CCRCRDREF
108
     */
109
    public void setCCRCRDREF(java.lang.String CCRCRDREF) {
110
        this.CCRCRDREF = CCRCRDREF;
111
    }
112
 
113
 
114
    /**
115
     * Gets the destinationArea value for this WayBillGenerationResponse.
116
     * 
117
     * @return destinationArea
118
     */
119
    public java.lang.String getDestinationArea() {
120
        return destinationArea;
121
    }
122
 
123
 
124
    /**
125
     * Sets the destinationArea value for this WayBillGenerationResponse.
126
     * 
127
     * @param destinationArea
128
     */
129
    public void setDestinationArea(java.lang.String destinationArea) {
130
        this.destinationArea = destinationArea;
131
    }
132
 
133
 
134
    /**
135
     * Gets the destinationLocation value for this WayBillGenerationResponse.
136
     * 
137
     * @return destinationLocation
138
     */
139
    public java.lang.String getDestinationLocation() {
140
        return destinationLocation;
141
    }
142
 
143
 
144
    /**
145
     * Sets the destinationLocation value for this WayBillGenerationResponse.
146
     * 
147
     * @param destinationLocation
148
     */
149
    public void setDestinationLocation(java.lang.String destinationLocation) {
150
        this.destinationLocation = destinationLocation;
151
    }
152
 
153
 
154
    /**
155
     * Gets the isError value for this WayBillGenerationResponse.
156
     * 
157
     * @return isError
158
     */
159
    public java.lang.Boolean getIsError() {
160
        return isError;
161
    }
162
 
163
 
164
    /**
165
     * Sets the isError value for this WayBillGenerationResponse.
166
     * 
167
     * @param isError
168
     */
169
    public void setIsError(java.lang.Boolean isError) {
170
        this.isError = isError;
171
    }
172
 
173
 
174
    /**
175
     * Gets the shipmentPickupDate value for this WayBillGenerationResponse.
176
     * 
177
     * @return shipmentPickupDate
178
     */
179
    public java.util.Calendar getShipmentPickupDate() {
180
        return shipmentPickupDate;
181
    }
182
 
183
 
184
    /**
185
     * Sets the shipmentPickupDate value for this WayBillGenerationResponse.
186
     * 
187
     * @param shipmentPickupDate
188
     */
189
    public void setShipmentPickupDate(java.util.Calendar shipmentPickupDate) {
190
        this.shipmentPickupDate = shipmentPickupDate;
191
    }
192
 
193
 
194
    /**
195
     * Gets the status value for this WayBillGenerationResponse.
196
     * 
197
     * @return status
198
     */
199
    public com.bluedart.stub.ArrayOfWayBillGenerationStatus getStatus() {
200
        return status;
201
    }
202
 
203
 
204
    /**
205
     * Sets the status value for this WayBillGenerationResponse.
206
     * 
207
     * @param status
208
     */
209
    public void setStatus(com.bluedart.stub.ArrayOfWayBillGenerationStatus status) {
210
        this.status = status;
211
    }
212
 
213
 
214
    /**
215
     * Gets the tokenNumber value for this WayBillGenerationResponse.
216
     * 
217
     * @return tokenNumber
218
     */
219
    public java.lang.String getTokenNumber() {
220
        return tokenNumber;
221
    }
222
 
223
 
224
    /**
225
     * Sets the tokenNumber value for this WayBillGenerationResponse.
226
     * 
227
     * @param tokenNumber
228
     */
229
    public void setTokenNumber(java.lang.String tokenNumber) {
230
        this.tokenNumber = tokenNumber;
231
    }
232
 
233
    private java.lang.Object __equalsCalc = null;
234
    public synchronized boolean equals(java.lang.Object obj) {
235
        if (!(obj instanceof WayBillGenerationResponse)) return false;
236
        WayBillGenerationResponse other = (WayBillGenerationResponse) obj;
237
        if (obj == null) return false;
238
        if (this == obj) return true;
239
        if (__equalsCalc != null) {
240
            return (__equalsCalc == obj);
241
        }
242
        __equalsCalc = obj;
243
        boolean _equals;
244
        _equals = true && 
245
            ((this.AWBNo==null && other.getAWBNo()==null) || 
246
             (this.AWBNo!=null &&
247
              this.AWBNo.equals(other.getAWBNo()))) &&
248
            ((this.AWBPrintContent==null && other.getAWBPrintContent()==null) || 
249
             (this.AWBPrintContent!=null &&
250
              java.util.Arrays.equals(this.AWBPrintContent, other.getAWBPrintContent()))) &&
251
            ((this.CCRCRDREF==null && other.getCCRCRDREF()==null) || 
252
             (this.CCRCRDREF!=null &&
253
              this.CCRCRDREF.equals(other.getCCRCRDREF()))) &&
254
            ((this.destinationArea==null && other.getDestinationArea()==null) || 
255
             (this.destinationArea!=null &&
256
              this.destinationArea.equals(other.getDestinationArea()))) &&
257
            ((this.destinationLocation==null && other.getDestinationLocation()==null) || 
258
             (this.destinationLocation!=null &&
259
              this.destinationLocation.equals(other.getDestinationLocation()))) &&
260
            ((this.isError==null && other.getIsError()==null) || 
261
             (this.isError!=null &&
262
              this.isError.equals(other.getIsError()))) &&
263
            ((this.shipmentPickupDate==null && other.getShipmentPickupDate()==null) || 
264
             (this.shipmentPickupDate!=null &&
265
              this.shipmentPickupDate.equals(other.getShipmentPickupDate()))) &&
266
            ((this.status==null && other.getStatus()==null) || 
267
             (this.status!=null &&
268
              this.status.equals(other.getStatus()))) &&
269
            ((this.tokenNumber==null && other.getTokenNumber()==null) || 
270
             (this.tokenNumber!=null &&
271
              this.tokenNumber.equals(other.getTokenNumber())));
272
        __equalsCalc = null;
273
        return _equals;
274
    }
275
 
276
    private boolean __hashCodeCalc = false;
277
    public synchronized int hashCode() {
278
        if (__hashCodeCalc) {
279
            return 0;
280
        }
281
        __hashCodeCalc = true;
282
        int _hashCode = 1;
283
        if (getAWBNo() != null) {
284
            _hashCode += getAWBNo().hashCode();
285
        }
286
        if (getAWBPrintContent() != null) {
287
            for (int i=0;
288
                 i<java.lang.reflect.Array.getLength(getAWBPrintContent());
289
                 i++) {
290
                java.lang.Object obj = java.lang.reflect.Array.get(getAWBPrintContent(), i);
291
                if (obj != null &&
292
                    !obj.getClass().isArray()) {
293
                    _hashCode += obj.hashCode();
294
                }
295
            }
296
        }
297
        if (getCCRCRDREF() != null) {
298
            _hashCode += getCCRCRDREF().hashCode();
299
        }
300
        if (getDestinationArea() != null) {
301
            _hashCode += getDestinationArea().hashCode();
302
        }
303
        if (getDestinationLocation() != null) {
304
            _hashCode += getDestinationLocation().hashCode();
305
        }
306
        if (getIsError() != null) {
307
            _hashCode += getIsError().hashCode();
308
        }
309
        if (getShipmentPickupDate() != null) {
310
            _hashCode += getShipmentPickupDate().hashCode();
311
        }
312
        if (getStatus() != null) {
313
            _hashCode += getStatus().hashCode();
314
        }
315
        if (getTokenNumber() != null) {
316
            _hashCode += getTokenNumber().hashCode();
317
        }
318
        __hashCodeCalc = false;
319
        return _hashCode;
320
    }
321
 
322
    // Type metadata
323
    private static org.apache.axis.description.TypeDesc typeDesc =
324
        new org.apache.axis.description.TypeDesc(WayBillGenerationResponse.class, true);
325
 
326
    static {
327
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "WayBillGenerationResponse"));
328
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
329
        elemField.setFieldName("AWBNo");
330
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "AWBNo"));
331
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
332
        elemField.setMinOccurs(0);
333
        elemField.setNillable(true);
334
        typeDesc.addFieldDesc(elemField);
335
        elemField = new org.apache.axis.description.ElementDesc();
336
        elemField.setFieldName("AWBPrintContent");
337
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "AWBPrintContent"));
338
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"));
339
        elemField.setMinOccurs(0);
340
        elemField.setNillable(true);
341
        typeDesc.addFieldDesc(elemField);
342
        elemField = new org.apache.axis.description.ElementDesc();
343
        elemField.setFieldName("CCRCRDREF");
344
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CCRCRDREF"));
345
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
346
        elemField.setMinOccurs(0);
347
        elemField.setNillable(true);
348
        typeDesc.addFieldDesc(elemField);
349
        elemField = new org.apache.axis.description.ElementDesc();
350
        elemField.setFieldName("destinationArea");
351
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "DestinationArea"));
352
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
353
        elemField.setMinOccurs(0);
354
        elemField.setNillable(true);
355
        typeDesc.addFieldDesc(elemField);
356
        elemField = new org.apache.axis.description.ElementDesc();
357
        elemField.setFieldName("destinationLocation");
358
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "DestinationLocation"));
359
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
360
        elemField.setMinOccurs(0);
361
        elemField.setNillable(true);
362
        typeDesc.addFieldDesc(elemField);
363
        elemField = new org.apache.axis.description.ElementDesc();
364
        elemField.setFieldName("isError");
365
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "IsError"));
366
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
367
        elemField.setMinOccurs(0);
368
        elemField.setNillable(false);
369
        typeDesc.addFieldDesc(elemField);
370
        elemField = new org.apache.axis.description.ElementDesc();
371
        elemField.setFieldName("shipmentPickupDate");
372
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ShipmentPickupDate"));
373
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
374
        elemField.setMinOccurs(0);
375
        elemField.setNillable(false);
376
        typeDesc.addFieldDesc(elemField);
377
        elemField = new org.apache.axis.description.ElementDesc();
378
        elemField.setFieldName("status");
379
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Status"));
380
        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ArrayOfWayBillGenerationStatus"));
381
        elemField.setMinOccurs(0);
382
        elemField.setNillable(true);
383
        typeDesc.addFieldDesc(elemField);
384
        elemField = new org.apache.axis.description.ElementDesc();
385
        elemField.setFieldName("tokenNumber");
386
        elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "TokenNumber"));
387
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
388
        elemField.setMinOccurs(0);
389
        elemField.setNillable(true);
390
        typeDesc.addFieldDesc(elemField);
391
    }
392
 
393
    /**
394
     * Return type metadata object
395
     */
396
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
397
        return typeDesc;
398
    }
399
 
400
    /**
401
     * Get Custom Serializer
402
     */
403
    public static org.apache.axis.encoding.Serializer getSerializer(
404
           java.lang.String mechType, 
405
           java.lang.Class _javaType,  
406
           javax.xml.namespace.QName _xmlType) {
407
        return 
408
          new  org.apache.axis.encoding.ser.BeanSerializer(
409
            _javaType, _xmlType, typeDesc);
410
    }
411
 
412
    /**
413
     * Get Custom Deserializer
414
     */
415
    public static org.apache.axis.encoding.Deserializer getDeserializer(
416
           java.lang.String mechType, 
417
           java.lang.Class _javaType,  
418
           javax.xml.namespace.QName _xmlType) {
419
        return 
420
          new  org.apache.axis.encoding.ser.BeanDeserializer(
421
            _javaType, _xmlType, typeDesc);
422
    }
423
 
424
}