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

📄 charginginformation.java

📁 湖北电信SOA平台短信发送实例
💻 JAVA
字号:
/**
 * ChargingInformation.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package cn.com.chinatelecom.www.schema.ctcc.common.v2_1;

public class ChargingInformation
    implements java.io.Serializable {
  /**
	 * 
	 */
	private static final long serialVersionUID = 2362177996259197585L;
private java.lang.String description;
  private java.lang.String currency;
  private java.math.BigDecimal amount;
  private java.lang.String code;

  public ChargingInformation() {
  }

  public ChargingInformation(java.lang.String description,
                             java.lang.String currency,
                             java.math.BigDecimal amount,
                             java.lang.String code) {
    this.description = description;
    this.currency = currency;
    this.amount = amount;
    this.code = code;
  }

  public java.lang.String getDescription() {
    return description;
  }

  public void setDescription(java.lang.String description) {
    this.description = description;
  }

  public java.lang.String getCurrency() {
    return currency;
  }

  public void setCurrency(java.lang.String currency) {
    this.currency = currency;
  }

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

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

  public java.lang.String getCode() {
    return code;
  }

  public void setCode(java.lang.String code) {
    this.code = code;
  }

  private java.lang.Object __equalsCalc = null;
  public synchronized boolean equals(java.lang.Object obj) {
    if (! (obj instanceof ChargingInformation)) {
      return false;
    }
    ChargingInformation other = (ChargingInformation) obj;
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (__equalsCalc != null) {
      return (__equalsCalc == obj);
    }
    __equalsCalc = obj;
    boolean _equals;
    _equals = true &&
        ( (this.description == null && other.getDescription() == null) ||
         (this.description != null &&
          this.description.equals(other.getDescription()))) &&
        ( (this.currency == null && other.getCurrency() == null) ||
         (this.currency != null &&
          this.currency.equals(other.getCurrency()))) &&
        ( (this.amount == null && other.getAmount() == null) ||
         (this.amount != null &&
          this.amount.equals(other.getAmount()))) &&
        ( (this.code == null && other.getCode() == null) ||
         (this.code != null &&
          this.code.equals(other.getCode())));
    __equalsCalc = null;
    return _equals;
  }

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

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

  static {
    typeDesc.setXmlType(new javax.xml.namespace.QName(
        "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1",
        "ChargingInformation"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.
        description.ElementDesc();
    elemField.setFieldName("description");
    elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
    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("currency");
    elemField.setXmlName(new javax.xml.namespace.QName("", "currency"));
    elemField.setXmlType(new javax.xml.namespace.QName(
        "http://www.w3.org/2001/XMLSchema", "string"));
    elemField.setMinOccurs(0);
    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", "decimal"));
    elemField.setMinOccurs(0);
    typeDesc.addFieldDesc(elemField);
    elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("code");
    elemField.setXmlName(new javax.xml.namespace.QName("", "code"));
    elemField.setXmlType(new javax.xml.namespace.QName(
        "http://www.w3.org/2001/XMLSchema", "string"));
    elemField.setMinOccurs(0);
    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 + -