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

com.fedex.track.stub.TrackingDocumentSpecification Maven / Gradle / Ivy

The newest version!
/**
 * TrackingDocumentSpecification.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.track.stub;

public class TrackingDocumentSpecification  implements java.io.Serializable {
    private com.fedex.track.stub.TrackingDocumentType[] documentTypes;

    private com.fedex.track.stub.TrackingBillOfLadingDocumentDetail billOfLadingDocumentDetail;

    private com.fedex.track.stub.TrackingFreightBillingDocumentDetail freightBillingDocumentDetail;

    private com.fedex.track.stub.TrackingSignatureProofOfDeliveryDetail signatureProofOfDeliveryDetail;

    public TrackingDocumentSpecification() {
    }

    public TrackingDocumentSpecification(
           com.fedex.track.stub.TrackingDocumentType[] documentTypes,
           com.fedex.track.stub.TrackingBillOfLadingDocumentDetail billOfLadingDocumentDetail,
           com.fedex.track.stub.TrackingFreightBillingDocumentDetail freightBillingDocumentDetail,
           com.fedex.track.stub.TrackingSignatureProofOfDeliveryDetail signatureProofOfDeliveryDetail) {
           this.documentTypes = documentTypes;
           this.billOfLadingDocumentDetail = billOfLadingDocumentDetail;
           this.freightBillingDocumentDetail = freightBillingDocumentDetail;
           this.signatureProofOfDeliveryDetail = signatureProofOfDeliveryDetail;
    }


    /**
     * Gets the documentTypes value for this TrackingDocumentSpecification.
     * 
     * @return documentTypes
     */
    public com.fedex.track.stub.TrackingDocumentType[] getDocumentTypes() {
        return documentTypes;
    }


    /**
     * Sets the documentTypes value for this TrackingDocumentSpecification.
     * 
     * @param documentTypes
     */
    public void setDocumentTypes(com.fedex.track.stub.TrackingDocumentType[] documentTypes) {
        this.documentTypes = documentTypes;
    }

    public com.fedex.track.stub.TrackingDocumentType getDocumentTypes(int i) {
        return this.documentTypes[i];
    }

    public void setDocumentTypes(int i, com.fedex.track.stub.TrackingDocumentType _value) {
        this.documentTypes[i] = _value;
    }


    /**
     * Gets the billOfLadingDocumentDetail value for this TrackingDocumentSpecification.
     * 
     * @return billOfLadingDocumentDetail
     */
    public com.fedex.track.stub.TrackingBillOfLadingDocumentDetail getBillOfLadingDocumentDetail() {
        return billOfLadingDocumentDetail;
    }


    /**
     * Sets the billOfLadingDocumentDetail value for this TrackingDocumentSpecification.
     * 
     * @param billOfLadingDocumentDetail
     */
    public void setBillOfLadingDocumentDetail(com.fedex.track.stub.TrackingBillOfLadingDocumentDetail billOfLadingDocumentDetail) {
        this.billOfLadingDocumentDetail = billOfLadingDocumentDetail;
    }


    /**
     * Gets the freightBillingDocumentDetail value for this TrackingDocumentSpecification.
     * 
     * @return freightBillingDocumentDetail
     */
    public com.fedex.track.stub.TrackingFreightBillingDocumentDetail getFreightBillingDocumentDetail() {
        return freightBillingDocumentDetail;
    }


    /**
     * Sets the freightBillingDocumentDetail value for this TrackingDocumentSpecification.
     * 
     * @param freightBillingDocumentDetail
     */
    public void setFreightBillingDocumentDetail(com.fedex.track.stub.TrackingFreightBillingDocumentDetail freightBillingDocumentDetail) {
        this.freightBillingDocumentDetail = freightBillingDocumentDetail;
    }


    /**
     * Gets the signatureProofOfDeliveryDetail value for this TrackingDocumentSpecification.
     * 
     * @return signatureProofOfDeliveryDetail
     */
    public com.fedex.track.stub.TrackingSignatureProofOfDeliveryDetail getSignatureProofOfDeliveryDetail() {
        return signatureProofOfDeliveryDetail;
    }


    /**
     * Sets the signatureProofOfDeliveryDetail value for this TrackingDocumentSpecification.
     * 
     * @param signatureProofOfDeliveryDetail
     */
    public void setSignatureProofOfDeliveryDetail(com.fedex.track.stub.TrackingSignatureProofOfDeliveryDetail signatureProofOfDeliveryDetail) {
        this.signatureProofOfDeliveryDetail = signatureProofOfDeliveryDetail;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof TrackingDocumentSpecification)) return false;
        TrackingDocumentSpecification other = (TrackingDocumentSpecification) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.documentTypes==null && other.getDocumentTypes()==null) || 
             (this.documentTypes!=null &&
              java.util.Arrays.equals(this.documentTypes, other.getDocumentTypes()))) &&
            ((this.billOfLadingDocumentDetail==null && other.getBillOfLadingDocumentDetail()==null) || 
             (this.billOfLadingDocumentDetail!=null &&
              this.billOfLadingDocumentDetail.equals(other.getBillOfLadingDocumentDetail()))) &&
            ((this.freightBillingDocumentDetail==null && other.getFreightBillingDocumentDetail()==null) || 
             (this.freightBillingDocumentDetail!=null &&
              this.freightBillingDocumentDetail.equals(other.getFreightBillingDocumentDetail()))) &&
            ((this.signatureProofOfDeliveryDetail==null && other.getSignatureProofOfDeliveryDetail()==null) || 
             (this.signatureProofOfDeliveryDetail!=null &&
              this.signatureProofOfDeliveryDetail.equals(other.getSignatureProofOfDeliveryDetail())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy