| 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 {
|
|
|
11 |
private java.lang.String userName;
|
|
|
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 |
|
|
|
27 |
public ClientInfo() {
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public ClientInfo(
|
|
|
31 |
java.lang.String userName,
|
|
|
32 |
java.lang.String password,
|
|
|
33 |
java.lang.String version,
|
|
|
34 |
java.lang.String accountNumber,
|
|
|
35 |
java.lang.String accountPin,
|
|
|
36 |
java.lang.String accountEntity,
|
|
|
37 |
java.lang.String accountCountryCode,
|
|
|
38 |
java.lang.Integer source) {
|
|
|
39 |
this.userName = userName;
|
|
|
40 |
this.password = password;
|
|
|
41 |
this.version = version;
|
|
|
42 |
this.accountNumber = accountNumber;
|
|
|
43 |
this.accountPin = accountPin;
|
|
|
44 |
this.accountEntity = accountEntity;
|
|
|
45 |
this.accountCountryCode = accountCountryCode;
|
|
|
46 |
this.source = source;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the userName value for this ClientInfo.
|
|
|
52 |
*
|
|
|
53 |
* @return userName
|
|
|
54 |
*/
|
|
|
55 |
public java.lang.String getUserName() {
|
|
|
56 |
return userName;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the userName value for this ClientInfo.
|
|
|
62 |
*
|
|
|
63 |
* @param userName
|
|
|
64 |
*/
|
|
|
65 |
public void setUserName(java.lang.String userName) {
|
|
|
66 |
this.userName = userName;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
/**
|
|
|
71 |
* Gets the password value for this ClientInfo.
|
|
|
72 |
*
|
|
|
73 |
* @return password
|
|
|
74 |
*/
|
|
|
75 |
public java.lang.String getPassword() {
|
|
|
76 |
return password;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Sets the password value for this ClientInfo.
|
|
|
82 |
*
|
|
|
83 |
* @param password
|
|
|
84 |
*/
|
|
|
85 |
public void setPassword(java.lang.String password) {
|
|
|
86 |
this.password = password;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
/**
|
|
|
91 |
* Gets the version value for this ClientInfo.
|
|
|
92 |
*
|
|
|
93 |
* @return version
|
|
|
94 |
*/
|
|
|
95 |
public java.lang.String getVersion() {
|
|
|
96 |
return version;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
/**
|
|
|
101 |
* Sets the version value for this ClientInfo.
|
|
|
102 |
*
|
|
|
103 |
* @param version
|
|
|
104 |
*/
|
|
|
105 |
public void setVersion(java.lang.String version) {
|
|
|
106 |
this.version = version;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* Gets the accountNumber value for this ClientInfo.
|
|
|
112 |
*
|
|
|
113 |
* @return accountNumber
|
|
|
114 |
*/
|
|
|
115 |
public java.lang.String getAccountNumber() {
|
|
|
116 |
return accountNumber;
|
|
|
117 |
}
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
/**
|
|
|
121 |
* Sets the accountNumber value for this ClientInfo.
|
|
|
122 |
*
|
|
|
123 |
* @param accountNumber
|
|
|
124 |
*/
|
|
|
125 |
public void setAccountNumber(java.lang.String accountNumber) {
|
|
|
126 |
this.accountNumber = accountNumber;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Gets the accountPin value for this ClientInfo.
|
|
|
132 |
*
|
|
|
133 |
* @return accountPin
|
|
|
134 |
*/
|
|
|
135 |
public java.lang.String getAccountPin() {
|
|
|
136 |
return accountPin;
|
|
|
137 |
}
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
/**
|
|
|
141 |
* Sets the accountPin value for this ClientInfo.
|
|
|
142 |
*
|
|
|
143 |
* @param accountPin
|
|
|
144 |
*/
|
|
|
145 |
public void setAccountPin(java.lang.String accountPin) {
|
|
|
146 |
this.accountPin = accountPin;
|
|
|
147 |
}
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
/**
|
|
|
151 |
* Gets the accountEntity value for this ClientInfo.
|
|
|
152 |
*
|
|
|
153 |
* @return accountEntity
|
|
|
154 |
*/
|
|
|
155 |
public java.lang.String getAccountEntity() {
|
|
|
156 |
return accountEntity;
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
/**
|
|
|
161 |
* Sets the accountEntity value for this ClientInfo.
|
|
|
162 |
*
|
|
|
163 |
* @param accountEntity
|
|
|
164 |
*/
|
|
|
165 |
public void setAccountEntity(java.lang.String accountEntity) {
|
|
|
166 |
this.accountEntity = accountEntity;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
/**
|
|
|
171 |
* Gets the accountCountryCode value for this ClientInfo.
|
|
|
172 |
*
|
|
|
173 |
* @return accountCountryCode
|
|
|
174 |
*/
|
|
|
175 |
public java.lang.String getAccountCountryCode() {
|
|
|
176 |
return accountCountryCode;
|
|
|
177 |
}
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
/**
|
|
|
181 |
* Sets the accountCountryCode value for this ClientInfo.
|
|
|
182 |
*
|
|
|
183 |
* @param accountCountryCode
|
|
|
184 |
*/
|
|
|
185 |
public void setAccountCountryCode(java.lang.String accountCountryCode) {
|
|
|
186 |
this.accountCountryCode = accountCountryCode;
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
/**
|
|
|
191 |
* Gets the source value for this ClientInfo.
|
|
|
192 |
*
|
|
|
193 |
* @return source
|
|
|
194 |
*/
|
|
|
195 |
public java.lang.Integer getSource() {
|
|
|
196 |
return source;
|
|
|
197 |
}
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* Sets the source value for this ClientInfo.
|
|
|
202 |
*
|
|
|
203 |
* @param source
|
|
|
204 |
*/
|
|
|
205 |
public void setSource(java.lang.Integer source) {
|
|
|
206 |
this.source = source;
|
|
|
207 |
}
|
|
|
208 |
|
|
|
209 |
private java.lang.Object __equalsCalc = null;
|
|
|
210 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
211 |
if (!(obj instanceof ClientInfo)) return false;
|
|
|
212 |
ClientInfo other = (ClientInfo) 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.userName==null && other.getUserName()==null) ||
|
|
|
222 |
(this.userName!=null &&
|
|
|
223 |
this.userName.equals(other.getUserName()))) &&
|
|
|
224 |
((this.password==null && other.getPassword()==null) ||
|
|
|
225 |
(this.password!=null &&
|
|
|
226 |
this.password.equals(other.getPassword()))) &&
|
|
|
227 |
((this.version==null && other.getVersion()==null) ||
|
|
|
228 |
(this.version!=null &&
|
|
|
229 |
this.version.equals(other.getVersion()))) &&
|
|
|
230 |
((this.accountNumber==null && other.getAccountNumber()==null) ||
|
|
|
231 |
(this.accountNumber!=null &&
|
|
|
232 |
this.accountNumber.equals(other.getAccountNumber()))) &&
|
|
|
233 |
((this.accountPin==null && other.getAccountPin()==null) ||
|
|
|
234 |
(this.accountPin!=null &&
|
|
|
235 |
this.accountPin.equals(other.getAccountPin()))) &&
|
|
|
236 |
((this.accountEntity==null && other.getAccountEntity()==null) ||
|
|
|
237 |
(this.accountEntity!=null &&
|
|
|
238 |
this.accountEntity.equals(other.getAccountEntity()))) &&
|
|
|
239 |
((this.accountCountryCode==null && other.getAccountCountryCode()==null) ||
|
|
|
240 |
(this.accountCountryCode!=null &&
|
|
|
241 |
this.accountCountryCode.equals(other.getAccountCountryCode()))) &&
|
|
|
242 |
((this.source==null && other.getSource()==null) ||
|
|
|
243 |
(this.source!=null &&
|
|
|
244 |
this.source.equals(other.getSource())));
|
|
|
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 (getUserName() != null) {
|
|
|
257 |
_hashCode += getUserName().hashCode();
|
|
|
258 |
}
|
|
|
259 |
if (getPassword() != null) {
|
|
|
260 |
_hashCode += getPassword().hashCode();
|
|
|
261 |
}
|
|
|
262 |
if (getVersion() != null) {
|
|
|
263 |
_hashCode += getVersion().hashCode();
|
|
|
264 |
}
|
|
|
265 |
if (getAccountNumber() != null) {
|
|
|
266 |
_hashCode += getAccountNumber().hashCode();
|
|
|
267 |
}
|
|
|
268 |
if (getAccountPin() != null) {
|
|
|
269 |
_hashCode += getAccountPin().hashCode();
|
|
|
270 |
}
|
|
|
271 |
if (getAccountEntity() != null) {
|
|
|
272 |
_hashCode += getAccountEntity().hashCode();
|
|
|
273 |
}
|
|
|
274 |
if (getAccountCountryCode() != null) {
|
|
|
275 |
_hashCode += getAccountCountryCode().hashCode();
|
|
|
276 |
}
|
|
|
277 |
if (getSource() != null) {
|
|
|
278 |
_hashCode += getSource().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(ClientInfo.class, true);
|
|
|
287 |
|
|
|
288 |
static {
|
|
|
289 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));
|
|
|
290 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
291 |
elemField.setFieldName("userName");
|
|
|
292 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "UserName"));
|
|
|
293 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
294 |
elemField.setNillable(true);
|
|
|
295 |
typeDesc.addFieldDesc(elemField);
|
|
|
296 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
297 |
elemField.setFieldName("password");
|
|
|
298 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Password"));
|
|
|
299 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
300 |
elemField.setNillable(true);
|
|
|
301 |
typeDesc.addFieldDesc(elemField);
|
|
|
302 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
303 |
elemField.setFieldName("version");
|
|
|
304 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Version"));
|
|
|
305 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
306 |
elemField.setNillable(true);
|
|
|
307 |
typeDesc.addFieldDesc(elemField);
|
|
|
308 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
309 |
elemField.setFieldName("accountNumber");
|
|
|
310 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountNumber"));
|
|
|
311 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
312 |
elemField.setNillable(true);
|
|
|
313 |
typeDesc.addFieldDesc(elemField);
|
|
|
314 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
315 |
elemField.setFieldName("accountPin");
|
|
|
316 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountPin"));
|
|
|
317 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
318 |
elemField.setNillable(true);
|
|
|
319 |
typeDesc.addFieldDesc(elemField);
|
|
|
320 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
321 |
elemField.setFieldName("accountEntity");
|
|
|
322 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountEntity"));
|
|
|
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("accountCountryCode");
|
|
|
328 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "AccountCountryCode"));
|
|
|
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("source");
|
|
|
334 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Source"));
|
|
|
335 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
|
|
336 |
elemField.setMinOccurs(0);
|
|
|
337 |
elemField.setNillable(false);
|
|
|
338 |
typeDesc.addFieldDesc(elemField);
|
|
|
339 |
}
|
|
|
340 |
|
|
|
341 |
/**
|
|
|
342 |
* Return type metadata object
|
|
|
343 |
*/
|
|
|
344 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
345 |
return typeDesc;
|
|
|
346 |
}
|
|
|
347 |
|
|
|
348 |
/**
|
|
|
349 |
* Get Custom Serializer
|
|
|
350 |
*/
|
|
|
351 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
352 |
java.lang.String mechType,
|
|
|
353 |
java.lang.Class _javaType,
|
|
|
354 |
javax.xml.namespace.QName _xmlType) {
|
|
|
355 |
return
|
|
|
356 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
357 |
_javaType, _xmlType, typeDesc);
|
|
|
358 |
}
|
|
|
359 |
|
|
|
360 |
/**
|
|
|
361 |
* Get Custom Deserializer
|
|
|
362 |
*/
|
|
|
363 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
364 |
java.lang.String mechType,
|
|
|
365 |
java.lang.Class _javaType,
|
|
|
366 |
javax.xml.namespace.QName _xmlType) {
|
|
|
367 |
return
|
|
|
368 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
369 |
_javaType, _xmlType, typeDesc);
|
|
|
370 |
}
|
|
|
371 |
|
|
|
372 |
}
|