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

📄 _offersummary.java

📁 amazon web开发的例子
💻 JAVA
字号:
/**
 * _OfferSummary.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.amazon.xml.AWSECommerceService;

public class _OfferSummary  implements java.io.Serializable {
    private com.amazon.xml.AWSECommerceService.Price lowestNewPrice;
    private com.amazon.xml.AWSECommerceService.Price lowestUsedPrice;
    private com.amazon.xml.AWSECommerceService.Price lowestCollectiblePrice;
    private com.amazon.xml.AWSECommerceService.Price lowestRefurbishedPrice;
    private java.lang.String totalNew;
    private java.lang.String totalUsed;
    private java.lang.String totalCollectible;
    private java.lang.String totalRefurbished;

    public _OfferSummary() {
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestNewPrice() {
        return lowestNewPrice;
    }

    public void setLowestNewPrice(com.amazon.xml.AWSECommerceService.Price lowestNewPrice) {
        this.lowestNewPrice = lowestNewPrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestUsedPrice() {
        return lowestUsedPrice;
    }

    public void setLowestUsedPrice(com.amazon.xml.AWSECommerceService.Price lowestUsedPrice) {
        this.lowestUsedPrice = lowestUsedPrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestCollectiblePrice() {
        return lowestCollectiblePrice;
    }

    public void setLowestCollectiblePrice(com.amazon.xml.AWSECommerceService.Price lowestCollectiblePrice) {
        this.lowestCollectiblePrice = lowestCollectiblePrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestRefurbishedPrice() {
        return lowestRefurbishedPrice;
    }

    public void setLowestRefurbishedPrice(com.amazon.xml.AWSECommerceService.Price lowestRefurbishedPrice) {
        this.lowestRefurbishedPrice = lowestRefurbishedPrice;
    }

    public java.lang.String getTotalNew() {
        return totalNew;
    }

    public void setTotalNew(java.lang.String totalNew) {
        this.totalNew = totalNew;
    }

    public java.lang.String getTotalUsed() {
        return totalUsed;
    }

    public void setTotalUsed(java.lang.String totalUsed) {
        this.totalUsed = totalUsed;
    }

    public java.lang.String getTotalCollectible() {
        return totalCollectible;
    }

    public void setTotalCollectible(java.lang.String totalCollectible) {
        this.totalCollectible = totalCollectible;
    }

    public java.lang.String getTotalRefurbished() {
        return totalRefurbished;
    }

    public void setTotalRefurbished(java.lang.String totalRefurbished) {
        this.totalRefurbished = totalRefurbished;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof _OfferSummary)) return false;
        _OfferSummary other = (_OfferSummary) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.lowestNewPrice==null && other.getLowestNewPrice()==null) || 
             (this.lowestNewPrice!=null &&
              this.lowestNewPrice.equals(other.getLowestNewPrice()))) &&
            ((this.lowestUsedPrice==null && other.getLowestUsedPrice()==null) || 
             (this.lowestUsedPrice!=null &&
              this.lowestUsedPrice.equals(other.getLowestUsedPrice()))) &&
            ((this.lowestCollectiblePrice==null && other.getLowestCollectiblePrice()==null) || 
             (this.lowestCollectiblePrice!=null &&
              this.lowestCollectiblePrice.equals(other.getLowestCollectiblePrice()))) &&
            ((this.lowestRefurbishedPrice==null && other.getLowestRefurbishedPrice()==null) || 
             (this.lowestRefurbishedPrice!=null &&
              this.lowestRefurbishedPrice.equals(other.getLowestRefurbishedPrice()))) &&
            ((this.totalNew==null && other.getTotalNew()==null) || 
             (this.totalNew!=null &&
              this.totalNew.equals(other.getTotalNew()))) &&
            ((this.totalUsed==null && other.getTotalUsed()==null) || 
             (this.totalUsed!=null &&
              this.totalUsed.equals(other.getTotalUsed()))) &&
            ((this.totalCollectible==null && other.getTotalCollectible()==null) || 
             (this.totalCollectible!=null &&
              this.totalCollectible.equals(other.getTotalCollectible()))) &&
            ((this.totalRefurbished==null && other.getTotalRefurbished()==null) || 
             (this.totalRefurbished!=null &&
              this.totalRefurbished.equals(other.getTotalRefurbished())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getLowestNewPrice() != null) {
            _hashCode += getLowestNewPrice().hashCode();
        }
        if (getLowestUsedPrice() != null) {
            _hashCode += getLowestUsedPrice().hashCode();
        }
        if (getLowestCollectiblePrice() != null) {
            _hashCode += getLowestCollectiblePrice().hashCode();
        }
        if (getLowestRefurbishedPrice() != null) {
            _hashCode += getLowestRefurbishedPrice().hashCode();
        }
        if (getTotalNew() != null) {
            _hashCode += getTotalNew().hashCode();
        }
        if (getTotalUsed() != null) {
            _hashCode += getTotalUsed().hashCode();
        }
        if (getTotalCollectible() != null) {
            _hashCode += getTotalCollectible().hashCode();
        }
        if (getTotalRefurbished() != null) {
            _hashCode += getTotalRefurbished().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">OfferSummary"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lowestNewPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestNewPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lowestUsedPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestUsedPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lowestCollectiblePrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestCollectiblePrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lowestRefurbishedPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestRefurbishedPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("totalNew");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalNew"));
        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("totalUsed");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalUsed"));
        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("totalCollectible");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalCollectible"));
        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("totalRefurbished");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalRefurbished"));
        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 + -