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

com.fedex.ship.stub.ShippingDocumentEMailDetail Maven / Gradle / Ivy

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


/**
 * Specifies how to e-mail shipping documents.
 */
public class ShippingDocumentEMailDetail  implements java.io.Serializable {
    /* Provides the roles and email addresses for e-mail recipients. */
    private com.fedex.ship.stub.ShippingDocumentEMailRecipient[] EMailRecipients;

    /* Identifies the convention by which documents are to be grouped
     * as e-mail attachments. */
    private com.fedex.ship.stub.ShippingDocumentEMailGroupingType grouping;

    /* Specifies the language in which the email containing the document
     * is requested to be composed. */
    private com.fedex.ship.stub.Localization localization;

    public ShippingDocumentEMailDetail() {
    }

    public ShippingDocumentEMailDetail(
           com.fedex.ship.stub.ShippingDocumentEMailRecipient[] EMailRecipients,
           com.fedex.ship.stub.ShippingDocumentEMailGroupingType grouping,
           com.fedex.ship.stub.Localization localization) {
           this.EMailRecipients = EMailRecipients;
           this.grouping = grouping;
           this.localization = localization;
    }


    /**
     * Gets the EMailRecipients value for this ShippingDocumentEMailDetail.
     * 
     * @return EMailRecipients   * Provides the roles and email addresses for e-mail recipients.
     */
    public com.fedex.ship.stub.ShippingDocumentEMailRecipient[] getEMailRecipients() {
        return EMailRecipients;
    }


    /**
     * Sets the EMailRecipients value for this ShippingDocumentEMailDetail.
     * 
     * @param EMailRecipients   * Provides the roles and email addresses for e-mail recipients.
     */
    public void setEMailRecipients(com.fedex.ship.stub.ShippingDocumentEMailRecipient[] EMailRecipients) {
        this.EMailRecipients = EMailRecipients;
    }

    public com.fedex.ship.stub.ShippingDocumentEMailRecipient getEMailRecipients(int i) {
        return this.EMailRecipients[i];
    }

    public void setEMailRecipients(int i, com.fedex.ship.stub.ShippingDocumentEMailRecipient _value) {
        this.EMailRecipients[i] = _value;
    }


    /**
     * Gets the grouping value for this ShippingDocumentEMailDetail.
     * 
     * @return grouping   * Identifies the convention by which documents are to be grouped
     * as e-mail attachments.
     */
    public com.fedex.ship.stub.ShippingDocumentEMailGroupingType getGrouping() {
        return grouping;
    }


    /**
     * Sets the grouping value for this ShippingDocumentEMailDetail.
     * 
     * @param grouping   * Identifies the convention by which documents are to be grouped
     * as e-mail attachments.
     */
    public void setGrouping(com.fedex.ship.stub.ShippingDocumentEMailGroupingType grouping) {
        this.grouping = grouping;
    }


    /**
     * Gets the localization value for this ShippingDocumentEMailDetail.
     * 
     * @return localization   * Specifies the language in which the email containing the document
     * is requested to be composed.
     */
    public com.fedex.ship.stub.Localization getLocalization() {
        return localization;
    }


    /**
     * Sets the localization value for this ShippingDocumentEMailDetail.
     * 
     * @param localization   * Specifies the language in which the email containing the document
     * is requested to be composed.
     */
    public void setLocalization(com.fedex.ship.stub.Localization localization) {
        this.localization = localization;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof ShippingDocumentEMailDetail)) return false;
        ShippingDocumentEMailDetail other = (ShippingDocumentEMailDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.EMailRecipients==null && other.getEMailRecipients()==null) || 
             (this.EMailRecipients!=null &&
              java.util.Arrays.equals(this.EMailRecipients, other.getEMailRecipients()))) &&
            ((this.grouping==null && other.getGrouping()==null) || 
             (this.grouping!=null &&
              this.grouping.equals(other.getGrouping()))) &&
            ((this.localization==null && other.getLocalization()==null) || 
             (this.localization!=null &&
              this.localization.equals(other.getLocalization())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy