| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* ClientInfo.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 ClientInfo implements java.io.Serializable {
|
| 22598 |
amit.gupta |
11 |
private java.lang.String userName;
|
| 20640 |
amit.gupta |
12 |
|
|
|
13 |
private java.lang.String password;
|
|
|
14 |
|
|
|
15 |
private java.lang.String version;
|
|
|
16 |
|
|
|
17 |
private java.lang.String accountNumber;
|
|
|
18 |
|
|
|
19 |
private java.lang.String accountPin;
|
|
|
20 |
|
|
|
21 |
private java.lang.String accountEntity;
|
|
|
22 |
|
|
|
23 |
private java.lang.String accountCountryCode;
|
|
|
24 |
|
|
|
25 |
private java.lang.Integer source;
|
|
|
26 |
|
| 22598 |
amit.gupta |
27 |
private java.lang.String preferredLanguageCode;
|
|
|
28 |
|
| 20640 |
amit.gupta |
29 |
public ClientInfo() {
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
public ClientInfo(
|
|
|
33 |
java.lang.String userName,
|
|
|
34 |
java.lang.String password,
|
|
|
35 |
java.lang.String version,
|
|
|
36 |
java.lang.String accountNumber,
|
|
|
37 |
java.lang.String accountPin,
|
|
|
38 |
java.lang.String accountEntity,
|
|
|
39 |
java.lang.String accountCountryCode,
|
| 22598 |
amit.gupta |
40 |
java.lang.Integer source,
|
|
|
41 |
java.lang.String preferredLanguageCode) {
|
| 20640 |
amit.gupta |
42 |
this.userName = userName;
|
|
|
43 |
this.password = password;
|
|
|
44 |
this.version = version;
|
|
|
45 |
this.accountNumber = accountNumber;
|
|
|
46 |
this.accountPin = accountPin;
|
|
|
47 |
this.accountEntity = accountEntity;
|
|
|
48 |
this.accountCountryCode = accountCountryCode;
|
|
|
49 |
this.source = source;
|
| 22598 |
amit.gupta |
50 |
this.preferredLanguageCode = preferredLanguageCode;
|
| 20640 |
amit.gupta |
51 |
}
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
/**
|
|
|
55 |
* Gets the userName value for this ClientInfo.
|
|
|
56 |
*
|
|
|
57 |
* @return userName
|
|
|
58 |
*/
|
|
|
59 |
public java.lang.String getUserName() {
|
|
|
60 |
return userName;
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
/**
|
|
|
65 |
* Sets the userName value for this ClientInfo.
|
|
|
66 |
*
|
|
|
67 |
* @param userName
|
|
|
68 |
*/
|
|
|
69 |
public void setUserName(java.lang.String userName) {
|
|
|
70 |
this.userName = userName;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
/**
|
|
|
75 |
* Gets the password value for this ClientInfo.
|
|
|
76 |
*
|
|
|
77 |
* @return password
|
|
|
78 |
*/
|
|
|
79 |
public java.lang.String getPassword() {
|
|
|
80 |
return password;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
/**
|
|
|
85 |
* Sets the password value for this ClientInfo.
|
|
|
86 |
*
|
|
|
87 |
* @param password
|
|
|
88 |
*/
|
|
|
89 |
public void setPassword(java.lang.String password) {
|
|
|
90 |
this.password = password;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
/**
|
|
|
95 |
* Gets the version value for this ClientInfo.
|
|
|
96 |
*
|
|
|
97 |
* @return version
|
|
|
98 |
*/
|
|
|
99 |
public java.lang.String getVersion() {
|
|
|
100 |
return version;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
/**
|
|
|
105 |
* Sets the version value for this ClientInfo.
|
|
|
106 |
*
|
|
|
107 |
* @param version
|
|
|
108 |
*/
|
|
|
109 |
public void setVersion(java.lang.String version) {
|
|
|
110 |
this.version = version;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
/**
|
|
|
115 |
* Gets the accountNumber value for this ClientInfo.
|
|
|
116 |
*
|
|
|
117 |
* @return accountNumber
|
|
|
118 |
*/
|
|
|
119 |
public java.lang.String getAccountNumber() {
|
|
|
120 |
return accountNumber;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
/**
|
|
|
125 |
* Sets the accountNumber value for this ClientInfo.
|
|
|
126 |
*
|
|
|
127 |
* @param accountNumber
|
|
|
128 |
*/
|
|
|
129 |
public void setAccountNumber(java.lang.String accountNumber) {
|
|
|
130 |
this.accountNumber = accountNumber;
|
|
|
131 |
}
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
/**
|
|
|
135 |
* Gets the accountPin value for this ClientInfo.
|
|
|
136 |
*
|
|
|
137 |
* @return accountPin
|
|
|
138 |
*/
|
|
|
139 |
public java.lang.String getAccountPin() {
|
|
|
140 |
return accountPin;
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
/**
|
|
|
145 |
* Sets the accountPin value for this ClientInfo.
|
|
|
146 |
*
|
|
|
147 |
* @param accountPin
|
|
|
148 |
*/
|
|
|
149 |
public void setAccountPin(java.lang.String accountPin) {
|
|
|
150 |
this.accountPin = accountPin;
|
|
|
151 |
}
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Gets the accountEntity value for this ClientInfo.
|
|
|
156 |
*
|
|
|
157 |
* @return accountEntity
|
|
|
158 |
*/
|
|
|
159 |
public java.lang.String getAccountEntity() {
|
|
|
160 |
return accountEntity;
|
|
|
161 |
}
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
/**
|
|
|
165 |
* Sets the accountEntity value for this ClientInfo.
|
|
|
166 |
*
|
|
|
167 |
* @param accountEntity
|
|
|
168 |
*/
|
|
|
169 |
public void setAccountEntity(java.lang.String accountEntity) {
|
|
|
170 |
this.accountEntity = accountEntity;
|
|
|
171 |
}
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
/**
|
|
|
175 |
* Gets the accountCountryCode value for this ClientInfo.
|
|
|
176 |
*
|
|
|
177 |
* @return accountCountryCode
|
|
|
178 |
*/
|
|
|
179 |
public java.lang.String getAccountCountryCode() {
|
|
|
180 |
return accountCountryCode;
|
|
|
181 |
}
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
/**
|
|
|
185 |
* Sets the accountCountryCode value for this ClientInfo.
|
|
|
186 |
*
|
|
|
187 |
* @param accountCountryCode
|
|
|
188 |
*/
|
|
|
189 |
public void setAccountCountryCode(java.lang.String accountCountryCode) {
|
|
|
190 |
this.accountCountryCode = accountCountryCode;
|
|
|
191 |
}
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
/**
|
|
|
195 |
* Gets the source value for this ClientInfo.
|
|
|
196 |
*
|
|
|
197 |
* @return source
|
|
|
198 |
*/
|
|
|
199 |
public java.lang.Integer getSource() {
|
|
|
200 |
return source;
|
|
|
201 |
}
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
/**
|
|
|
205 |
* Sets the source value for this ClientInfo.
|
|
|
206 |
*
|
|
|
207 |
* @param source
|
|
|
208 |
*/
|
|
|
209 |
public void setSource(java.lang.Integer source) {
|
|
|
210 |
this.source = source;
|
|
|
211 |
}
|
|
|
212 |
|
| 22598 |
amit.gupta |
213 |
|
|
|
214 |
/**
|
|
|
215 |
* Gets the preferredLanguageCode value for this ClientInfo.
|
|
|
216 |
*
|
|
|
217 |
* @return preferredLanguageCode
|
|
|
218 |
*/
|
|
|
219 |
public java.lang.String getPreferredLanguageCode() {
|
|
|
220 |
return preferredLanguageCode;
|
|
|
221 |
}
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
/**
|
|
|
225 |
* Sets the preferredLanguageCode value for this ClientInfo.
|
|
|
226 |
*
|
|
|
227 |
* @param preferredLanguageCode
|
|
|
228 |
*/
|
|
|
229 |
public void setPreferredLanguageCode(java.lang.String preferredLanguageCode) {
|
|
|
230 |
this.preferredLanguageCode = preferredLanguageCode;
|
|
|
231 |
}
|
|
|
232 |
|
| 20640 |
amit.gupta |
233 |
private java.lang.Object __equalsCalc = null;
|
|
|
234 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
235 |
if (!(obj instanceof ClientInfo)) return false;
|
|
|
236 |
ClientInfo other = (ClientInfo) 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.userName==null && other.getUserName()==null) ||
|
|
|
246 |
(this.userName!=null &&
|
|
|
247 |
this.userName.equals(other.getUserName()))) &&
|
|
|
248 |
((this.password==null && other.getPassword()==null) ||
|
|
|
249 |
(this.password!=null &&
|
|
|
250 |
this.password.equals(other.getPassword()))) &&
|
|
|
251 |
((this.version==null && other.getVersion()==null) ||
|
|
|
252 |
(this.version!=null &&
|
|
|
253 |
this.version.equals(other.getVersion()))) &&
|
|
|
254 |
((this.accountNumber==null && other.getAccountNumber()==null) ||
|
|
|
255 |
(this.accountNumber!=null &&
|
|
|
256 |
this.accountNumber.equals(other.getAccountNumber()))) &&
|
|
|
257 |
((this.accountPin==null && other.getAccountPin()==null) ||
|
|
|
258 |
(this.accountPin!=null &&
|
|
|
259 |
this.accountPin.equals(other.getAccountPin()))) &&
|
|
|
260 |
((this.accountEntity==null && other.getAccountEntity()==null) ||
|
|
|
261 |
(this.accountEntity!=null &&
|
|
|
262 |
this.accountEntity.equals(other.getAccountEntity()))) &&
|
|
|
263 |
((this.accountCountryCode==null && other.getAccountCountryCode()==null) ||
|
|
|
264 |
(this.accountCountryCode!=null &&
|
|
|
265 |
this.accountCountryCode.equals(other.getAccountCountryCode()))) &&
|
|
|
266 |
((this.source==null && other.getSource()==null) ||
|
|
|
267 |
(this.source!=null &&
|
| 22598 |
amit.gupta |
268 |
this.source.equals(other.getSource()))) &&
|
|
|
269 |
((this.preferredLanguageCode==null && other.getPreferredLanguageCode()==null) ||
|
|
|
270 |
(this.preferredLanguageCode!=null &&
|
|
|
271 |
this.preferredLanguageCode.equals(other.getPreferredLanguageCode())));
|
| 20640 |
amit.gupta |
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 (getUserName() != null) {
|
|
|
284 |
_hashCode += getUserName().hashCode();
|
|
|
285 |
}
|
|
|
286 |
if (getPassword() != null) {
|
|
|
287 |
_hashCode += getPassword().hashCode();
|
|
|
288 |
}
|
|
|
289 |
if (getVersion() != null) {
|
|
|
290 |
_hashCode += getVersion().hashCode();
|
|
|
291 |
}
|
|
|
292 |
if (getAccountNumber() != null) {
|
|
|
293 |
_hashCode += getAccountNumber().hashCode();
|
|
|
294 |
}
|
|
|
295 |
if (getAccountPin() != null) {
|
|
|
296 |
_hashCode += getAccountPin().hashCode();
|
|
|
297 |
}
|
|
|
298 |
if (getAccountEntity() != null) {
|
|
|
299 |
_hashCode += getAccountEntity().hashCode();
|
|
|
300 |
}
|
|
|
301 |
if (getAccountCountryCode() != null) {
|
|
|
302 |
_hashCode += getAccountCountryCode().hashCode();
|
|
|
303 |
}
|
|
|
304 |
if (getSource() != null) {
|
|
|
305 |
_hashCode += getSource().hashCode();
|
|
|
306 |
}
|
| 22598 |
amit.gupta |
307 |
if (getPreferredLanguageCode() != null) {
|
|
|
308 |
_hashCode += getPreferredLanguageCode().hashCode();
|
|
|
309 |
}
|
| 20640 |
amit.gupta |
310 |
__hashCodeCalc = false;
|
|
|
311 |
return _hashCode;
|
|
|
312 |
}
|
|
|
313 |
|
|
|
314 |
// Type metadata
|
|
|
315 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
316 |
new org.apache.axis.description.TypeDesc(ClientInfo.class, true);
|
|
|
317 |
|
|
|
318 |
static {
|
|
|
319 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));
|
|
|
320 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
321 |
elemField.setFieldName("userName");
|
|
|
322 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "UserName"));
|
|
|
323 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
324 |
elemField.setNillable(true);
|
|
|
325 |
typeDesc.addFieldDesc(elemField);
|
|
|
326 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
327 |
elemField.setFieldName("password");
|
|
|
328 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Password"));
|
|
|
329 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
330 |
elemField.setNillable(true);
|
|
|
331 |
typeDesc.addFieldDesc(elemField);
|
|
|
332 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
333 |
elemField.setFieldName("version");
|
|
|
334 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Version"));
|
|
|
335 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
336 |
elemField.setNillable(true);
|
|
|
337 |
typeDesc.addFieldDesc(elemField);
|
|
|
338 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
339 |
elemField.setFieldName("accountNumber");
|
|
|
340 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountNumber"));
|
|
|
341 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
342 |
elemField.setNillable(true);
|
|
|
343 |
typeDesc.addFieldDesc(elemField);
|
|
|
344 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
345 |
elemField.setFieldName("accountPin");
|
|
|
346 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountPin"));
|
|
|
347 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
348 |
elemField.setNillable(true);
|
|
|
349 |
typeDesc.addFieldDesc(elemField);
|
|
|
350 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
351 |
elemField.setFieldName("accountEntity");
|
|
|
352 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountEntity"));
|
|
|
353 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
354 |
elemField.setNillable(true);
|
|
|
355 |
typeDesc.addFieldDesc(elemField);
|
|
|
356 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
357 |
elemField.setFieldName("accountCountryCode");
|
|
|
358 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountCountryCode"));
|
|
|
359 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
360 |
elemField.setNillable(true);
|
|
|
361 |
typeDesc.addFieldDesc(elemField);
|
|
|
362 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
363 |
elemField.setFieldName("source");
|
|
|
364 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Source"));
|
|
|
365 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
|
|
366 |
elemField.setMinOccurs(0);
|
|
|
367 |
elemField.setNillable(false);
|
|
|
368 |
typeDesc.addFieldDesc(elemField);
|
| 22598 |
amit.gupta |
369 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
370 |
elemField.setFieldName("preferredLanguageCode");
|
|
|
371 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PreferredLanguageCode"));
|
|
|
372 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
373 |
elemField.setMinOccurs(0);
|
|
|
374 |
elemField.setNillable(true);
|
|
|
375 |
typeDesc.addFieldDesc(elemField);
|
| 20640 |
amit.gupta |
376 |
}
|
|
|
377 |
|
|
|
378 |
/**
|
|
|
379 |
* Return type metadata object
|
|
|
380 |
*/
|
|
|
381 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
382 |
return typeDesc;
|
|
|
383 |
}
|
|
|
384 |
|
|
|
385 |
/**
|
|
|
386 |
* Get Custom Serializer
|
|
|
387 |
*/
|
|
|
388 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
389 |
java.lang.String mechType,
|
|
|
390 |
java.lang.Class _javaType,
|
|
|
391 |
javax.xml.namespace.QName _xmlType) {
|
|
|
392 |
return
|
|
|
393 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
394 |
_javaType, _xmlType, typeDesc);
|
|
|
395 |
}
|
|
|
396 |
|
|
|
397 |
/**
|
|
|
398 |
* Get Custom Deserializer
|
|
|
399 |
*/
|
|
|
400 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
401 |
java.lang.String mechType,
|
|
|
402 |
java.lang.Class _javaType,
|
|
|
403 |
javax.xml.namespace.QName _xmlType) {
|
|
|
404 |
return
|
|
|
405 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
406 |
_javaType, _xmlType, typeDesc);
|
|
|
407 |
}
|
|
|
408 |
|
|
|
409 |
}
|