
com.fedex.ship.stub.ShippingDocument Maven / Gradle / Ivy
The newest version!
/**
* ShippingDocument.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 ShippingDocument implements java.io.Serializable {
private com.fedex.ship.stub.ReturnedShippingDocumentType type;
/* The localizations are populated if multiple language versions
* of a shipping document are returned. */
private com.fedex.ship.stub.Localization[] localizations;
/* Specifies how this document image/file is organized. */
private com.fedex.ship.stub.ShippingDocumentGroupingType grouping;
private com.fedex.ship.stub.ShippingDocumentDispositionType shippingDocumentDisposition;
/* The name under which a STORED, DEFERRED or EMAILED document
* is written. */
private java.lang.String accessReference;
/* Specifies the image type of this shipping document. */
private com.fedex.ship.stub.ShippingDocumentImageType imageType;
/* Specifies the image resolution in DPI (dots per inch). */
private org.apache.axis.types.NonNegativeInteger resolution;
/* Can be zero for documents whose disposition implies that no
* content is included. */
private org.apache.axis.types.NonNegativeInteger copiesToPrint;
/* One or more document parts which make up a single logical document,
* such as multiple pages of a single form. */
private com.fedex.ship.stub.ShippingDocumentPart[] parts;
public ShippingDocument() {
}
public ShippingDocument(
com.fedex.ship.stub.ReturnedShippingDocumentType type,
com.fedex.ship.stub.Localization[] localizations,
com.fedex.ship.stub.ShippingDocumentGroupingType grouping,
com.fedex.ship.stub.ShippingDocumentDispositionType shippingDocumentDisposition,
java.lang.String accessReference,
com.fedex.ship.stub.ShippingDocumentImageType imageType,
org.apache.axis.types.NonNegativeInteger resolution,
org.apache.axis.types.NonNegativeInteger copiesToPrint,
com.fedex.ship.stub.ShippingDocumentPart[] parts) {
this.type = type;
this.localizations = localizations;
this.grouping = grouping;
this.shippingDocumentDisposition = shippingDocumentDisposition;
this.accessReference = accessReference;
this.imageType = imageType;
this.resolution = resolution;
this.copiesToPrint = copiesToPrint;
this.parts = parts;
}
/**
* Gets the type value for this ShippingDocument.
*
* @return type
*/
public com.fedex.ship.stub.ReturnedShippingDocumentType getType() {
return type;
}
/**
* Sets the type value for this ShippingDocument.
*
* @param type
*/
public void setType(com.fedex.ship.stub.ReturnedShippingDocumentType type) {
this.type = type;
}
/**
* Gets the localizations value for this ShippingDocument.
*
* @return localizations * The localizations are populated if multiple language versions
* of a shipping document are returned.
*/
public com.fedex.ship.stub.Localization[] getLocalizations() {
return localizations;
}
/**
* Sets the localizations value for this ShippingDocument.
*
* @param localizations * The localizations are populated if multiple language versions
* of a shipping document are returned.
*/
public void setLocalizations(com.fedex.ship.stub.Localization[] localizations) {
this.localizations = localizations;
}
public com.fedex.ship.stub.Localization getLocalizations(int i) {
return this.localizations[i];
}
public void setLocalizations(int i, com.fedex.ship.stub.Localization _value) {
this.localizations[i] = _value;
}
/**
* Gets the grouping value for this ShippingDocument.
*
* @return grouping * Specifies how this document image/file is organized.
*/
public com.fedex.ship.stub.ShippingDocumentGroupingType getGrouping() {
return grouping;
}
/**
* Sets the grouping value for this ShippingDocument.
*
* @param grouping * Specifies how this document image/file is organized.
*/
public void setGrouping(com.fedex.ship.stub.ShippingDocumentGroupingType grouping) {
this.grouping = grouping;
}
/**
* Gets the shippingDocumentDisposition value for this ShippingDocument.
*
* @return shippingDocumentDisposition
*/
public com.fedex.ship.stub.ShippingDocumentDispositionType getShippingDocumentDisposition() {
return shippingDocumentDisposition;
}
/**
* Sets the shippingDocumentDisposition value for this ShippingDocument.
*
* @param shippingDocumentDisposition
*/
public void setShippingDocumentDisposition(com.fedex.ship.stub.ShippingDocumentDispositionType shippingDocumentDisposition) {
this.shippingDocumentDisposition = shippingDocumentDisposition;
}
/**
* Gets the accessReference value for this ShippingDocument.
*
* @return accessReference * The name under which a STORED, DEFERRED or EMAILED document
* is written.
*/
public java.lang.String getAccessReference() {
return accessReference;
}
/**
* Sets the accessReference value for this ShippingDocument.
*
* @param accessReference * The name under which a STORED, DEFERRED or EMAILED document
* is written.
*/
public void setAccessReference(java.lang.String accessReference) {
this.accessReference = accessReference;
}
/**
* Gets the imageType value for this ShippingDocument.
*
* @return imageType * Specifies the image type of this shipping document.
*/
public com.fedex.ship.stub.ShippingDocumentImageType getImageType() {
return imageType;
}
/**
* Sets the imageType value for this ShippingDocument.
*
* @param imageType * Specifies the image type of this shipping document.
*/
public void setImageType(com.fedex.ship.stub.ShippingDocumentImageType imageType) {
this.imageType = imageType;
}
/**
* Gets the resolution value for this ShippingDocument.
*
* @return resolution * Specifies the image resolution in DPI (dots per inch).
*/
public org.apache.axis.types.NonNegativeInteger getResolution() {
return resolution;
}
/**
* Sets the resolution value for this ShippingDocument.
*
* @param resolution * Specifies the image resolution in DPI (dots per inch).
*/
public void setResolution(org.apache.axis.types.NonNegativeInteger resolution) {
this.resolution = resolution;
}
/**
* Gets the copiesToPrint value for this ShippingDocument.
*
* @return copiesToPrint * Can be zero for documents whose disposition implies that no
* content is included.
*/
public org.apache.axis.types.NonNegativeInteger getCopiesToPrint() {
return copiesToPrint;
}
/**
* Sets the copiesToPrint value for this ShippingDocument.
*
* @param copiesToPrint * Can be zero for documents whose disposition implies that no
* content is included.
*/
public void setCopiesToPrint(org.apache.axis.types.NonNegativeInteger copiesToPrint) {
this.copiesToPrint = copiesToPrint;
}
/**
* Gets the parts value for this ShippingDocument.
*
* @return parts * One or more document parts which make up a single logical document,
* such as multiple pages of a single form.
*/
public com.fedex.ship.stub.ShippingDocumentPart[] getParts() {
return parts;
}
/**
* Sets the parts value for this ShippingDocument.
*
* @param parts * One or more document parts which make up a single logical document,
* such as multiple pages of a single form.
*/
public void setParts(com.fedex.ship.stub.ShippingDocumentPart[] parts) {
this.parts = parts;
}
public com.fedex.ship.stub.ShippingDocumentPart getParts(int i) {
return this.parts[i];
}
public void setParts(int i, com.fedex.ship.stub.ShippingDocumentPart _value) {
this.parts[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShippingDocument)) return false;
ShippingDocument other = (ShippingDocument) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.type==null && other.getType()==null) ||
(this.type!=null &&
this.type.equals(other.getType()))) &&
((this.localizations==null && other.getLocalizations()==null) ||
(this.localizations!=null &&
java.util.Arrays.equals(this.localizations, other.getLocalizations()))) &&
((this.grouping==null && other.getGrouping()==null) ||
(this.grouping!=null &&
this.grouping.equals(other.getGrouping()))) &&
((this.shippingDocumentDisposition==null && other.getShippingDocumentDisposition()==null) ||
(this.shippingDocumentDisposition!=null &&
this.shippingDocumentDisposition.equals(other.getShippingDocumentDisposition()))) &&
((this.accessReference==null && other.getAccessReference()==null) ||
(this.accessReference!=null &&
this.accessReference.equals(other.getAccessReference()))) &&
((this.imageType==null && other.getImageType()==null) ||
(this.imageType!=null &&
this.imageType.equals(other.getImageType()))) &&
((this.resolution==null && other.getResolution()==null) ||
(this.resolution!=null &&
this.resolution.equals(other.getResolution()))) &&
((this.copiesToPrint==null && other.getCopiesToPrint()==null) ||
(this.copiesToPrint!=null &&
this.copiesToPrint.equals(other.getCopiesToPrint()))) &&
((this.parts==null && other.getParts()==null) ||
(this.parts!=null &&
java.util.Arrays.equals(this.parts, other.getParts())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getType() != null) {
_hashCode += getType().hashCode();
}
if (getLocalizations() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy