| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* Consignee.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 Consignee implements java.io.Serializable {
|
|
|
11 |
private java.lang.String consigneeAddress1;
|
|
|
12 |
|
|
|
13 |
private java.lang.String consigneeAddress2;
|
|
|
14 |
|
|
|
15 |
private java.lang.String consigneeAddress3;
|
|
|
16 |
|
|
|
17 |
private java.lang.String consigneeAttention;
|
|
|
18 |
|
|
|
19 |
private java.lang.String consigneeMobile;
|
|
|
20 |
|
|
|
21 |
private java.lang.String consigneeName;
|
|
|
22 |
|
|
|
23 |
private java.lang.String consigneePincode;
|
|
|
24 |
|
|
|
25 |
private java.lang.String consigneeTelephone;
|
|
|
26 |
|
|
|
27 |
public Consignee() {
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public Consignee(
|
|
|
31 |
java.lang.String consigneeAddress1,
|
|
|
32 |
java.lang.String consigneeAddress2,
|
|
|
33 |
java.lang.String consigneeAddress3,
|
|
|
34 |
java.lang.String consigneeAttention,
|
|
|
35 |
java.lang.String consigneeMobile,
|
|
|
36 |
java.lang.String consigneeName,
|
|
|
37 |
java.lang.String consigneePincode,
|
|
|
38 |
java.lang.String consigneeTelephone) {
|
|
|
39 |
this.consigneeAddress1 = consigneeAddress1;
|
|
|
40 |
this.consigneeAddress2 = consigneeAddress2;
|
|
|
41 |
this.consigneeAddress3 = consigneeAddress3;
|
|
|
42 |
this.consigneeAttention = consigneeAttention;
|
|
|
43 |
this.consigneeMobile = consigneeMobile;
|
|
|
44 |
this.consigneeName = consigneeName;
|
|
|
45 |
this.consigneePincode = consigneePincode;
|
|
|
46 |
this.consigneeTelephone = consigneeTelephone;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the consigneeAddress1 value for this Consignee.
|
|
|
52 |
*
|
|
|
53 |
* @return consigneeAddress1
|
|
|
54 |
*/
|
|
|
55 |
public java.lang.String getConsigneeAddress1() {
|
|
|
56 |
return consigneeAddress1;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the consigneeAddress1 value for this Consignee.
|
|
|
62 |
*
|
|
|
63 |
* @param consigneeAddress1
|
|
|
64 |
*/
|
|
|
65 |
public void setConsigneeAddress1(java.lang.String consigneeAddress1) {
|
|
|
66 |
this.consigneeAddress1 = consigneeAddress1;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
/**
|
|
|
71 |
* Gets the consigneeAddress2 value for this Consignee.
|
|
|
72 |
*
|
|
|
73 |
* @return consigneeAddress2
|
|
|
74 |
*/
|
|
|
75 |
public java.lang.String getConsigneeAddress2() {
|
|
|
76 |
return consigneeAddress2;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Sets the consigneeAddress2 value for this Consignee.
|
|
|
82 |
*
|
|
|
83 |
* @param consigneeAddress2
|
|
|
84 |
*/
|
|
|
85 |
public void setConsigneeAddress2(java.lang.String consigneeAddress2) {
|
|
|
86 |
this.consigneeAddress2 = consigneeAddress2;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
/**
|
|
|
91 |
* Gets the consigneeAddress3 value for this Consignee.
|
|
|
92 |
*
|
|
|
93 |
* @return consigneeAddress3
|
|
|
94 |
*/
|
|
|
95 |
public java.lang.String getConsigneeAddress3() {
|
|
|
96 |
return consigneeAddress3;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
/**
|
|
|
101 |
* Sets the consigneeAddress3 value for this Consignee.
|
|
|
102 |
*
|
|
|
103 |
* @param consigneeAddress3
|
|
|
104 |
*/
|
|
|
105 |
public void setConsigneeAddress3(java.lang.String consigneeAddress3) {
|
|
|
106 |
this.consigneeAddress3 = consigneeAddress3;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* Gets the consigneeAttention value for this Consignee.
|
|
|
112 |
*
|
|
|
113 |
* @return consigneeAttention
|
|
|
114 |
*/
|
|
|
115 |
public java.lang.String getConsigneeAttention() {
|
|
|
116 |
return consigneeAttention;
|
|
|
117 |
}
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
/**
|
|
|
121 |
* Sets the consigneeAttention value for this Consignee.
|
|
|
122 |
*
|
|
|
123 |
* @param consigneeAttention
|
|
|
124 |
*/
|
|
|
125 |
public void setConsigneeAttention(java.lang.String consigneeAttention) {
|
|
|
126 |
this.consigneeAttention = consigneeAttention;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Gets the consigneeMobile value for this Consignee.
|
|
|
132 |
*
|
|
|
133 |
* @return consigneeMobile
|
|
|
134 |
*/
|
|
|
135 |
public java.lang.String getConsigneeMobile() {
|
|
|
136 |
return consigneeMobile;
|
|
|
137 |
}
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
/**
|
|
|
141 |
* Sets the consigneeMobile value for this Consignee.
|
|
|
142 |
*
|
|
|
143 |
* @param consigneeMobile
|
|
|
144 |
*/
|
|
|
145 |
public void setConsigneeMobile(java.lang.String consigneeMobile) {
|
|
|
146 |
this.consigneeMobile = consigneeMobile;
|
|
|
147 |
}
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
/**
|
|
|
151 |
* Gets the consigneeName value for this Consignee.
|
|
|
152 |
*
|
|
|
153 |
* @return consigneeName
|
|
|
154 |
*/
|
|
|
155 |
public java.lang.String getConsigneeName() {
|
|
|
156 |
return consigneeName;
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
/**
|
|
|
161 |
* Sets the consigneeName value for this Consignee.
|
|
|
162 |
*
|
|
|
163 |
* @param consigneeName
|
|
|
164 |
*/
|
|
|
165 |
public void setConsigneeName(java.lang.String consigneeName) {
|
|
|
166 |
this.consigneeName = consigneeName;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
/**
|
|
|
171 |
* Gets the consigneePincode value for this Consignee.
|
|
|
172 |
*
|
|
|
173 |
* @return consigneePincode
|
|
|
174 |
*/
|
|
|
175 |
public java.lang.String getConsigneePincode() {
|
|
|
176 |
return consigneePincode;
|
|
|
177 |
}
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
/**
|
|
|
181 |
* Sets the consigneePincode value for this Consignee.
|
|
|
182 |
*
|
|
|
183 |
* @param consigneePincode
|
|
|
184 |
*/
|
|
|
185 |
public void setConsigneePincode(java.lang.String consigneePincode) {
|
|
|
186 |
this.consigneePincode = consigneePincode;
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
/**
|
|
|
191 |
* Gets the consigneeTelephone value for this Consignee.
|
|
|
192 |
*
|
|
|
193 |
* @return consigneeTelephone
|
|
|
194 |
*/
|
|
|
195 |
public java.lang.String getConsigneeTelephone() {
|
|
|
196 |
return consigneeTelephone;
|
|
|
197 |
}
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* Sets the consigneeTelephone value for this Consignee.
|
|
|
202 |
*
|
|
|
203 |
* @param consigneeTelephone
|
|
|
204 |
*/
|
|
|
205 |
public void setConsigneeTelephone(java.lang.String consigneeTelephone) {
|
|
|
206 |
this.consigneeTelephone = consigneeTelephone;
|
|
|
207 |
}
|
|
|
208 |
|
|
|
209 |
private java.lang.Object __equalsCalc = null;
|
|
|
210 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
211 |
if (!(obj instanceof Consignee)) return false;
|
|
|
212 |
Consignee other = (Consignee) obj;
|
|
|
213 |
if (obj == null) return false;
|
|
|
214 |
if (this == obj) return true;
|
|
|
215 |
if (__equalsCalc != null) {
|
|
|
216 |
return (__equalsCalc == obj);
|
|
|
217 |
}
|
|
|
218 |
__equalsCalc = obj;
|
|
|
219 |
boolean _equals;
|
|
|
220 |
_equals = true &&
|
|
|
221 |
((this.consigneeAddress1==null && other.getConsigneeAddress1()==null) ||
|
|
|
222 |
(this.consigneeAddress1!=null &&
|
|
|
223 |
this.consigneeAddress1.equals(other.getConsigneeAddress1()))) &&
|
|
|
224 |
((this.consigneeAddress2==null && other.getConsigneeAddress2()==null) ||
|
|
|
225 |
(this.consigneeAddress2!=null &&
|
|
|
226 |
this.consigneeAddress2.equals(other.getConsigneeAddress2()))) &&
|
|
|
227 |
((this.consigneeAddress3==null && other.getConsigneeAddress3()==null) ||
|
|
|
228 |
(this.consigneeAddress3!=null &&
|
|
|
229 |
this.consigneeAddress3.equals(other.getConsigneeAddress3()))) &&
|
|
|
230 |
((this.consigneeAttention==null && other.getConsigneeAttention()==null) ||
|
|
|
231 |
(this.consigneeAttention!=null &&
|
|
|
232 |
this.consigneeAttention.equals(other.getConsigneeAttention()))) &&
|
|
|
233 |
((this.consigneeMobile==null && other.getConsigneeMobile()==null) ||
|
|
|
234 |
(this.consigneeMobile!=null &&
|
|
|
235 |
this.consigneeMobile.equals(other.getConsigneeMobile()))) &&
|
|
|
236 |
((this.consigneeName==null && other.getConsigneeName()==null) ||
|
|
|
237 |
(this.consigneeName!=null &&
|
|
|
238 |
this.consigneeName.equals(other.getConsigneeName()))) &&
|
|
|
239 |
((this.consigneePincode==null && other.getConsigneePincode()==null) ||
|
|
|
240 |
(this.consigneePincode!=null &&
|
|
|
241 |
this.consigneePincode.equals(other.getConsigneePincode()))) &&
|
|
|
242 |
((this.consigneeTelephone==null && other.getConsigneeTelephone()==null) ||
|
|
|
243 |
(this.consigneeTelephone!=null &&
|
|
|
244 |
this.consigneeTelephone.equals(other.getConsigneeTelephone())));
|
|
|
245 |
__equalsCalc = null;
|
|
|
246 |
return _equals;
|
|
|
247 |
}
|
|
|
248 |
|
|
|
249 |
private boolean __hashCodeCalc = false;
|
|
|
250 |
public synchronized int hashCode() {
|
|
|
251 |
if (__hashCodeCalc) {
|
|
|
252 |
return 0;
|
|
|
253 |
}
|
|
|
254 |
__hashCodeCalc = true;
|
|
|
255 |
int _hashCode = 1;
|
|
|
256 |
if (getConsigneeAddress1() != null) {
|
|
|
257 |
_hashCode += getConsigneeAddress1().hashCode();
|
|
|
258 |
}
|
|
|
259 |
if (getConsigneeAddress2() != null) {
|
|
|
260 |
_hashCode += getConsigneeAddress2().hashCode();
|
|
|
261 |
}
|
|
|
262 |
if (getConsigneeAddress3() != null) {
|
|
|
263 |
_hashCode += getConsigneeAddress3().hashCode();
|
|
|
264 |
}
|
|
|
265 |
if (getConsigneeAttention() != null) {
|
|
|
266 |
_hashCode += getConsigneeAttention().hashCode();
|
|
|
267 |
}
|
|
|
268 |
if (getConsigneeMobile() != null) {
|
|
|
269 |
_hashCode += getConsigneeMobile().hashCode();
|
|
|
270 |
}
|
|
|
271 |
if (getConsigneeName() != null) {
|
|
|
272 |
_hashCode += getConsigneeName().hashCode();
|
|
|
273 |
}
|
|
|
274 |
if (getConsigneePincode() != null) {
|
|
|
275 |
_hashCode += getConsigneePincode().hashCode();
|
|
|
276 |
}
|
|
|
277 |
if (getConsigneeTelephone() != null) {
|
|
|
278 |
_hashCode += getConsigneeTelephone().hashCode();
|
|
|
279 |
}
|
|
|
280 |
__hashCodeCalc = false;
|
|
|
281 |
return _hashCode;
|
|
|
282 |
}
|
|
|
283 |
|
|
|
284 |
// Type metadata
|
|
|
285 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
286 |
new org.apache.axis.description.TypeDesc(Consignee.class, true);
|
|
|
287 |
|
|
|
288 |
static {
|
|
|
289 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Consignee"));
|
|
|
290 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
291 |
elemField.setFieldName("consigneeAddress1");
|
|
|
292 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeAddress1"));
|
|
|
293 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
294 |
elemField.setMinOccurs(0);
|
|
|
295 |
elemField.setNillable(true);
|
|
|
296 |
typeDesc.addFieldDesc(elemField);
|
|
|
297 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
298 |
elemField.setFieldName("consigneeAddress2");
|
|
|
299 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeAddress2"));
|
|
|
300 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
301 |
elemField.setMinOccurs(0);
|
|
|
302 |
elemField.setNillable(true);
|
|
|
303 |
typeDesc.addFieldDesc(elemField);
|
|
|
304 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
305 |
elemField.setFieldName("consigneeAddress3");
|
|
|
306 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeAddress3"));
|
|
|
307 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
308 |
elemField.setMinOccurs(0);
|
|
|
309 |
elemField.setNillable(true);
|
|
|
310 |
typeDesc.addFieldDesc(elemField);
|
|
|
311 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
312 |
elemField.setFieldName("consigneeAttention");
|
|
|
313 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeAttention"));
|
|
|
314 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
315 |
elemField.setMinOccurs(0);
|
|
|
316 |
elemField.setNillable(true);
|
|
|
317 |
typeDesc.addFieldDesc(elemField);
|
|
|
318 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
319 |
elemField.setFieldName("consigneeMobile");
|
|
|
320 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeMobile"));
|
|
|
321 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
322 |
elemField.setMinOccurs(0);
|
|
|
323 |
elemField.setNillable(true);
|
|
|
324 |
typeDesc.addFieldDesc(elemField);
|
|
|
325 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
326 |
elemField.setFieldName("consigneeName");
|
|
|
327 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeName"));
|
|
|
328 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
329 |
elemField.setMinOccurs(0);
|
|
|
330 |
elemField.setNillable(true);
|
|
|
331 |
typeDesc.addFieldDesc(elemField);
|
|
|
332 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
333 |
elemField.setFieldName("consigneePincode");
|
|
|
334 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneePincode"));
|
|
|
335 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
336 |
elemField.setMinOccurs(0);
|
|
|
337 |
elemField.setNillable(true);
|
|
|
338 |
typeDesc.addFieldDesc(elemField);
|
|
|
339 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
340 |
elemField.setFieldName("consigneeTelephone");
|
|
|
341 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ConsigneeTelephone"));
|
|
|
342 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
343 |
elemField.setMinOccurs(0);
|
|
|
344 |
elemField.setNillable(true);
|
|
|
345 |
typeDesc.addFieldDesc(elemField);
|
|
|
346 |
}
|
|
|
347 |
|
|
|
348 |
/**
|
|
|
349 |
* Return type metadata object
|
|
|
350 |
*/
|
|
|
351 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
352 |
return typeDesc;
|
|
|
353 |
}
|
|
|
354 |
|
|
|
355 |
/**
|
|
|
356 |
* Get Custom Serializer
|
|
|
357 |
*/
|
|
|
358 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
359 |
java.lang.String mechType,
|
|
|
360 |
java.lang.Class _javaType,
|
|
|
361 |
javax.xml.namespace.QName _xmlType) {
|
|
|
362 |
return
|
|
|
363 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
364 |
_javaType, _xmlType, typeDesc);
|
|
|
365 |
}
|
|
|
366 |
|
|
|
367 |
/**
|
|
|
368 |
* Get Custom Deserializer
|
|
|
369 |
*/
|
|
|
370 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
371 |
java.lang.String mechType,
|
|
|
372 |
java.lang.Class _javaType,
|
|
|
373 |
javax.xml.namespace.QName _xmlType) {
|
|
|
374 |
return
|
|
|
375 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
376 |
_javaType, _xmlType, typeDesc);
|
|
|
377 |
}
|
|
|
378 |
|
|
|
379 |
}
|