/**
 * AESQueryResult.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.adsionline.ADSIShippingWS;

public class AESQueryResult  implements java.io.Serializable {
    private java.lang.String AESRequestID;

    private java.lang.String shipperReference;

    private java.lang.String ITNNumber;

    private java.util.Calendar shipDate;

    private java.util.Calendar createDate;

    public AESQueryResult() {
    }

    public AESQueryResult(
           java.lang.String AESRequestID,
           java.lang.String shipperReference,
           java.lang.String ITNNumber,
           java.util.Calendar shipDate,
           java.util.Calendar createDate) {
           this.AESRequestID = AESRequestID;
           this.shipperReference = shipperReference;
           this.ITNNumber = ITNNumber;
           this.shipDate = shipDate;
           this.createDate = createDate;
    }


    /**
     * Gets the AESRequestID value for this AESQueryResult.
     * 
     * @return AESRequestID
     */
    public java.lang.String getAESRequestID() {
        return AESRequestID;
    }


    /**
     * Sets the AESRequestID value for this AESQueryResult.
     * 
     * @param AESRequestID
     */
    public void setAESRequestID(java.lang.String AESRequestID) {
        this.AESRequestID = AESRequestID;
    }


    /**
     * Gets the shipperReference value for this AESQueryResult.
     * 
     * @return shipperReference
     */
    public java.lang.String getShipperReference() {
        return shipperReference;
    }


    /**
     * Sets the shipperReference value for this AESQueryResult.
     * 
     * @param shipperReference
     */
    public void setShipperReference(java.lang.String shipperReference) {
        this.shipperReference = shipperReference;
    }


    /**
     * Gets the ITNNumber value for this AESQueryResult.
     * 
     * @return ITNNumber
     */
    public java.lang.String getITNNumber() {
        return ITNNumber;
    }


    /**
     * Sets the ITNNumber value for this AESQueryResult.
     * 
     * @param ITNNumber
     */
    public void setITNNumber(java.lang.String ITNNumber) {
        this.ITNNumber = ITNNumber;
    }


    /**
     * Gets the shipDate value for this AESQueryResult.
     * 
     * @return shipDate
     */
    public java.util.Calendar getShipDate() {
        return shipDate;
    }


    /**
     * Sets the shipDate value for this AESQueryResult.
     * 
     * @param shipDate
     */
    public void setShipDate(java.util.Calendar shipDate) {
        this.shipDate = shipDate;
    }


    /**
     * Gets the createDate value for this AESQueryResult.
     * 
     * @return createDate
     */
    public java.util.Calendar getCreateDate() {
        return createDate;
    }


    /**
     * Sets the createDate value for this AESQueryResult.
     * 
     * @param createDate
     */
    public void setCreateDate(java.util.Calendar createDate) {
        this.createDate = createDate;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AESQueryResult)) return false;
        AESQueryResult other = (AESQueryResult) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.AESRequestID==null && other.getAESRequestID()==null) || 
             (this.AESRequestID!=null &&
              this.AESRequestID.equals(other.getAESRequestID()))) &&
            ((this.shipperReference==null && other.getShipperReference()==null) || 
             (this.shipperReference!=null &&
              this.shipperReference.equals(other.getShipperReference()))) &&
            ((this.ITNNumber==null && other.getITNNumber()==null) || 
             (this.ITNNumber!=null &&
              this.ITNNumber.equals(other.getITNNumber()))) &&
            ((this.shipDate==null && other.getShipDate()==null) || 
             (this.shipDate!=null &&
              this.shipDate.equals(other.getShipDate()))) &&
            ((this.createDate==null && other.getCreateDate()==null) || 
             (this.createDate!=null &&
              this.createDate.equals(other.getCreateDate())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getAESRequestID() != null) {
            _hashCode += getAESRequestID().hashCode();
        }
        if (getShipperReference() != null) {
            _hashCode += getShipperReference().hashCode();
        }
        if (getITNNumber() != null) {
            _hashCode += getITNNumber().hashCode();
        }
        if (getShipDate() != null) {
            _hashCode += getShipDate().hashCode();
        }
        if (getCreateDate() != null) {
            _hashCode += getCreateDate().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "AESQueryResult"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("AESRequestID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "AESRequestID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("shipperReference");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "ShipperReference"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ITNNumber");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "ITNNumber"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("shipDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "ShipDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("createDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "CreateDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        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(
           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);
    }

}
