
com.fedex.ship.stub.LabelSpecification Maven / Gradle / Ivy
The newest version!
/**
* LabelSpecification.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 LabelSpecification implements java.io.Serializable {
/* Specifies how to create, organize, and return the document. */
private com.fedex.ship.stub.ShippingDocumentDispositionDetail[] dispositions;
private com.fedex.ship.stub.LabelFormatType labelFormatType;
private com.fedex.ship.stub.ShippingDocumentImageType imageType;
private com.fedex.ship.stub.LabelStockType labelStockType;
private com.fedex.ship.stub.LabelPrintingOrientationType labelPrintingOrientation;
/* Specifies the order in which the labels are requested to be
* returned */
private com.fedex.ship.stub.LabelOrderType labelOrder;
private com.fedex.ship.stub.ContactAndAddress printedLabelOrigin;
private com.fedex.ship.stub.CustomerSpecifiedLabelDetail customerSpecifiedDetail;
public LabelSpecification() {
}
public LabelSpecification(
com.fedex.ship.stub.ShippingDocumentDispositionDetail[] dispositions,
com.fedex.ship.stub.LabelFormatType labelFormatType,
com.fedex.ship.stub.ShippingDocumentImageType imageType,
com.fedex.ship.stub.LabelStockType labelStockType,
com.fedex.ship.stub.LabelPrintingOrientationType labelPrintingOrientation,
com.fedex.ship.stub.LabelOrderType labelOrder,
com.fedex.ship.stub.ContactAndAddress printedLabelOrigin,
com.fedex.ship.stub.CustomerSpecifiedLabelDetail customerSpecifiedDetail) {
this.dispositions = dispositions;
this.labelFormatType = labelFormatType;
this.imageType = imageType;
this.labelStockType = labelStockType;
this.labelPrintingOrientation = labelPrintingOrientation;
this.labelOrder = labelOrder;
this.printedLabelOrigin = printedLabelOrigin;
this.customerSpecifiedDetail = customerSpecifiedDetail;
}
/**
* Gets the dispositions value for this LabelSpecification.
*
* @return dispositions * Specifies how to create, organize, and return the document.
*/
public com.fedex.ship.stub.ShippingDocumentDispositionDetail[] getDispositions() {
return dispositions;
}
/**
* Sets the dispositions value for this LabelSpecification.
*
* @param dispositions * Specifies how to create, organize, and return the document.
*/
public void setDispositions(com.fedex.ship.stub.ShippingDocumentDispositionDetail[] dispositions) {
this.dispositions = dispositions;
}
public com.fedex.ship.stub.ShippingDocumentDispositionDetail getDispositions(int i) {
return this.dispositions[i];
}
public void setDispositions(int i, com.fedex.ship.stub.ShippingDocumentDispositionDetail _value) {
this.dispositions[i] = _value;
}
/**
* Gets the labelFormatType value for this LabelSpecification.
*
* @return labelFormatType
*/
public com.fedex.ship.stub.LabelFormatType getLabelFormatType() {
return labelFormatType;
}
/**
* Sets the labelFormatType value for this LabelSpecification.
*
* @param labelFormatType
*/
public void setLabelFormatType(com.fedex.ship.stub.LabelFormatType labelFormatType) {
this.labelFormatType = labelFormatType;
}
/**
* Gets the imageType value for this LabelSpecification.
*
* @return imageType
*/
public com.fedex.ship.stub.ShippingDocumentImageType getImageType() {
return imageType;
}
/**
* Sets the imageType value for this LabelSpecification.
*
* @param imageType
*/
public void setImageType(com.fedex.ship.stub.ShippingDocumentImageType imageType) {
this.imageType = imageType;
}
/**
* Gets the labelStockType value for this LabelSpecification.
*
* @return labelStockType
*/
public com.fedex.ship.stub.LabelStockType getLabelStockType() {
return labelStockType;
}
/**
* Sets the labelStockType value for this LabelSpecification.
*
* @param labelStockType
*/
public void setLabelStockType(com.fedex.ship.stub.LabelStockType labelStockType) {
this.labelStockType = labelStockType;
}
/**
* Gets the labelPrintingOrientation value for this LabelSpecification.
*
* @return labelPrintingOrientation
*/
public com.fedex.ship.stub.LabelPrintingOrientationType getLabelPrintingOrientation() {
return labelPrintingOrientation;
}
/**
* Sets the labelPrintingOrientation value for this LabelSpecification.
*
* @param labelPrintingOrientation
*/
public void setLabelPrintingOrientation(com.fedex.ship.stub.LabelPrintingOrientationType labelPrintingOrientation) {
this.labelPrintingOrientation = labelPrintingOrientation;
}
/**
* Gets the labelOrder value for this LabelSpecification.
*
* @return labelOrder * Specifies the order in which the labels are requested to be
* returned
*/
public com.fedex.ship.stub.LabelOrderType getLabelOrder() {
return labelOrder;
}
/**
* Sets the labelOrder value for this LabelSpecification.
*
* @param labelOrder * Specifies the order in which the labels are requested to be
* returned
*/
public void setLabelOrder(com.fedex.ship.stub.LabelOrderType labelOrder) {
this.labelOrder = labelOrder;
}
/**
* Gets the printedLabelOrigin value for this LabelSpecification.
*
* @return printedLabelOrigin
*/
public com.fedex.ship.stub.ContactAndAddress getPrintedLabelOrigin() {
return printedLabelOrigin;
}
/**
* Sets the printedLabelOrigin value for this LabelSpecification.
*
* @param printedLabelOrigin
*/
public void setPrintedLabelOrigin(com.fedex.ship.stub.ContactAndAddress printedLabelOrigin) {
this.printedLabelOrigin = printedLabelOrigin;
}
/**
* Gets the customerSpecifiedDetail value for this LabelSpecification.
*
* @return customerSpecifiedDetail
*/
public com.fedex.ship.stub.CustomerSpecifiedLabelDetail getCustomerSpecifiedDetail() {
return customerSpecifiedDetail;
}
/**
* Sets the customerSpecifiedDetail value for this LabelSpecification.
*
* @param customerSpecifiedDetail
*/
public void setCustomerSpecifiedDetail(com.fedex.ship.stub.CustomerSpecifiedLabelDetail customerSpecifiedDetail) {
this.customerSpecifiedDetail = customerSpecifiedDetail;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LabelSpecification)) return false;
LabelSpecification other = (LabelSpecification) 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.labelFormatType==null && other.getLabelFormatType()==null) ||
(this.labelFormatType!=null &&
this.labelFormatType.equals(other.getLabelFormatType()))) &&
((this.imageType==null && other.getImageType()==null) ||
(this.imageType!=null &&
this.imageType.equals(other.getImageType()))) &&
((this.labelStockType==null && other.getLabelStockType()==null) ||
(this.labelStockType!=null &&
this.labelStockType.equals(other.getLabelStockType()))) &&
((this.labelPrintingOrientation==null && other.getLabelPrintingOrientation()==null) ||
(this.labelPrintingOrientation!=null &&
this.labelPrintingOrientation.equals(other.getLabelPrintingOrientation()))) &&
((this.labelOrder==null && other.getLabelOrder()==null) ||
(this.labelOrder!=null &&
this.labelOrder.equals(other.getLabelOrder()))) &&
((this.printedLabelOrigin==null && other.getPrintedLabelOrigin()==null) ||
(this.printedLabelOrigin!=null &&
this.printedLabelOrigin.equals(other.getPrintedLabelOrigin()))) &&
((this.customerSpecifiedDetail==null && other.getCustomerSpecifiedDetail()==null) ||
(this.customerSpecifiedDetail!=null &&
this.customerSpecifiedDetail.equals(other.getCustomerSpecifiedDetail())));
__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