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

📄 _variationsummary.java

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

package com.amazon.xml.AWSECommerceService;

public class _VariationSummary  implements java.io.Serializable {
    private com.amazon.xml.AWSECommerceService.Price lowestPrice;
    private com.amazon.xml.AWSECommerceService.Price highestPrice;
    private com.amazon.xml.AWSECommerceService.Price lowestSalePrice;
    private com.amazon.xml.AWSECommerceService.Price highestSalePrice;
    private java.lang.String singleMerchantId;

    public _VariationSummary() {
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestPrice() {
        return lowestPrice;
    }

    public void setLowestPrice(com.amazon.xml.AWSECommerceService.Price lowestPrice) {
        this.lowestPrice = lowestPrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getHighestPrice() {
        return highestPrice;
    }

    public void setHighestPrice(com.amazon.xml.AWSECommerceService.Price highestPrice) {
        this.highestPrice = highestPrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getLowestSalePrice() {
        return lowestSalePrice;
    }

    public void setLowestSalePrice(com.amazon.xml.AWSECommerceService.Price lowestSalePrice) {
        this.lowestSalePrice = lowestSalePrice;
    }

    public com.amazon.xml.AWSECommerceService.Price getHighestSalePrice() {
        return highestSalePrice;
    }

    public void setHighestSalePrice(com.amazon.xml.AWSECommerceService.Price highestSalePrice) {
        this.highestSalePrice = highestSalePrice;
    }

    public java.lang.String getSingleMerchantId() {
        return singleMerchantId;
    }

    public void setSingleMerchantId(java.lang.String singleMerchantId) {
        this.singleMerchantId = singleMerchantId;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof _VariationSummary)) return false;
        _VariationSummary other = (_VariationSummary) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.lowestPrice==null && other.getLowestPrice()==null) || 
             (this.lowestPrice!=null &&
              this.lowestPrice.equals(other.getLowestPrice()))) &&
            ((this.highestPrice==null && other.getHighestPrice()==null) || 
             (this.highestPrice!=null &&
              this.highestPrice.equals(other.getHighestPrice()))) &&
            ((this.lowestSalePrice==null && other.getLowestSalePrice()==null) || 
             (this.lowestSalePrice!=null &&
              this.lowestSalePrice.equals(other.getLowestSalePrice()))) &&
            ((this.highestSalePrice==null && other.getHighestSalePrice()==null) || 
             (this.highestSalePrice!=null &&
              this.highestSalePrice.equals(other.getHighestSalePrice()))) &&
            ((this.singleMerchantId==null && other.getSingleMerchantId()==null) || 
             (this.singleMerchantId!=null &&
              this.singleMerchantId.equals(other.getSingleMerchantId())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getLowestPrice() != null) {
            _hashCode += getLowestPrice().hashCode();
        }
        if (getHighestPrice() != null) {
            _hashCode += getHighestPrice().hashCode();
        }
        if (getLowestSalePrice() != null) {
            _hashCode += getLowestSalePrice().hashCode();
        }
        if (getHighestSalePrice() != null) {
            _hashCode += getHighestSalePrice().hashCode();
        }
        if (getSingleMerchantId() != null) {
            _hashCode += getSingleMerchantId().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">VariationSummary"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lowestPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestPrice"));
        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("highestPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "HighestPrice"));
        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("lowestSalePrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LowestSalePrice"));
        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("highestSalePrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "HighestSalePrice"));
        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("singleMerchantId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SingleMerchantId"));
        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 + -