
com.fedex.track.stub.TrackReply Maven / Gradle / Ivy
The newest version!
/**
* TrackReply.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 TrackReply implements java.io.Serializable {
/* This contains the severity type of the most severe Notification
* in the Notifications array. */
private com.fedex.track.stub.NotificationSeverityType highestSeverity;
/* Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply. */
private com.fedex.track.stub.Notification[] notifications;
/* Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data. */
private com.fedex.track.stub.TransactionDetail transactionDetail;
/* Contains the version of the reply being used. */
private com.fedex.track.stub.VersionId version;
/* Contains detailed tracking entity information. */
private com.fedex.track.stub.CompletedTrackDetail[] completedTrackDetails;
public TrackReply() {
}
public TrackReply(
com.fedex.track.stub.NotificationSeverityType highestSeverity,
com.fedex.track.stub.Notification[] notifications,
com.fedex.track.stub.TransactionDetail transactionDetail,
com.fedex.track.stub.VersionId version,
com.fedex.track.stub.CompletedTrackDetail[] completedTrackDetails) {
this.highestSeverity = highestSeverity;
this.notifications = notifications;
this.transactionDetail = transactionDetail;
this.version = version;
this.completedTrackDetails = completedTrackDetails;
}
/**
* Gets the highestSeverity value for this TrackReply.
*
* @return highestSeverity * This contains the severity type of the most severe Notification
* in the Notifications array.
*/
public com.fedex.track.stub.NotificationSeverityType getHighestSeverity() {
return highestSeverity;
}
/**
* Sets the highestSeverity value for this TrackReply.
*
* @param highestSeverity * This contains the severity type of the most severe Notification
* in the Notifications array.
*/
public void setHighestSeverity(com.fedex.track.stub.NotificationSeverityType highestSeverity) {
this.highestSeverity = highestSeverity;
}
/**
* Gets the notifications value for this TrackReply.
*
* @return notifications * Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply.
*/
public com.fedex.track.stub.Notification[] getNotifications() {
return notifications;
}
/**
* Sets the notifications value for this TrackReply.
*
* @param notifications * Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply.
*/
public void setNotifications(com.fedex.track.stub.Notification[] notifications) {
this.notifications = notifications;
}
public com.fedex.track.stub.Notification getNotifications(int i) {
return this.notifications[i];
}
public void setNotifications(int i, com.fedex.track.stub.Notification _value) {
this.notifications[i] = _value;
}
/**
* Gets the transactionDetail value for this TrackReply.
*
* @return transactionDetail * Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data.
*/
public com.fedex.track.stub.TransactionDetail getTransactionDetail() {
return transactionDetail;
}
/**
* Sets the transactionDetail value for this TrackReply.
*
* @param transactionDetail * Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data.
*/
public void setTransactionDetail(com.fedex.track.stub.TransactionDetail transactionDetail) {
this.transactionDetail = transactionDetail;
}
/**
* Gets the version value for this TrackReply.
*
* @return version * Contains the version of the reply being used.
*/
public com.fedex.track.stub.VersionId getVersion() {
return version;
}
/**
* Sets the version value for this TrackReply.
*
* @param version * Contains the version of the reply being used.
*/
public void setVersion(com.fedex.track.stub.VersionId version) {
this.version = version;
}
/**
* Gets the completedTrackDetails value for this TrackReply.
*
* @return completedTrackDetails * Contains detailed tracking entity information.
*/
public com.fedex.track.stub.CompletedTrackDetail[] getCompletedTrackDetails() {
return completedTrackDetails;
}
/**
* Sets the completedTrackDetails value for this TrackReply.
*
* @param completedTrackDetails * Contains detailed tracking entity information.
*/
public void setCompletedTrackDetails(com.fedex.track.stub.CompletedTrackDetail[] completedTrackDetails) {
this.completedTrackDetails = completedTrackDetails;
}
public com.fedex.track.stub.CompletedTrackDetail getCompletedTrackDetails(int i) {
return this.completedTrackDetails[i];
}
public void setCompletedTrackDetails(int i, com.fedex.track.stub.CompletedTrackDetail _value) {
this.completedTrackDetails[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TrackReply)) return false;
TrackReply other = (TrackReply) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.highestSeverity==null && other.getHighestSeverity()==null) ||
(this.highestSeverity!=null &&
this.highestSeverity.equals(other.getHighestSeverity()))) &&
((this.notifications==null && other.getNotifications()==null) ||
(this.notifications!=null &&
java.util.Arrays.equals(this.notifications, other.getNotifications()))) &&
((this.transactionDetail==null && other.getTransactionDetail()==null) ||
(this.transactionDetail!=null &&
this.transactionDetail.equals(other.getTransactionDetail()))) &&
((this.version==null && other.getVersion()==null) ||
(this.version!=null &&
this.version.equals(other.getVersion()))) &&
((this.completedTrackDetails==null && other.getCompletedTrackDetails()==null) ||
(this.completedTrackDetails!=null &&
java.util.Arrays.equals(this.completedTrackDetails, other.getCompletedTrackDetails())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getHighestSeverity() != null) {
_hashCode += getHighestSeverity().hashCode();
}
if (getNotifications() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy