/**
 * ListResponseType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.style24.core.biz.checkout.base;

public class ListResponseType  extends com.style24.core.biz.checkout.base.BaseCheckoutResponseType  implements java.io.Serializable {
    private Integer returnedDataCount;

    private Boolean hasMoreData;

    private java.util.Calendar moreDataTimeFrom;

    private String inquiryExtraData;

    public ListResponseType() {
    }

    public ListResponseType(
           String requestID,
           String responseType,
           Long responseTime,
           com.style24.core.biz.checkout.base.ErrorType error,
           com.style24.core.biz.checkout.base.WarningType[] warningList,
           com.style24.core.biz.checkout.base.QuotaStatusType quotaStatus,
           String detailLevel,
           String version,
           String release,
           java.util.Calendar timestamp,
           String messageID,
           Integer returnedDataCount,
           Boolean hasMoreData,
           java.util.Calendar moreDataTimeFrom,
           String inquiryExtraData) {
        super(
            requestID,
            responseType,
            responseTime,
            error,
            warningList,
            quotaStatus,
            detailLevel,
            version,
            release,
            timestamp,
            messageID);
        this.returnedDataCount = returnedDataCount;
        this.hasMoreData = hasMoreData;
        this.moreDataTimeFrom = moreDataTimeFrom;
        this.inquiryExtraData = inquiryExtraData;
    }


    /**
     * Gets the returnedDataCount value for this ListResponseType.
     *
     * @return returnedDataCount
     */
    public Integer getReturnedDataCount() {
        return returnedDataCount;
    }


    /**
     * Sets the returnedDataCount value for this ListResponseType.
     *
     * @param returnedDataCount
     */
    public void setReturnedDataCount(Integer returnedDataCount) {
        this.returnedDataCount = returnedDataCount;
    }


    /**
     * Gets the hasMoreData value for this ListResponseType.
     *
     * @return hasMoreData
     */
    public Boolean getHasMoreData() {
        return hasMoreData;
    }


    /**
     * Sets the hasMoreData value for this ListResponseType.
     *
     * @param hasMoreData
     */
    public void setHasMoreData(Boolean hasMoreData) {
        this.hasMoreData = hasMoreData;
    }


    /**
     * Gets the moreDataTimeFrom value for this ListResponseType.
     *
     * @return moreDataTimeFrom
     */
    public java.util.Calendar getMoreDataTimeFrom() {
        return moreDataTimeFrom;
    }


    /**
     * Sets the moreDataTimeFrom value for this ListResponseType.
     *
     * @param moreDataTimeFrom
     */
    public void setMoreDataTimeFrom(java.util.Calendar moreDataTimeFrom) {
        this.moreDataTimeFrom = moreDataTimeFrom;
    }


    /**
     * Gets the inquiryExtraData value for this ListResponseType.
     *
     * @return inquiryExtraData
     */
    public String getInquiryExtraData() {
        return inquiryExtraData;
    }


    /**
     * Sets the inquiryExtraData value for this ListResponseType.
     *
     * @param inquiryExtraData
     */
    public void setInquiryExtraData(String inquiryExtraData) {
        this.inquiryExtraData = inquiryExtraData;
    }

    private Object __equalsCalc = null;
    public synchronized boolean equals(Object obj) {
        if (!(obj instanceof ListResponseType)) return false;
        ListResponseType other = (ListResponseType) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) &&
            ((this.returnedDataCount==null && other.getReturnedDataCount()==null) ||
             (this.returnedDataCount!=null &&
              this.returnedDataCount.equals(other.getReturnedDataCount()))) &&
            ((this.hasMoreData==null && other.getHasMoreData()==null) ||
             (this.hasMoreData!=null &&
              this.hasMoreData.equals(other.getHasMoreData()))) &&
            ((this.moreDataTimeFrom==null && other.getMoreDataTimeFrom()==null) ||
             (this.moreDataTimeFrom!=null &&
              this.moreDataTimeFrom.equals(other.getMoreDataTimeFrom()))) &&
            ((this.inquiryExtraData==null && other.getInquiryExtraData()==null) ||
             (this.inquiryExtraData!=null &&
              this.inquiryExtraData.equals(other.getInquiryExtraData())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = super.hashCode();
        if (getReturnedDataCount() != null) {
            _hashCode += getReturnedDataCount().hashCode();
        }
        if (getHasMoreData() != null) {
            _hashCode += getHasMoreData().hashCode();
        }
        if (getMoreDataTimeFrom() != null) {
            _hashCode += getMoreDataTimeFrom().hashCode();
        }
        if (getInquiryExtraData() != null) {
            _hashCode += getInquiryExtraData().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ListResponseType"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("returnedDataCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ReturnedDataCount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("hasMoreData");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "HasMoreData"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("moreDataTimeFrom");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "MoreDataTimeFrom"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("inquiryExtraData");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "InquiryExtraData"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        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(
           String mechType,
           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(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
