
com.fedex.track.stub.TrackingDocumentFormat Maven / Gradle / Ivy
The newest version!
/**
* TrackingDocumentFormat.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 TrackingDocumentFormat implements java.io.Serializable {
private com.fedex.track.stub.TrackingDocumentDispositionDetail[] dispositions;
private com.fedex.track.stub.TrackingDocumentGroupingType grouping;
private com.fedex.track.stub.TrackingDocumentImageType imageType;
/* The localization for the generated document. */
private com.fedex.track.stub.Localization localization;
public TrackingDocumentFormat() {
}
public TrackingDocumentFormat(
com.fedex.track.stub.TrackingDocumentDispositionDetail[] dispositions,
com.fedex.track.stub.TrackingDocumentGroupingType grouping,
com.fedex.track.stub.TrackingDocumentImageType imageType,
com.fedex.track.stub.Localization localization) {
this.dispositions = dispositions;
this.grouping = grouping;
this.imageType = imageType;
this.localization = localization;
}
/**
* Gets the dispositions value for this TrackingDocumentFormat.
*
* @return dispositions
*/
public com.fedex.track.stub.TrackingDocumentDispositionDetail[] getDispositions() {
return dispositions;
}
/**
* Sets the dispositions value for this TrackingDocumentFormat.
*
* @param dispositions
*/
public void setDispositions(com.fedex.track.stub.TrackingDocumentDispositionDetail[] dispositions) {
this.dispositions = dispositions;
}
public com.fedex.track.stub.TrackingDocumentDispositionDetail getDispositions(int i) {
return this.dispositions[i];
}
public void setDispositions(int i, com.fedex.track.stub.TrackingDocumentDispositionDetail _value) {
this.dispositions[i] = _value;
}
/**
* Gets the grouping value for this TrackingDocumentFormat.
*
* @return grouping
*/
public com.fedex.track.stub.TrackingDocumentGroupingType getGrouping() {
return grouping;
}
/**
* Sets the grouping value for this TrackingDocumentFormat.
*
* @param grouping
*/
public void setGrouping(com.fedex.track.stub.TrackingDocumentGroupingType grouping) {
this.grouping = grouping;
}
/**
* Gets the imageType value for this TrackingDocumentFormat.
*
* @return imageType
*/
public com.fedex.track.stub.TrackingDocumentImageType getImageType() {
return imageType;
}
/**
* Sets the imageType value for this TrackingDocumentFormat.
*
* @param imageType
*/
public void setImageType(com.fedex.track.stub.TrackingDocumentImageType imageType) {
this.imageType = imageType;
}
/**
* Gets the localization value for this TrackingDocumentFormat.
*
* @return localization * The localization for the generated document.
*/
public com.fedex.track.stub.Localization getLocalization() {
return localization;
}
/**
* Sets the localization value for this TrackingDocumentFormat.
*
* @param localization * The localization for the generated document.
*/
public void setLocalization(com.fedex.track.stub.Localization localization) {
this.localization = localization;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TrackingDocumentFormat)) return false;
TrackingDocumentFormat other = (TrackingDocumentFormat) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.dispositions==null && other.getDispositions()==null) ||
(this.dispositions!=null &&
java.util.Arrays.equals(this.dispositions, other.getDispositions()))) &&
((this.grouping==null && other.getGrouping()==null) ||
(this.grouping!=null &&
this.grouping.equals(other.getGrouping()))) &&
((this.imageType==null && other.getImageType()==null) ||
(this.imageType!=null &&
this.imageType.equals(other.getImageType()))) &&
((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 (getDispositions() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy