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

📄 goodsinfo.java

📁 电信ISAG的服务连接和服务
💻 JAVA
字号:
/**
 * GoodsInfo.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package cn.com.chinatelecom.www.schema.ctcc.payment.v1_0;

public class GoodsInfo  implements java.io.Serializable {
    private java.lang.String goodsID;
    private java.math.BigInteger goodsAmount;
    private java.math.BigInteger amount;
    private java.lang.String billText;

    public GoodsInfo() {
    }

    public java.lang.String getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(java.lang.String goodsID) {
        this.goodsID = goodsID;
    }

    public java.math.BigInteger getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(java.math.BigInteger goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public java.math.BigInteger getAmount() {
        return amount;
    }

    public void setAmount(java.math.BigInteger amount) {
        this.amount = amount;
    }

    public java.lang.String getBillText() {
        return billText;
    }

    public void setBillText(java.lang.String billText) {
        this.billText = billText;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof GoodsInfo)) return false;
        GoodsInfo other = (GoodsInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.goodsID==null && other.getGoodsID()==null) || 
             (this.goodsID!=null &&
              this.goodsID.equals(other.getGoodsID()))) &&
            ((this.goodsAmount==null && other.getGoodsAmount()==null) || 
             (this.goodsAmount!=null &&
              this.goodsAmount.equals(other.getGoodsAmount()))) &&
            ((this.amount==null && other.getAmount()==null) || 
             (this.amount!=null &&
              this.amount.equals(other.getAmount()))) &&
            ((this.billText==null && other.getBillText()==null) || 
             (this.billText!=null &&
              this.billText.equals(other.getBillText())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getGoodsID() != null) {
            _hashCode += getGoodsID().hashCode();
        }
        if (getGoodsAmount() != null) {
            _hashCode += getGoodsAmount().hashCode();
        }
        if (getAmount() != null) {
            _hashCode += getAmount().hashCode();
        }
        if (getBillText() != null) {
            _hashCode += getBillText().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/payment/v1_0", "GoodsInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("goodsID");
        elemField.setXmlName(new javax.xml.namespace.QName("", "goodsID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("goodsAmount");
        elemField.setXmlName(new javax.xml.namespace.QName("", "goodsAmount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("amount");
        elemField.setXmlName(new javax.xml.namespace.QName("", "amount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("billText");
        elemField.setXmlName(new javax.xml.namespace.QName("", "billText"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        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 + -