Blame | Last modification | View Log | RSS feed
/*** UserProfile.java** This file was auto-generated from WSDL* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.*/package com.bluedart.stub;public class UserProfile implements java.io.Serializable {private java.lang.String api_type;private java.lang.String area;private java.lang.String customercode;private java.lang.String isAdmin;private java.lang.String licenceKey;private java.lang.String loginID;private java.lang.String password;private java.lang.String version;public UserProfile() {}public UserProfile(java.lang.String api_type,java.lang.String area,java.lang.String customercode,java.lang.String isAdmin,java.lang.String licenceKey,java.lang.String loginID,java.lang.String password,java.lang.String version) {this.api_type = api_type;this.area = area;this.customercode = customercode;this.isAdmin = isAdmin;this.licenceKey = licenceKey;this.loginID = loginID;this.password = password;this.version = version;}/*** Gets the api_type value for this UserProfile.** @return api_type*/public java.lang.String getApi_type() {return api_type;}/*** Sets the api_type value for this UserProfile.** @param api_type*/public void setApi_type(java.lang.String api_type) {this.api_type = api_type;}/*** Gets the area value for this UserProfile.** @return area*/public java.lang.String getArea() {return area;}/*** Sets the area value for this UserProfile.** @param area*/public void setArea(java.lang.String area) {this.area = area;}/*** Gets the customercode value for this UserProfile.** @return customercode*/public java.lang.String getCustomercode() {return customercode;}/*** Sets the customercode value for this UserProfile.** @param customercode*/public void setCustomercode(java.lang.String customercode) {this.customercode = customercode;}/*** Gets the isAdmin value for this UserProfile.** @return isAdmin*/public java.lang.String getIsAdmin() {return isAdmin;}/*** Sets the isAdmin value for this UserProfile.** @param isAdmin*/public void setIsAdmin(java.lang.String isAdmin) {this.isAdmin = isAdmin;}/*** Gets the licenceKey value for this UserProfile.** @return licenceKey*/public java.lang.String getLicenceKey() {return licenceKey;}/*** Sets the licenceKey value for this UserProfile.** @param licenceKey*/public void setLicenceKey(java.lang.String licenceKey) {this.licenceKey = licenceKey;}/*** Gets the loginID value for this UserProfile.** @return loginID*/public java.lang.String getLoginID() {return loginID;}/*** Sets the loginID value for this UserProfile.** @param loginID*/public void setLoginID(java.lang.String loginID) {this.loginID = loginID;}/*** Gets the password value for this UserProfile.** @return password*/public java.lang.String getPassword() {return password;}/*** Sets the password value for this UserProfile.** @param password*/public void setPassword(java.lang.String password) {this.password = password;}/*** Gets the version value for this UserProfile.** @return version*/public java.lang.String getVersion() {return version;}/*** Sets the version value for this UserProfile.** @param version*/public void setVersion(java.lang.String version) {this.version = version;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof UserProfile)) return false;UserProfile other = (UserProfile) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.api_type==null && other.getApi_type()==null) ||(this.api_type!=null &&this.api_type.equals(other.getApi_type()))) &&((this.area==null && other.getArea()==null) ||(this.area!=null &&this.area.equals(other.getArea()))) &&((this.customercode==null && other.getCustomercode()==null) ||(this.customercode!=null &&this.customercode.equals(other.getCustomercode()))) &&((this.isAdmin==null && other.getIsAdmin()==null) ||(this.isAdmin!=null &&this.isAdmin.equals(other.getIsAdmin()))) &&((this.licenceKey==null && other.getLicenceKey()==null) ||(this.licenceKey!=null &&this.licenceKey.equals(other.getLicenceKey()))) &&((this.loginID==null && other.getLoginID()==null) ||(this.loginID!=null &&this.loginID.equals(other.getLoginID()))) &&((this.password==null && other.getPassword()==null) ||(this.password!=null &&this.password.equals(other.getPassword()))) &&((this.version==null && other.getVersion()==null) ||(this.version!=null &&this.version.equals(other.getVersion())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getApi_type() != null) {_hashCode += getApi_type().hashCode();}if (getArea() != null) {_hashCode += getArea().hashCode();}if (getCustomercode() != null) {_hashCode += getCustomercode().hashCode();}if (getIsAdmin() != null) {_hashCode += getIsAdmin().hashCode();}if (getLicenceKey() != null) {_hashCode += getLicenceKey().hashCode();}if (getLoginID() != null) {_hashCode += getLoginID().hashCode();}if (getPassword() != null) {_hashCode += getPassword().hashCode();}if (getVersion() != null) {_hashCode += getVersion().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(UserProfile.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "UserProfile"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("api_type");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Api_type"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("area");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Area"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("customercode");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Customercode"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("isAdmin");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "IsAdmin"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("licenceKey");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "LicenceKey"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("loginID");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "LoginID"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("password");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Password"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("version");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.Admin", "Version"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);}/*** Return type metadata object*/public static org.apache.axis.description.TypeDesc getTypeDesc() {return typeDesc;}/*** Get Custom Serializer*/public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);}/*** Get Custom Deserializer*/public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);}}