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

📄 _seller.java

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

package com.amazon.xml.AWSECommerceService;

public class _Seller  implements java.io.Serializable {
    private java.lang.String sellerId;
    private java.lang.String sellerName;
    private java.lang.String nickname;
    private java.lang.String glancePage;
    private java.lang.String about;
    private java.lang.String moreAbout;
    private com.amazon.xml.AWSECommerceService._Seller_Location location;
    private java.math.BigDecimal averageFeedbackRating;
    private org.apache.axis.types.NonNegativeInteger totalFeedback;
    private org.apache.axis.types.NonNegativeInteger totalFeedbackPages;
    private com.amazon.xml.AWSECommerceService._SellerFeedback sellerFeedback;

    public _Seller() {
    }

    public java.lang.String getSellerId() {
        return sellerId;
    }

    public void setSellerId(java.lang.String sellerId) {
        this.sellerId = sellerId;
    }

    public java.lang.String getSellerName() {
        return sellerName;
    }

    public void setSellerName(java.lang.String sellerName) {
        this.sellerName = sellerName;
    }

    public java.lang.String getNickname() {
        return nickname;
    }

    public void setNickname(java.lang.String nickname) {
        this.nickname = nickname;
    }

    public java.lang.String getGlancePage() {
        return glancePage;
    }

    public void setGlancePage(java.lang.String glancePage) {
        this.glancePage = glancePage;
    }

    public java.lang.String getAbout() {
        return about;
    }

    public void setAbout(java.lang.String about) {
        this.about = about;
    }

    public java.lang.String getMoreAbout() {
        return moreAbout;
    }

    public void setMoreAbout(java.lang.String moreAbout) {
        this.moreAbout = moreAbout;
    }

    public com.amazon.xml.AWSECommerceService._Seller_Location getLocation() {
        return location;
    }

    public void setLocation(com.amazon.xml.AWSECommerceService._Seller_Location location) {
        this.location = location;
    }

    public java.math.BigDecimal getAverageFeedbackRating() {
        return averageFeedbackRating;
    }

    public void setAverageFeedbackRating(java.math.BigDecimal averageFeedbackRating) {
        this.averageFeedbackRating = averageFeedbackRating;
    }

    public org.apache.axis.types.NonNegativeInteger getTotalFeedback() {
        return totalFeedback;
    }

    public void setTotalFeedback(org.apache.axis.types.NonNegativeInteger totalFeedback) {
        this.totalFeedback = totalFeedback;
    }

    public org.apache.axis.types.NonNegativeInteger getTotalFeedbackPages() {
        return totalFeedbackPages;
    }

    public void setTotalFeedbackPages(org.apache.axis.types.NonNegativeInteger totalFeedbackPages) {
        this.totalFeedbackPages = totalFeedbackPages;
    }

    public com.amazon.xml.AWSECommerceService._SellerFeedback getSellerFeedback() {
        return sellerFeedback;
    }

    public void setSellerFeedback(com.amazon.xml.AWSECommerceService._SellerFeedback sellerFeedback) {
        this.sellerFeedback = sellerFeedback;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof _Seller)) return false;
        _Seller other = (_Seller) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.sellerId==null && other.getSellerId()==null) || 
             (this.sellerId!=null &&
              this.sellerId.equals(other.getSellerId()))) &&
            ((this.sellerName==null && other.getSellerName()==null) || 
             (this.sellerName!=null &&
              this.sellerName.equals(other.getSellerName()))) &&
            ((this.nickname==null && other.getNickname()==null) || 
             (this.nickname!=null &&
              this.nickname.equals(other.getNickname()))) &&
            ((this.glancePage==null && other.getGlancePage()==null) || 
             (this.glancePage!=null &&
              this.glancePage.equals(other.getGlancePage()))) &&
            ((this.about==null && other.getAbout()==null) || 
             (this.about!=null &&
              this.about.equals(other.getAbout()))) &&
            ((this.moreAbout==null && other.getMoreAbout()==null) || 
             (this.moreAbout!=null &&
              this.moreAbout.equals(other.getMoreAbout()))) &&
            ((this.location==null && other.getLocation()==null) || 
             (this.location!=null &&
              this.location.equals(other.getLocation()))) &&
            ((this.averageFeedbackRating==null && other.getAverageFeedbackRating()==null) || 
             (this.averageFeedbackRating!=null &&
              this.averageFeedbackRating.equals(other.getAverageFeedbackRating()))) &&
            ((this.totalFeedback==null && other.getTotalFeedback()==null) || 
             (this.totalFeedback!=null &&
              this.totalFeedback.equals(other.getTotalFeedback()))) &&
            ((this.totalFeedbackPages==null && other.getTotalFeedbackPages()==null) || 
             (this.totalFeedbackPages!=null &&
              this.totalFeedbackPages.equals(other.getTotalFeedbackPages()))) &&
            ((this.sellerFeedback==null && other.getSellerFeedback()==null) || 
             (this.sellerFeedback!=null &&
              this.sellerFeedback.equals(other.getSellerFeedback())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getSellerId() != null) {
            _hashCode += getSellerId().hashCode();
        }
        if (getSellerName() != null) {
            _hashCode += getSellerName().hashCode();
        }
        if (getNickname() != null) {
            _hashCode += getNickname().hashCode();
        }
        if (getGlancePage() != null) {
            _hashCode += getGlancePage().hashCode();
        }
        if (getAbout() != null) {
            _hashCode += getAbout().hashCode();
        }
        if (getMoreAbout() != null) {
            _hashCode += getMoreAbout().hashCode();
        }
        if (getLocation() != null) {
            _hashCode += getLocation().hashCode();
        }
        if (getAverageFeedbackRating() != null) {
            _hashCode += getAverageFeedbackRating().hashCode();
        }
        if (getTotalFeedback() != null) {
            _hashCode += getTotalFeedback().hashCode();
        }
        if (getTotalFeedbackPages() != null) {
            _hashCode += getTotalFeedbackPages().hashCode();
        }
        if (getSellerFeedback() != null) {
            _hashCode += getSellerFeedback().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Seller"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("sellerId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SellerId"));
        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("sellerName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SellerName"));
        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("nickname");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Nickname"));
        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("glancePage");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "GlancePage"));
        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("about");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "About"));
        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("moreAbout");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "MoreAbout"));
        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("location");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Location"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Seller>Location"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("averageFeedbackRating");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "AverageFeedbackRating"));
        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("totalFeedback");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalFeedback"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("totalFeedbackPages");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "TotalFeedbackPages"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("sellerFeedback");
        elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SellerFeedback"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">SellerFeedback"));
        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 + -