| 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 {
|
| 22577 |
amit.gupta |
11 |
@Override
|
|
|
12 |
public String toString() {
|
|
|
13 |
return "ClientInfo [userName=" + userName + ", password=" + password + ", version=" + version + ", accountNumber=" + accountNumber
|
|
|
14 |
+ ", accountPin=" + accountPin + ", accountEntity=" + accountEntity + ", accountCountryCode=" + accountCountryCode
|
|
|
15 |
+ ", source=" + source + "]";
|
|
|
16 |
}
|
| 20640 |
amit.gupta |
17 |
|
| 22577 |
amit.gupta |
18 |
private java.lang.String userName;
|
|
|
19 |
|
| 20640 |
amit.gupta |
20 |
private java.lang.String password;
|
|
|
21 |
|
|
|
22 |
private java.lang.String version;
|
|
|
23 |
|
|
|
24 |
private java.lang.String accountNumber;
|
|
|
25 |
|
|
|
26 |
private java.lang.String accountPin;
|
|
|
27 |
|
|
|
28 |
private java.lang.String accountEntity;
|
|
|
29 |
|
|
|
30 |
private java.lang.String accountCountryCode;
|
|
|
31 |
|
|
|
32 |
private java.lang.Integer source;
|
|
|
33 |
|
|
|
34 |
public ClientInfo() {
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
public ClientInfo(
|
|
|
38 |
java.lang.String userName,
|
|
|
39 |
java.lang.String password,
|
|
|
40 |
java.lang.String version,
|
|
|
41 |
java.lang.String accountNumber,
|
|
|
42 |
java.lang.String accountPin,
|
|
|
43 |
java.lang.String accountEntity,
|
|
|
44 |
java.lang.String accountCountryCode,
|
|
|
45 |
java.lang.Integer source) {
|
|
|
46 |
this.userName = userName;
|
|
|
47 |
this.password = password;
|
|
|
48 |
this.version = version;
|
|
|
49 |
this.accountNumber = accountNumber;
|
|
|
50 |
this.accountPin = accountPin;
|
|
|
51 |
this.accountEntity = accountEntity;
|
|
|
52 |
this.accountCountryCode = accountCountryCode;
|
|
|
53 |
this.source = source;
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
/**
|
|
|
58 |
* Gets the userName value for this ClientInfo.
|
|
|
59 |
*
|
|
|
60 |
* @return userName
|
|
|
61 |
*/
|
|
|
62 |
public java.lang.String getUserName() {
|
|
|
63 |
return userName;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
/**
|
|
|
68 |
* Sets the userName value for this ClientInfo.
|
|
|
69 |
*
|
|
|
70 |
* @param userName
|
|
|
71 |
*/
|
|
|
72 |
public void setUserName(java.lang.String userName) {
|
|
|
73 |
this.userName = userName;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
/**
|
|
|
78 |
* Gets the password value for this ClientInfo.
|
|
|
79 |
*
|
|
|
80 |
* @return password
|
|
|
81 |
*/
|
|
|
82 |
public java.lang.String getPassword() {
|
|
|
83 |
return password;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
/**
|
|
|
88 |
* Sets the password value for this ClientInfo.
|
|
|
89 |
*
|
|
|
90 |
* @param password
|
|
|
91 |
*/
|
|
|
92 |
public void setPassword(java.lang.String password) {
|
|
|
93 |
this.password = password;
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
/**
|
|
|
98 |
* Gets the version value for this ClientInfo.
|
|
|
99 |
*
|
|
|
100 |
* @return version
|
|
|
101 |
*/
|
|
|
102 |
public java.lang.String getVersion() {
|
|
|
103 |
return version;
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
/**
|
|
|
108 |
* Sets the version value for this ClientInfo.
|
|
|
109 |
*
|
|
|
110 |
* @param version
|
|
|
111 |
*/
|
|
|
112 |
public void setVersion(java.lang.String version) {
|
|
|
113 |
this.version = version;
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
/**
|
|
|
118 |
* Gets the accountNumber value for this ClientInfo.
|
|
|
119 |
*
|
|
|
120 |
* @return accountNumber
|
|
|
121 |
*/
|
|
|
122 |
public java.lang.String getAccountNumber() {
|
|
|
123 |
return accountNumber;
|
|
|
124 |
}
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
/**
|
|
|
128 |
* Sets the accountNumber value for this ClientInfo.
|
|
|
129 |
*
|
|
|
130 |
* @param accountNumber
|
|
|
131 |
*/
|
|
|
132 |
public void setAccountNumber(java.lang.String accountNumber) {
|
|
|
133 |
this.accountNumber = accountNumber;
|
|
|
134 |
}
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
/**
|
|
|
138 |
* Gets the accountPin value for this ClientInfo.
|
|
|
139 |
*
|
|
|
140 |
* @return accountPin
|
|
|
141 |
*/
|
|
|
142 |
public java.lang.String getAccountPin() {
|
|
|
143 |
return accountPin;
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
/**
|
|
|
148 |
* Sets the accountPin value for this ClientInfo.
|
|
|
149 |
*
|
|
|
150 |
* @param accountPin
|
|
|
151 |
*/
|
|
|
152 |
public void setAccountPin(java.lang.String accountPin) {
|
|
|
153 |
this.accountPin = accountPin;
|
|
|
154 |
}
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
/**
|
|
|
158 |
* Gets the accountEntity value for this ClientInfo.
|
|
|
159 |
*
|
|
|
160 |
* @return accountEntity
|
|
|
161 |
*/
|
|
|
162 |
public java.lang.String getAccountEntity() {
|
|
|
163 |
return accountEntity;
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
/**
|
|
|
168 |
* Sets the accountEntity value for this ClientInfo.
|
|
|
169 |
*
|
|
|
170 |
* @param accountEntity
|
|
|
171 |
*/
|
|
|
172 |
public void setAccountEntity(java.lang.String accountEntity) {
|
|
|
173 |
this.accountEntity = accountEntity;
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
/**
|
|
|
178 |
* Gets the accountCountryCode value for this ClientInfo.
|
|
|
179 |
*
|
|
|
180 |
* @return accountCountryCode
|
|
|
181 |
*/
|
|
|
182 |
public java.lang.String getAccountCountryCode() {
|
|
|
183 |
return accountCountryCode;
|
|
|
184 |
}
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
/**
|
|
|
188 |
* Sets the accountCountryCode value for this ClientInfo.
|
|
|
189 |
*
|
|
|
190 |
* @param accountCountryCode
|
|
|
191 |
*/
|
|
|
192 |
public void setAccountCountryCode(java.lang.String accountCountryCode) {
|
|
|
193 |
this.accountCountryCode = accountCountryCode;
|
|
|
194 |
}
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
/**
|
|
|
198 |
* Gets the source value for this ClientInfo.
|
|
|
199 |
*
|
|
|
200 |
* @return source
|
|
|
201 |
*/
|
|
|
202 |
public java.lang.Integer getSource() {
|
|
|
203 |
return source;
|
|
|
204 |
}
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
/**
|
|
|
208 |
* Sets the source value for this ClientInfo.
|
|
|
209 |
*
|
|
|
210 |
* @param source
|
|
|
211 |
*/
|
|
|
212 |
public void setSource(java.lang.Integer source) {
|
|
|
213 |
this.source = source;
|
|
|
214 |
}
|
|
|
215 |
|
|
|
216 |
private java.lang.Object __equalsCalc = null;
|
|
|
217 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
218 |
if (!(obj instanceof ClientInfo)) return false;
|
|
|
219 |
ClientInfo other = (ClientInfo) obj;
|
|
|
220 |
if (obj == null) return false;
|
|
|
221 |
if (this == obj) return true;
|
|
|
222 |
if (__equalsCalc != null) {
|
|
|
223 |
return (__equalsCalc == obj);
|
|
|
224 |
}
|
|
|
225 |
__equalsCalc = obj;
|
|
|
226 |
boolean _equals;
|
|
|
227 |
_equals = true &&
|
|
|
228 |
((this.userName==null && other.getUserName()==null) ||
|
|
|
229 |
(this.userName!=null &&
|
|
|
230 |
this.userName.equals(other.getUserName()))) &&
|
|
|
231 |
((this.password==null && other.getPassword()==null) ||
|
|
|
232 |
(this.password!=null &&
|
|
|
233 |
this.password.equals(other.getPassword()))) &&
|
|
|
234 |
((this.version==null && other.getVersion()==null) ||
|
|
|
235 |
(this.version!=null &&
|
|
|
236 |
this.version.equals(other.getVersion()))) &&
|
|
|
237 |
((this.accountNumber==null && other.getAccountNumber()==null) ||
|
|
|
238 |
(this.accountNumber!=null &&
|
|
|
239 |
this.accountNumber.equals(other.getAccountNumber()))) &&
|
|
|
240 |
((this.accountPin==null && other.getAccountPin()==null) ||
|
|
|
241 |
(this.accountPin!=null &&
|
|
|
242 |
this.accountPin.equals(other.getAccountPin()))) &&
|
|
|
243 |
((this.accountEntity==null && other.getAccountEntity()==null) ||
|
|
|
244 |
(this.accountEntity!=null &&
|
|
|
245 |
this.accountEntity.equals(other.getAccountEntity()))) &&
|
|
|
246 |
((this.accountCountryCode==null && other.getAccountCountryCode()==null) ||
|
|
|
247 |
(this.accountCountryCode!=null &&
|
|
|
248 |
this.accountCountryCode.equals(other.getAccountCountryCode()))) &&
|
|
|
249 |
((this.source==null && other.getSource()==null) ||
|
|
|
250 |
(this.source!=null &&
|
|
|
251 |
this.source.equals(other.getSource())));
|
|
|
252 |
__equalsCalc = null;
|
|
|
253 |
return _equals;
|
|
|
254 |
}
|
|
|
255 |
|
|
|
256 |
private boolean __hashCodeCalc = false;
|
|
|
257 |
public synchronized int hashCode() {
|
|
|
258 |
if (__hashCodeCalc) {
|
|
|
259 |
return 0;
|
|
|
260 |
}
|
|
|
261 |
__hashCodeCalc = true;
|
|
|
262 |
int _hashCode = 1;
|
|
|
263 |
if (getUserName() != null) {
|
|
|
264 |
_hashCode += getUserName().hashCode();
|
|
|
265 |
}
|
|
|
266 |
if (getPassword() != null) {
|
|
|
267 |
_hashCode += getPassword().hashCode();
|
|
|
268 |
}
|
|
|
269 |
if (getVersion() != null) {
|
|
|
270 |
_hashCode += getVersion().hashCode();
|
|
|
271 |
}
|
|
|
272 |
if (getAccountNumber() != null) {
|
|
|
273 |
_hashCode += getAccountNumber().hashCode();
|
|
|
274 |
}
|
|
|
275 |
if (getAccountPin() != null) {
|
|
|
276 |
_hashCode += getAccountPin().hashCode();
|
|
|
277 |
}
|
|
|
278 |
if (getAccountEntity() != null) {
|
|
|
279 |
_hashCode += getAccountEntity().hashCode();
|
|
|
280 |
}
|
|
|
281 |
if (getAccountCountryCode() != null) {
|
|
|
282 |
_hashCode += getAccountCountryCode().hashCode();
|
|
|
283 |
}
|
|
|
284 |
if (getSource() != null) {
|
|
|
285 |
_hashCode += getSource().hashCode();
|
|
|
286 |
}
|
|
|
287 |
__hashCodeCalc = false;
|
|
|
288 |
return _hashCode;
|
|
|
289 |
}
|
|
|
290 |
|
|
|
291 |
// Type metadata
|
|
|
292 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
293 |
new org.apache.axis.description.TypeDesc(ClientInfo.class, true);
|
|
|
294 |
|
|
|
295 |
static {
|
|
|
296 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));
|
|
|
297 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
298 |
elemField.setFieldName("userName");
|
|
|
299 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "UserName"));
|
|
|
300 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
301 |
elemField.setNillable(true);
|
|
|
302 |
typeDesc.addFieldDesc(elemField);
|
|
|
303 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
304 |
elemField.setFieldName("password");
|
|
|
305 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Password"));
|
|
|
306 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
307 |
elemField.setNillable(true);
|
|
|
308 |
typeDesc.addFieldDesc(elemField);
|
|
|
309 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
310 |
elemField.setFieldName("version");
|
|
|
311 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Version"));
|
|
|
312 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
313 |
elemField.setNillable(true);
|
|
|
314 |
typeDesc.addFieldDesc(elemField);
|
|
|
315 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
316 |
elemField.setFieldName("accountNumber");
|
|
|
317 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountNumber"));
|
|
|
318 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
319 |
elemField.setNillable(true);
|
|
|
320 |
typeDesc.addFieldDesc(elemField);
|
|
|
321 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
322 |
elemField.setFieldName("accountPin");
|
|
|
323 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountPin"));
|
|
|
324 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
325 |
elemField.setNillable(true);
|
|
|
326 |
typeDesc.addFieldDesc(elemField);
|
|
|
327 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
328 |
elemField.setFieldName("accountEntity");
|
|
|
329 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountEntity"));
|
|
|
330 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
331 |
elemField.setNillable(true);
|
|
|
332 |
typeDesc.addFieldDesc(elemField);
|
|
|
333 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
334 |
elemField.setFieldName("accountCountryCode");
|
|
|
335 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountCountryCode"));
|
|
|
336 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
337 |
elemField.setNillable(true);
|
|
|
338 |
typeDesc.addFieldDesc(elemField);
|
|
|
339 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
340 |
elemField.setFieldName("source");
|
|
|
341 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Source"));
|
|
|
342 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
|
|
343 |
elemField.setMinOccurs(0);
|
|
|
344 |
elemField.setNillable(false);
|
|
|
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 |
}
|