| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* UserProfile.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.bluedart.stub;
|
|
|
9 |
|
|
|
10 |
public class UserProfile implements java.io.Serializable {
|
|
|
11 |
private java.lang.String api_type;
|
|
|
12 |
|
|
|
13 |
private java.lang.String area;
|
|
|
14 |
|
|
|
15 |
private java.lang.String customercode;
|
|
|
16 |
|
|
|
17 |
private java.lang.String isAdmin;
|
|
|
18 |
|
|
|
19 |
private java.lang.String licenceKey;
|
|
|
20 |
|
|
|
21 |
private java.lang.String loginID;
|
|
|
22 |
|
|
|
23 |
private java.lang.String password;
|
|
|
24 |
|
|
|
25 |
private java.lang.String version;
|
|
|
26 |
|
|
|
27 |
public UserProfile() {
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public UserProfile(
|
|
|
31 |
java.lang.String api_type,
|
|
|
32 |
java.lang.String area,
|
|
|
33 |
java.lang.String customercode,
|
|
|
34 |
java.lang.String isAdmin,
|
|
|
35 |
java.lang.String licenceKey,
|
|
|
36 |
java.lang.String loginID,
|
|
|
37 |
java.lang.String password,
|
|
|
38 |
java.lang.String version) {
|
|
|
39 |
this.api_type = api_type;
|
|
|
40 |
this.area = area;
|
|
|
41 |
this.customercode = customercode;
|
|
|
42 |
this.isAdmin = isAdmin;
|
|
|
43 |
this.licenceKey = licenceKey;
|
|
|
44 |
this.loginID = loginID;
|
|
|
45 |
this.password = password;
|
|
|
46 |
this.version = version;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the api_type value for this UserProfile.
|
|
|
52 |
*
|
|
|
53 |
* @return api_type
|
|
|
54 |
*/
|
|
|
55 |
public java.lang.String getApi_type() {
|
|
|
56 |
return api_type;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the api_type value for this UserProfile.
|
|
|
62 |
*
|
|
|
63 |
* @param api_type
|
|
|
64 |
*/
|
|
|
65 |
public void setApi_type(java.lang.String api_type) {
|
|
|
66 |
this.api_type = api_type;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
/**
|
|
|
71 |
* Gets the area value for this UserProfile.
|
|
|
72 |
*
|
|
|
73 |
* @return area
|
|
|
74 |
*/
|
|
|
75 |
public java.lang.String getArea() {
|
|
|
76 |
return area;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Sets the area value for this UserProfile.
|
|
|
82 |
*
|
|
|
83 |
* @param area
|
|
|
84 |
*/
|
|
|
85 |
public void setArea(java.lang.String area) {
|
|
|
86 |
this.area = area;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
/**
|
|
|
91 |
* Gets the customercode value for this UserProfile.
|
|
|
92 |
*
|
|
|
93 |
* @return customercode
|
|
|
94 |
*/
|
|
|
95 |
public java.lang.String getCustomercode() {
|
|
|
96 |
return customercode;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
/**
|
|
|
101 |
* Sets the customercode value for this UserProfile.
|
|
|
102 |
*
|
|
|
103 |
* @param customercode
|
|
|
104 |
*/
|
|
|
105 |
public void setCustomercode(java.lang.String customercode) {
|
|
|
106 |
this.customercode = customercode;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* Gets the isAdmin value for this UserProfile.
|
|
|
112 |
*
|
|
|
113 |
* @return isAdmin
|
|
|
114 |
*/
|
|
|
115 |
public java.lang.String getIsAdmin() {
|
|
|
116 |
return isAdmin;
|
|
|
117 |
}
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
/**
|
|
|
121 |
* Sets the isAdmin value for this UserProfile.
|
|
|
122 |
*
|
|
|
123 |
* @param isAdmin
|
|
|
124 |
*/
|
|
|
125 |
public void setIsAdmin(java.lang.String isAdmin) {
|
|
|
126 |
this.isAdmin = isAdmin;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Gets the licenceKey value for this UserProfile.
|
|
|
132 |
*
|
|
|
133 |
* @return licenceKey
|
|
|
134 |
*/
|
|
|
135 |
public java.lang.String getLicenceKey() {
|
|
|
136 |
return licenceKey;
|
|
|
137 |
}
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
/**
|
|
|
141 |
* Sets the licenceKey value for this UserProfile.
|
|
|
142 |
*
|
|
|
143 |
* @param licenceKey
|
|
|
144 |
*/
|
|
|
145 |
public void setLicenceKey(java.lang.String licenceKey) {
|
|
|
146 |
this.licenceKey = licenceKey;
|
|
|
147 |
}
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
/**
|
|
|
151 |
* Gets the loginID value for this UserProfile.
|
|
|
152 |
*
|
|
|
153 |
* @return loginID
|
|
|
154 |
*/
|
|
|
155 |
public java.lang.String getLoginID() {
|
|
|
156 |
return loginID;
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
/**
|
|
|
161 |
* Sets the loginID value for this UserProfile.
|
|
|
162 |
*
|
|
|
163 |
* @param loginID
|
|
|
164 |
*/
|
|
|
165 |
public void setLoginID(java.lang.String loginID) {
|
|
|
166 |
this.loginID = loginID;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
/**
|
|
|
171 |
* Gets the password value for this UserProfile.
|
|
|
172 |
*
|
|
|
173 |
* @return password
|
|
|
174 |
*/
|
|
|
175 |
public java.lang.String getPassword() {
|
|
|
176 |
return password;
|
|
|
177 |
}
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
/**
|
|
|
181 |
* Sets the password value for this UserProfile.
|
|
|
182 |
*
|
|
|
183 |
* @param password
|
|
|
184 |
*/
|
|
|
185 |
public void setPassword(java.lang.String password) {
|
|
|
186 |
this.password = password;
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
/**
|
|
|
191 |
* Gets the version value for this UserProfile.
|
|
|
192 |
*
|
|
|
193 |
* @return version
|
|
|
194 |
*/
|
|
|
195 |
public java.lang.String getVersion() {
|
|
|
196 |
return version;
|
|
|
197 |
}
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* Sets the version value for this UserProfile.
|
|
|
202 |
*
|
|
|
203 |
* @param version
|
|
|
204 |
*/
|
|
|
205 |
public void setVersion(java.lang.String version) {
|
|
|
206 |
this.version = version;
|
|
|
207 |
}
|
|
|
208 |
|
|
|
209 |
private java.lang.Object __equalsCalc = null;
|
|
|
210 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
211 |
if (!(obj instanceof UserProfile)) return false;
|
|
|
212 |
UserProfile other = (UserProfile) 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.api_type==null && other.getApi_type()==null) ||
|
|
|
222 |
(this.api_type!=null &&
|
|
|
223 |
this.api_type.equals(other.getApi_type()))) &&
|
|
|
224 |
((this.area==null && other.getArea()==null) ||
|
|
|
225 |
(this.area!=null &&
|
|
|
226 |
this.area.equals(other.getArea()))) &&
|
|
|
227 |
((this.customercode==null && other.getCustomercode()==null) ||
|
|
|
228 |
(this.customercode!=null &&
|
|
|
229 |
this.customercode.equals(other.getCustomercode()))) &&
|
|
|
230 |
((this.isAdmin==null && other.getIsAdmin()==null) ||
|
|
|
231 |
(this.isAdmin!=null &&
|
|
|
232 |
this.isAdmin.equals(other.getIsAdmin()))) &&
|
|
|
233 |
((this.licenceKey==null && other.getLicenceKey()==null) ||
|
|
|
234 |
(this.licenceKey!=null &&
|
|
|
235 |
this.licenceKey.equals(other.getLicenceKey()))) &&
|
|
|
236 |
((this.loginID==null && other.getLoginID()==null) ||
|
|
|
237 |
(this.loginID!=null &&
|
|
|
238 |
this.loginID.equals(other.getLoginID()))) &&
|
|
|
239 |
((this.password==null && other.getPassword()==null) ||
|
|
|
240 |
(this.password!=null &&
|
|
|
241 |
this.password.equals(other.getPassword()))) &&
|
|
|
242 |
((this.version==null && other.getVersion()==null) ||
|
|
|
243 |
(this.version!=null &&
|
|
|
244 |
this.version.equals(other.getVersion())));
|
|
|
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 (getApi_type() != null) {
|
|
|
257 |
_hashCode += getApi_type().hashCode();
|
|
|
258 |
}
|
|
|
259 |
if (getArea() != null) {
|
|
|
260 |
_hashCode += getArea().hashCode();
|
|
|
261 |
}
|
|
|
262 |
if (getCustomercode() != null) {
|
|
|
263 |
_hashCode += getCustomercode().hashCode();
|
|
|
264 |
}
|
|
|
265 |
if (getIsAdmin() != null) {
|
|
|
266 |
_hashCode += getIsAdmin().hashCode();
|
|
|
267 |
}
|
|
|
268 |
if (getLicenceKey() != null) {
|
|
|
269 |
_hashCode += getLicenceKey().hashCode();
|
|
|
270 |
}
|
|
|
271 |
if (getLoginID() != null) {
|
|
|
272 |
_hashCode += getLoginID().hashCode();
|
|
|
273 |
}
|
|
|
274 |
if (getPassword() != null) {
|
|
|
275 |
_hashCode += getPassword().hashCode();
|
|
|
276 |
}
|
|
|
277 |
if (getVersion() != null) {
|
|
|
278 |
_hashCode += getVersion().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(UserProfile.class, true);
|
|
|
287 |
|
|
|
288 |
static {
|
|
|
289 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "UserProfile"));
|
|
|
290 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
291 |
elemField.setFieldName("api_type");
|
|
|
292 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Api_type"));
|
|
|
293 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
294 |
elemField.setMinOccurs(0);
|
|
|
295 |
elemField.setNillable(true);
|
|
|
296 |
typeDesc.addFieldDesc(elemField);
|
|
|
297 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
298 |
elemField.setFieldName("area");
|
|
|
299 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Area"));
|
|
|
300 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
301 |
elemField.setMinOccurs(0);
|
|
|
302 |
elemField.setNillable(true);
|
|
|
303 |
typeDesc.addFieldDesc(elemField);
|
|
|
304 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
305 |
elemField.setFieldName("customercode");
|
|
|
306 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Customercode"));
|
|
|
307 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
308 |
elemField.setMinOccurs(0);
|
|
|
309 |
elemField.setNillable(true);
|
|
|
310 |
typeDesc.addFieldDesc(elemField);
|
|
|
311 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
312 |
elemField.setFieldName("isAdmin");
|
|
|
313 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "IsAdmin"));
|
|
|
314 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
315 |
elemField.setMinOccurs(0);
|
|
|
316 |
elemField.setNillable(true);
|
|
|
317 |
typeDesc.addFieldDesc(elemField);
|
|
|
318 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
319 |
elemField.setFieldName("licenceKey");
|
|
|
320 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "LicenceKey"));
|
|
|
321 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
322 |
elemField.setMinOccurs(0);
|
|
|
323 |
elemField.setNillable(true);
|
|
|
324 |
typeDesc.addFieldDesc(elemField);
|
|
|
325 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
326 |
elemField.setFieldName("loginID");
|
|
|
327 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "LoginID"));
|
|
|
328 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
329 |
elemField.setMinOccurs(0);
|
|
|
330 |
elemField.setNillable(true);
|
|
|
331 |
typeDesc.addFieldDesc(elemField);
|
|
|
332 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
333 |
elemField.setFieldName("password");
|
|
|
334 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Password"));
|
|
|
335 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
336 |
elemField.setMinOccurs(0);
|
|
|
337 |
elemField.setNillable(true);
|
|
|
338 |
typeDesc.addFieldDesc(elemField);
|
|
|
339 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
340 |
elemField.setFieldName("version");
|
|
|
341 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Version"));
|
|
|
342 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
343 |
elemField.setMinOccurs(0);
|
|
|
344 |
elemField.setNillable(true);
|
|
|
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 |
}
|