⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 useraccountdto.java

📁 《精通SOA:基于服务总线的Struts+EJB+Web Service整合应用开发》原书的实例代码
💻 JAVA
字号:
/**
 * UserAccountDTO.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package wsClient;

public class UserAccountDTO  implements java.io.Serializable {
    private java.lang.String email;

    private java.lang.String loginName;

    private java.lang.String name;

    private java.lang.String password;

    private java.lang.String phone;

    private java.math.BigDecimal registrationFee;

    private java.lang.Long registrationTime;

    private java.lang.Integer userAccountID;

    public UserAccountDTO() {
    }

    public UserAccountDTO(
           java.lang.String email,
           java.lang.String loginName,
           java.lang.String name,
           java.lang.String password,
           java.lang.String phone,
           java.math.BigDecimal registrationFee,
           java.lang.Long registrationTime,
           java.lang.Integer userAccountID) {
           this.email = email;
           this.loginName = loginName;
           this.name = name;
           this.password = password;
           this.phone = phone;
           this.registrationFee = registrationFee;
           this.registrationTime = registrationTime;
           this.userAccountID = userAccountID;
    }


    /**
     * Gets the email value for this UserAccountDTO.
     * 
     * @return email
     */
    public java.lang.String getEmail() {
        return email;
    }


    /**
     * Sets the email value for this UserAccountDTO.
     * 
     * @param email
     */
    public void setEmail(java.lang.String email) {
        this.email = email;
    }


    /**
     * Gets the loginName value for this UserAccountDTO.
     * 
     * @return loginName
     */
    public java.lang.String getLoginName() {
        return loginName;
    }


    /**
     * Sets the loginName value for this UserAccountDTO.
     * 
     * @param loginName
     */
    public void setLoginName(java.lang.String loginName) {
        this.loginName = loginName;
    }


    /**
     * Gets the name value for this UserAccountDTO.
     * 
     * @return name
     */
    public java.lang.String getName() {
        return name;
    }


    /**
     * Sets the name value for this UserAccountDTO.
     * 
     * @param name
     */
    public void setName(java.lang.String name) {
        this.name = name;
    }


    /**
     * Gets the password value for this UserAccountDTO.
     * 
     * @return password
     */
    public java.lang.String getPassword() {
        return password;
    }


    /**
     * Sets the password value for this UserAccountDTO.
     * 
     * @param password
     */
    public void setPassword(java.lang.String password) {
        this.password = password;
    }


    /**
     * Gets the phone value for this UserAccountDTO.
     * 
     * @return phone
     */
    public java.lang.String getPhone() {
        return phone;
    }


    /**
     * Sets the phone value for this UserAccountDTO.
     * 
     * @param phone
     */
    public void setPhone(java.lang.String phone) {
        this.phone = phone;
    }


    /**
     * Gets the registrationFee value for this UserAccountDTO.
     * 
     * @return registrationFee
     */
    public java.math.BigDecimal getRegistrationFee() {
        return registrationFee;
    }


    /**
     * Sets the registrationFee value for this UserAccountDTO.
     * 
     * @param registrationFee
     */
    public void setRegistrationFee(java.math.BigDecimal registrationFee) {
        this.registrationFee = registrationFee;
    }


    /**
     * Gets the registrationTime value for this UserAccountDTO.
     * 
     * @return registrationTime
     */
    public java.lang.Long getRegistrationTime() {
        return registrationTime;
    }


    /**
     * Sets the registrationTime value for this UserAccountDTO.
     * 
     * @param registrationTime
     */
    public void setRegistrationTime(java.lang.Long registrationTime) {
        this.registrationTime = registrationTime;
    }


    /**
     * Gets the userAccountID value for this UserAccountDTO.
     * 
     * @return userAccountID
     */
    public java.lang.Integer getUserAccountID() {
        return userAccountID;
    }


    /**
     * Sets the userAccountID value for this UserAccountDTO.
     * 
     * @param userAccountID
     */
    public void setUserAccountID(java.lang.Integer userAccountID) {
        this.userAccountID = userAccountID;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof UserAccountDTO)) return false;
        UserAccountDTO other = (UserAccountDTO) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.email==null && other.getEmail()==null) || 
             (this.email!=null &&
              this.email.equals(other.getEmail()))) &&
            ((this.loginName==null && other.getLoginName()==null) || 
             (this.loginName!=null &&
              this.loginName.equals(other.getLoginName()))) &&
            ((this.name==null && other.getName()==null) || 
             (this.name!=null &&
              this.name.equals(other.getName()))) &&
            ((this.password==null && other.getPassword()==null) || 
             (this.password!=null &&
              this.password.equals(other.getPassword()))) &&
            ((this.phone==null && other.getPhone()==null) || 
             (this.phone!=null &&
              this.phone.equals(other.getPhone()))) &&
            ((this.registrationFee==null && other.getRegistrationFee()==null) || 
             (this.registrationFee!=null &&
              this.registrationFee.equals(other.getRegistrationFee()))) &&
            ((this.registrationTime==null && other.getRegistrationTime()==null) || 
             (this.registrationTime!=null &&
              this.registrationTime.equals(other.getRegistrationTime()))) &&
            ((this.userAccountID==null && other.getUserAccountID()==null) || 
             (this.userAccountID!=null &&
              this.userAccountID.equals(other.getUserAccountID())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getEmail() != null) {
            _hashCode += getEmail().hashCode();
        }
        if (getLoginName() != null) {
            _hashCode += getLoginName().hashCode();
        }
        if (getName() != null) {
            _hashCode += getName().hashCode();
        }
        if (getPassword() != null) {
            _hashCode += getPassword().hashCode();
        }
        if (getPhone() != null) {
            _hashCode += getPhone().hashCode();
        }
        if (getRegistrationFee() != null) {
            _hashCode += getRegistrationFee().hashCode();
        }
        if (getRegistrationTime() != null) {
            _hashCode += getRegistrationTime().hashCode();
        }
        if (getUserAccountID() != null) {
            _hashCode += getUserAccountID().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(UserAccountDTO.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("urn:wsClient", "UserAccountDTO"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("email");
        elemField.setXmlName(new javax.xml.namespace.QName("", "email"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("loginName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "loginName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("name");
        elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("password");
        elemField.setXmlName(new javax.xml.namespace.QName("", "password"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("phone");
        elemField.setXmlName(new javax.xml.namespace.QName("", "phone"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("registrationFee");
        elemField.setXmlName(new javax.xml.namespace.QName("", "registrationFee"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("registrationTime");
        elemField.setXmlName(new javax.xml.namespace.QName("", "registrationTime"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("userAccountID");
        elemField.setXmlName(new javax.xml.namespace.QName("", "userAccountID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        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) {
        return 
          new  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) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -