/**
 * IPDIGDShipmentInfo.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 IPDIGDShipmentInfo  implements java.io.Serializable {
    private java.lang.String shipmentID;

    private java.lang.String IORCode;

    private java.util.Calendar shipDate;

    private java.lang.String masterTrackingNumber;

    public IPDIGDShipmentInfo() {
    }

    public IPDIGDShipmentInfo(
           java.lang.String shipmentID,
           java.lang.String IORCode,
           java.util.Calendar shipDate,
           java.lang.String masterTrackingNumber) {
           this.shipmentID = shipmentID;
           this.IORCode = IORCode;
           this.shipDate = shipDate;
           this.masterTrackingNumber = masterTrackingNumber;
    }


    /**
     * Gets the shipmentID value for this IPDIGDShipmentInfo.
     * 
     * @return shipmentID
     */
    public java.lang.String getShipmentID() {
        return shipmentID;
    }


    /**
     * Sets the shipmentID value for this IPDIGDShipmentInfo.
     * 
     * @param shipmentID
     */
    public void setShipmentID(java.lang.String shipmentID) {
        this.shipmentID = shipmentID;
    }


    /**
     * Gets the IORCode value for this IPDIGDShipmentInfo.
     * 
     * @return IORCode
     */
    public java.lang.String getIORCode() {
        return IORCode;
    }


    /**
     * Sets the IORCode value for this IPDIGDShipmentInfo.
     * 
     * @param IORCode
     */
    public void setIORCode(java.lang.String IORCode) {
        this.IORCode = IORCode;
    }


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


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


    /**
     * Gets the masterTrackingNumber value for this IPDIGDShipmentInfo.
     * 
     * @return masterTrackingNumber
     */
    public java.lang.String getMasterTrackingNumber() {
        return masterTrackingNumber;
    }


    /**
     * Sets the masterTrackingNumber value for this IPDIGDShipmentInfo.
     * 
     * @param masterTrackingNumber
     */
    public void setMasterTrackingNumber(java.lang.String masterTrackingNumber) {
        this.masterTrackingNumber = masterTrackingNumber;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof IPDIGDShipmentInfo)) return false;
        IPDIGDShipmentInfo other = (IPDIGDShipmentInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.shipmentID==null && other.getShipmentID()==null) || 
             (this.shipmentID!=null &&
              this.shipmentID.equals(other.getShipmentID()))) &&
            ((this.IORCode==null && other.getIORCode()==null) || 
             (this.IORCode!=null &&
              this.IORCode.equals(other.getIORCode()))) &&
            ((this.shipDate==null && other.getShipDate()==null) || 
             (this.shipDate!=null &&
              this.shipDate.equals(other.getShipDate()))) &&
            ((this.masterTrackingNumber==null && other.getMasterTrackingNumber()==null) || 
             (this.masterTrackingNumber!=null &&
              this.masterTrackingNumber.equals(other.getMasterTrackingNumber())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getShipmentID() != null) {
            _hashCode += getShipmentID().hashCode();
        }
        if (getIORCode() != null) {
            _hashCode += getIORCode().hashCode();
        }
        if (getShipDate() != null) {
            _hashCode += getShipDate().hashCode();
        }
        if (getMasterTrackingNumber() != null) {
            _hashCode += getMasterTrackingNumber().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "IPDIGDShipmentInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("shipmentID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "ShipmentID"));
        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("IORCode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "IORCode"));
        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("masterTrackingNumber");
        elemField.setXmlName(new javax.xml.namespace.QName("http://adsionline.com/ADSIShippingWS/", "MasterTrackingNumber"));
        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(
           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);
    }

}
