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