
com.fedex.ship.TrackStatusDetail Maven / Gradle / Ivy
The newest version!
/**
* TrackStatusDetail.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;
/**
* Specifies the details about the status of the track information
* for the shipments being tracked.
*/
public class TrackStatusDetail implements java.io.Serializable {
private java.util.Calendar creationTime;
private java.lang.String code;
private java.lang.String description;
private com.fedex.ship.Address location;
private com.fedex.ship.TrackStatusAncillaryDetail[] ancillaryDetails;
public TrackStatusDetail() {
}
public TrackStatusDetail(
java.util.Calendar creationTime,
java.lang.String code,
java.lang.String description,
com.fedex.ship.Address location,
com.fedex.ship.TrackStatusAncillaryDetail[] ancillaryDetails) {
this.creationTime = creationTime;
this.code = code;
this.description = description;
this.location = location;
this.ancillaryDetails = ancillaryDetails;
}
/**
* Gets the creationTime value for this TrackStatusDetail.
*
* @return creationTime
*/
public java.util.Calendar getCreationTime() {
return creationTime;
}
/**
* Sets the creationTime value for this TrackStatusDetail.
*
* @param creationTime
*/
public void setCreationTime(java.util.Calendar creationTime) {
this.creationTime = creationTime;
}
/**
* Gets the code value for this TrackStatusDetail.
*
* @return code
*/
public java.lang.String getCode() {
return code;
}
/**
* Sets the code value for this TrackStatusDetail.
*
* @param code
*/
public void setCode(java.lang.String code) {
this.code = code;
}
/**
* Gets the description value for this TrackStatusDetail.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this TrackStatusDetail.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the location value for this TrackStatusDetail.
*
* @return location
*/
public com.fedex.ship.Address getLocation() {
return location;
}
/**
* Sets the location value for this TrackStatusDetail.
*
* @param location
*/
public void setLocation(com.fedex.ship.Address location) {
this.location = location;
}
/**
* Gets the ancillaryDetails value for this TrackStatusDetail.
*
* @return ancillaryDetails
*/
public com.fedex.ship.TrackStatusAncillaryDetail[] getAncillaryDetails() {
return ancillaryDetails;
}
/**
* Sets the ancillaryDetails value for this TrackStatusDetail.
*
* @param ancillaryDetails
*/
public void setAncillaryDetails(com.fedex.ship.TrackStatusAncillaryDetail[] ancillaryDetails) {
this.ancillaryDetails = ancillaryDetails;
}
public com.fedex.ship.TrackStatusAncillaryDetail getAncillaryDetails(int i) {
return this.ancillaryDetails[i];
}
public void setAncillaryDetails(int i, com.fedex.ship.TrackStatusAncillaryDetail _value) {
this.ancillaryDetails[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TrackStatusDetail)) return false;
TrackStatusDetail other = (TrackStatusDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.creationTime==null && other.getCreationTime()==null) ||
(this.creationTime!=null &&
this.creationTime.equals(other.getCreationTime()))) &&
((this.code==null && other.getCode()==null) ||
(this.code!=null &&
this.code.equals(other.getCode()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.location==null && other.getLocation()==null) ||
(this.location!=null &&
this.location.equals(other.getLocation()))) &&
((this.ancillaryDetails==null && other.getAncillaryDetails()==null) ||
(this.ancillaryDetails!=null &&
java.util.Arrays.equals(this.ancillaryDetails, other.getAncillaryDetails())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCreationTime() != null) {
_hashCode += getCreationTime().hashCode();
}
if (getCode() != null) {
_hashCode += getCode().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
if (getLocation() != null) {
_hashCode += getLocation().hashCode();
}
if (getAncillaryDetails() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy