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

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

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

public class EMailLabelDetail  implements java.io.Serializable {
    /* Content of the email message. */
    private java.lang.String message;

    private com.fedex.ship.stub.EMailRecipient[] recipients;

    public EMailLabelDetail() {
    }

    public EMailLabelDetail(
           java.lang.String message,
           com.fedex.ship.stub.EMailRecipient[] recipients) {
           this.message = message;
           this.recipients = recipients;
    }


    /**
     * Gets the message value for this EMailLabelDetail.
     * 
     * @return message   * Content of the email message.
     */
    public java.lang.String getMessage() {
        return message;
    }


    /**
     * Sets the message value for this EMailLabelDetail.
     * 
     * @param message   * Content of the email message.
     */
    public void setMessage(java.lang.String message) {
        this.message = message;
    }


    /**
     * Gets the recipients value for this EMailLabelDetail.
     * 
     * @return recipients
     */
    public com.fedex.ship.stub.EMailRecipient[] getRecipients() {
        return recipients;
    }


    /**
     * Sets the recipients value for this EMailLabelDetail.
     * 
     * @param recipients
     */
    public void setRecipients(com.fedex.ship.stub.EMailRecipient[] recipients) {
        this.recipients = recipients;
    }

    public com.fedex.ship.stub.EMailRecipient getRecipients(int i) {
        return this.recipients[i];
    }

    public void setRecipients(int i, com.fedex.ship.stub.EMailRecipient _value) {
        this.recipients[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof EMailLabelDetail)) return false;
        EMailLabelDetail other = (EMailLabelDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.message==null && other.getMessage()==null) || 
             (this.message!=null &&
              this.message.equals(other.getMessage()))) &&
            ((this.recipients==null && other.getRecipients()==null) || 
             (this.recipients!=null &&
              java.util.Arrays.equals(this.recipients, other.getRecipients())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy