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