
com.fedex.track.stub.TrackingDocumentEmailDetail Maven / Gradle / Ivy
The newest version!
/**
* TrackingDocumentEmailDetail.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 TrackingDocumentEmailDetail implements java.io.Serializable {
/* Specifies the recipients of the email. */
private com.fedex.track.stub.EMailDetail[] recipients;
/* Identifies the person initiating the email. */
private com.fedex.track.stub.EMailDetail sender;
/* This is the localization of the email content. */
private com.fedex.track.stub.Localization localization;
/* A message included in the body of the email. */
private java.lang.String personalMessage;
public TrackingDocumentEmailDetail() {
}
public TrackingDocumentEmailDetail(
com.fedex.track.stub.EMailDetail[] recipients,
com.fedex.track.stub.EMailDetail sender,
com.fedex.track.stub.Localization localization,
java.lang.String personalMessage) {
this.recipients = recipients;
this.sender = sender;
this.localization = localization;
this.personalMessage = personalMessage;
}
/**
* Gets the recipients value for this TrackingDocumentEmailDetail.
*
* @return recipients * Specifies the recipients of the email.
*/
public com.fedex.track.stub.EMailDetail[] getRecipients() {
return recipients;
}
/**
* Sets the recipients value for this TrackingDocumentEmailDetail.
*
* @param recipients * Specifies the recipients of the email.
*/
public void setRecipients(com.fedex.track.stub.EMailDetail[] recipients) {
this.recipients = recipients;
}
public com.fedex.track.stub.EMailDetail getRecipients(int i) {
return this.recipients[i];
}
public void setRecipients(int i, com.fedex.track.stub.EMailDetail _value) {
this.recipients[i] = _value;
}
/**
* Gets the sender value for this TrackingDocumentEmailDetail.
*
* @return sender * Identifies the person initiating the email.
*/
public com.fedex.track.stub.EMailDetail getSender() {
return sender;
}
/**
* Sets the sender value for this TrackingDocumentEmailDetail.
*
* @param sender * Identifies the person initiating the email.
*/
public void setSender(com.fedex.track.stub.EMailDetail sender) {
this.sender = sender;
}
/**
* Gets the localization value for this TrackingDocumentEmailDetail.
*
* @return localization * This is the localization of the email content.
*/
public com.fedex.track.stub.Localization getLocalization() {
return localization;
}
/**
* Sets the localization value for this TrackingDocumentEmailDetail.
*
* @param localization * This is the localization of the email content.
*/
public void setLocalization(com.fedex.track.stub.Localization localization) {
this.localization = localization;
}
/**
* Gets the personalMessage value for this TrackingDocumentEmailDetail.
*
* @return personalMessage * A message included in the body of the email.
*/
public java.lang.String getPersonalMessage() {
return personalMessage;
}
/**
* Sets the personalMessage value for this TrackingDocumentEmailDetail.
*
* @param personalMessage * A message included in the body of the email.
*/
public void setPersonalMessage(java.lang.String personalMessage) {
this.personalMessage = personalMessage;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TrackingDocumentEmailDetail)) return false;
TrackingDocumentEmailDetail other = (TrackingDocumentEmailDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.recipients==null && other.getRecipients()==null) ||
(this.recipients!=null &&
java.util.Arrays.equals(this.recipients, other.getRecipients()))) &&
((this.sender==null && other.getSender()==null) ||
(this.sender!=null &&
this.sender.equals(other.getSender()))) &&
((this.localization==null && other.getLocalization()==null) ||
(this.localization!=null &&
this.localization.equals(other.getLocalization()))) &&
((this.personalMessage==null && other.getPersonalMessage()==null) ||
(this.personalMessage!=null &&
this.personalMessage.equals(other.getPersonalMessage())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getRecipients() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy