All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fedex.ship.TrackingDocumentDispositionDetail Maven / Gradle / Ivy

The newest version!
/**
 * TrackingDocumentDispositionDetail.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.fedex.ship;

public class TrackingDocumentDispositionDetail  implements java.io.Serializable {
    private com.fedex.ship.TrackingDocumentDispositionType dispositionType;

    private com.fedex.ship.TrackingDocumentEmailDetail EMailDetail;

    /* Specifies the information used to fax the document. */
    private com.fedex.ship.FaxDetail[] faxDetails;

    public TrackingDocumentDispositionDetail() {
    }

    public TrackingDocumentDispositionDetail(
           com.fedex.ship.TrackingDocumentDispositionType dispositionType,
           com.fedex.ship.TrackingDocumentEmailDetail EMailDetail,
           com.fedex.ship.FaxDetail[] faxDetails) {
           this.dispositionType = dispositionType;
           this.EMailDetail = EMailDetail;
           this.faxDetails = faxDetails;
    }


    /**
     * Gets the dispositionType value for this TrackingDocumentDispositionDetail.
     * 
     * @return dispositionType
     */
    public com.fedex.ship.TrackingDocumentDispositionType getDispositionType() {
        return dispositionType;
    }


    /**
     * Sets the dispositionType value for this TrackingDocumentDispositionDetail.
     * 
     * @param dispositionType
     */
    public void setDispositionType(com.fedex.ship.TrackingDocumentDispositionType dispositionType) {
        this.dispositionType = dispositionType;
    }


    /**
     * Gets the EMailDetail value for this TrackingDocumentDispositionDetail.
     * 
     * @return EMailDetail
     */
    public com.fedex.ship.TrackingDocumentEmailDetail getEMailDetail() {
        return EMailDetail;
    }


    /**
     * Sets the EMailDetail value for this TrackingDocumentDispositionDetail.
     * 
     * @param EMailDetail
     */
    public void setEMailDetail(com.fedex.ship.TrackingDocumentEmailDetail EMailDetail) {
        this.EMailDetail = EMailDetail;
    }


    /**
     * Gets the faxDetails value for this TrackingDocumentDispositionDetail.
     * 
     * @return faxDetails   * Specifies the information used to fax the document.
     */
    public com.fedex.ship.FaxDetail[] getFaxDetails() {
        return faxDetails;
    }


    /**
     * Sets the faxDetails value for this TrackingDocumentDispositionDetail.
     * 
     * @param faxDetails   * Specifies the information used to fax the document.
     */
    public void setFaxDetails(com.fedex.ship.FaxDetail[] faxDetails) {
        this.faxDetails = faxDetails;
    }

    public com.fedex.ship.FaxDetail getFaxDetails(int i) {
        return this.faxDetails[i];
    }

    public void setFaxDetails(int i, com.fedex.ship.FaxDetail _value) {
        this.faxDetails[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof TrackingDocumentDispositionDetail)) return false;
        TrackingDocumentDispositionDetail other = (TrackingDocumentDispositionDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.dispositionType==null && other.getDispositionType()==null) || 
             (this.dispositionType!=null &&
              this.dispositionType.equals(other.getDispositionType()))) &&
            ((this.EMailDetail==null && other.getEMailDetail()==null) || 
             (this.EMailDetail!=null &&
              this.EMailDetail.equals(other.getEMailDetail()))) &&
            ((this.faxDetails==null && other.getFaxDetails()==null) || 
             (this.faxDetails!=null &&
              java.util.Arrays.equals(this.faxDetails, other.getFaxDetails())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getDispositionType() != null) {
            _hashCode += getDispositionType().hashCode();
        }
        if (getEMailDetail() != null) {
            _hashCode += getEMailDetail().hashCode();
        }
        if (getFaxDetails() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy