
com.fedex.ship.stub.CustomerSpecifiedLabelDetail Maven / Gradle / Ivy
The newest version!
/**
* CustomerSpecifiedLabelDetail.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;
/**
* Allows customer-specified control of label content.
*/
public class CustomerSpecifiedLabelDetail implements java.io.Serializable {
/* If omitted, no doc tab will be produced (i.e. default is former
* NONE type). */
private com.fedex.ship.stub.DocTabContent docTabContent;
/* Controls the position of the customer specified content relative
* to the FedEx portion. */
private com.fedex.ship.stub.RelativeVerticalPositionType customContentPosition;
private com.fedex.ship.stub.CustomLabelDetail customContent;
private com.fedex.ship.stub.ConfigurableLabelReferenceEntry[] configurableReferenceEntries;
/* Controls which data/sections will be suppressed. */
private com.fedex.ship.stub.LabelMaskableDataType[] maskedData;
/* For customers producing their own Ground labels, this field
* specifies which secondary barcode will be printed on the label; so
* that the primary barcode produced by FedEx has the correct SCNC. */
private com.fedex.ship.stub.SecondaryBarcodeType secondaryBarcode;
private com.fedex.ship.stub.Localization termsAndConditionsLocalization;
private com.fedex.ship.stub.RegulatoryLabelContentDetail[] regulatoryLabels;
/* Controls the number of additional copies of supplemental labels. */
private com.fedex.ship.stub.AdditionalLabelsDetail[] additionalLabels;
/* This value reduces the default quantity of destination/consignee
* air waybill labels. A value of zero indicates no change to default.
* A minimum of one copy will always be produced. */
private org.apache.axis.types.NonNegativeInteger airWaybillSuppressionCount;
public CustomerSpecifiedLabelDetail() {
}
public CustomerSpecifiedLabelDetail(
com.fedex.ship.stub.DocTabContent docTabContent,
com.fedex.ship.stub.RelativeVerticalPositionType customContentPosition,
com.fedex.ship.stub.CustomLabelDetail customContent,
com.fedex.ship.stub.ConfigurableLabelReferenceEntry[] configurableReferenceEntries,
com.fedex.ship.stub.LabelMaskableDataType[] maskedData,
com.fedex.ship.stub.SecondaryBarcodeType secondaryBarcode,
com.fedex.ship.stub.Localization termsAndConditionsLocalization,
com.fedex.ship.stub.RegulatoryLabelContentDetail[] regulatoryLabels,
com.fedex.ship.stub.AdditionalLabelsDetail[] additionalLabels,
org.apache.axis.types.NonNegativeInteger airWaybillSuppressionCount) {
this.docTabContent = docTabContent;
this.customContentPosition = customContentPosition;
this.customContent = customContent;
this.configurableReferenceEntries = configurableReferenceEntries;
this.maskedData = maskedData;
this.secondaryBarcode = secondaryBarcode;
this.termsAndConditionsLocalization = termsAndConditionsLocalization;
this.regulatoryLabels = regulatoryLabels;
this.additionalLabels = additionalLabels;
this.airWaybillSuppressionCount = airWaybillSuppressionCount;
}
/**
* Gets the docTabContent value for this CustomerSpecifiedLabelDetail.
*
* @return docTabContent * If omitted, no doc tab will be produced (i.e. default is former
* NONE type).
*/
public com.fedex.ship.stub.DocTabContent getDocTabContent() {
return docTabContent;
}
/**
* Sets the docTabContent value for this CustomerSpecifiedLabelDetail.
*
* @param docTabContent * If omitted, no doc tab will be produced (i.e. default is former
* NONE type).
*/
public void setDocTabContent(com.fedex.ship.stub.DocTabContent docTabContent) {
this.docTabContent = docTabContent;
}
/**
* Gets the customContentPosition value for this CustomerSpecifiedLabelDetail.
*
* @return customContentPosition * Controls the position of the customer specified content relative
* to the FedEx portion.
*/
public com.fedex.ship.stub.RelativeVerticalPositionType getCustomContentPosition() {
return customContentPosition;
}
/**
* Sets the customContentPosition value for this CustomerSpecifiedLabelDetail.
*
* @param customContentPosition * Controls the position of the customer specified content relative
* to the FedEx portion.
*/
public void setCustomContentPosition(com.fedex.ship.stub.RelativeVerticalPositionType customContentPosition) {
this.customContentPosition = customContentPosition;
}
/**
* Gets the customContent value for this CustomerSpecifiedLabelDetail.
*
* @return customContent
*/
public com.fedex.ship.stub.CustomLabelDetail getCustomContent() {
return customContent;
}
/**
* Sets the customContent value for this CustomerSpecifiedLabelDetail.
*
* @param customContent
*/
public void setCustomContent(com.fedex.ship.stub.CustomLabelDetail customContent) {
this.customContent = customContent;
}
/**
* Gets the configurableReferenceEntries value for this CustomerSpecifiedLabelDetail.
*
* @return configurableReferenceEntries
*/
public com.fedex.ship.stub.ConfigurableLabelReferenceEntry[] getConfigurableReferenceEntries() {
return configurableReferenceEntries;
}
/**
* Sets the configurableReferenceEntries value for this CustomerSpecifiedLabelDetail.
*
* @param configurableReferenceEntries
*/
public void setConfigurableReferenceEntries(com.fedex.ship.stub.ConfigurableLabelReferenceEntry[] configurableReferenceEntries) {
this.configurableReferenceEntries = configurableReferenceEntries;
}
public com.fedex.ship.stub.ConfigurableLabelReferenceEntry getConfigurableReferenceEntries(int i) {
return this.configurableReferenceEntries[i];
}
public void setConfigurableReferenceEntries(int i, com.fedex.ship.stub.ConfigurableLabelReferenceEntry _value) {
this.configurableReferenceEntries[i] = _value;
}
/**
* Gets the maskedData value for this CustomerSpecifiedLabelDetail.
*
* @return maskedData * Controls which data/sections will be suppressed.
*/
public com.fedex.ship.stub.LabelMaskableDataType[] getMaskedData() {
return maskedData;
}
/**
* Sets the maskedData value for this CustomerSpecifiedLabelDetail.
*
* @param maskedData * Controls which data/sections will be suppressed.
*/
public void setMaskedData(com.fedex.ship.stub.LabelMaskableDataType[] maskedData) {
this.maskedData = maskedData;
}
public com.fedex.ship.stub.LabelMaskableDataType getMaskedData(int i) {
return this.maskedData[i];
}
public void setMaskedData(int i, com.fedex.ship.stub.LabelMaskableDataType _value) {
this.maskedData[i] = _value;
}
/**
* Gets the secondaryBarcode value for this CustomerSpecifiedLabelDetail.
*
* @return secondaryBarcode * For customers producing their own Ground labels, this field
* specifies which secondary barcode will be printed on the label; so
* that the primary barcode produced by FedEx has the correct SCNC.
*/
public com.fedex.ship.stub.SecondaryBarcodeType getSecondaryBarcode() {
return secondaryBarcode;
}
/**
* Sets the secondaryBarcode value for this CustomerSpecifiedLabelDetail.
*
* @param secondaryBarcode * For customers producing their own Ground labels, this field
* specifies which secondary barcode will be printed on the label; so
* that the primary barcode produced by FedEx has the correct SCNC.
*/
public void setSecondaryBarcode(com.fedex.ship.stub.SecondaryBarcodeType secondaryBarcode) {
this.secondaryBarcode = secondaryBarcode;
}
/**
* Gets the termsAndConditionsLocalization value for this CustomerSpecifiedLabelDetail.
*
* @return termsAndConditionsLocalization
*/
public com.fedex.ship.stub.Localization getTermsAndConditionsLocalization() {
return termsAndConditionsLocalization;
}
/**
* Sets the termsAndConditionsLocalization value for this CustomerSpecifiedLabelDetail.
*
* @param termsAndConditionsLocalization
*/
public void setTermsAndConditionsLocalization(com.fedex.ship.stub.Localization termsAndConditionsLocalization) {
this.termsAndConditionsLocalization = termsAndConditionsLocalization;
}
/**
* Gets the regulatoryLabels value for this CustomerSpecifiedLabelDetail.
*
* @return regulatoryLabels
*/
public com.fedex.ship.stub.RegulatoryLabelContentDetail[] getRegulatoryLabels() {
return regulatoryLabels;
}
/**
* Sets the regulatoryLabels value for this CustomerSpecifiedLabelDetail.
*
* @param regulatoryLabels
*/
public void setRegulatoryLabels(com.fedex.ship.stub.RegulatoryLabelContentDetail[] regulatoryLabels) {
this.regulatoryLabels = regulatoryLabels;
}
public com.fedex.ship.stub.RegulatoryLabelContentDetail getRegulatoryLabels(int i) {
return this.regulatoryLabels[i];
}
public void setRegulatoryLabels(int i, com.fedex.ship.stub.RegulatoryLabelContentDetail _value) {
this.regulatoryLabels[i] = _value;
}
/**
* Gets the additionalLabels value for this CustomerSpecifiedLabelDetail.
*
* @return additionalLabels * Controls the number of additional copies of supplemental labels.
*/
public com.fedex.ship.stub.AdditionalLabelsDetail[] getAdditionalLabels() {
return additionalLabels;
}
/**
* Sets the additionalLabels value for this CustomerSpecifiedLabelDetail.
*
* @param additionalLabels * Controls the number of additional copies of supplemental labels.
*/
public void setAdditionalLabels(com.fedex.ship.stub.AdditionalLabelsDetail[] additionalLabels) {
this.additionalLabels = additionalLabels;
}
public com.fedex.ship.stub.AdditionalLabelsDetail getAdditionalLabels(int i) {
return this.additionalLabels[i];
}
public void setAdditionalLabels(int i, com.fedex.ship.stub.AdditionalLabelsDetail _value) {
this.additionalLabels[i] = _value;
}
/**
* Gets the airWaybillSuppressionCount value for this CustomerSpecifiedLabelDetail.
*
* @return airWaybillSuppressionCount * This value reduces the default quantity of destination/consignee
* air waybill labels. A value of zero indicates no change to default.
* A minimum of one copy will always be produced.
*/
public org.apache.axis.types.NonNegativeInteger getAirWaybillSuppressionCount() {
return airWaybillSuppressionCount;
}
/**
* Sets the airWaybillSuppressionCount value for this CustomerSpecifiedLabelDetail.
*
* @param airWaybillSuppressionCount * This value reduces the default quantity of destination/consignee
* air waybill labels. A value of zero indicates no change to default.
* A minimum of one copy will always be produced.
*/
public void setAirWaybillSuppressionCount(org.apache.axis.types.NonNegativeInteger airWaybillSuppressionCount) {
this.airWaybillSuppressionCount = airWaybillSuppressionCount;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CustomerSpecifiedLabelDetail)) return false;
CustomerSpecifiedLabelDetail other = (CustomerSpecifiedLabelDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.docTabContent==null && other.getDocTabContent()==null) ||
(this.docTabContent!=null &&
this.docTabContent.equals(other.getDocTabContent()))) &&
((this.customContentPosition==null && other.getCustomContentPosition()==null) ||
(this.customContentPosition!=null &&
this.customContentPosition.equals(other.getCustomContentPosition()))) &&
((this.customContent==null && other.getCustomContent()==null) ||
(this.customContent!=null &&
this.customContent.equals(other.getCustomContent()))) &&
((this.configurableReferenceEntries==null && other.getConfigurableReferenceEntries()==null) ||
(this.configurableReferenceEntries!=null &&
java.util.Arrays.equals(this.configurableReferenceEntries, other.getConfigurableReferenceEntries()))) &&
((this.maskedData==null && other.getMaskedData()==null) ||
(this.maskedData!=null &&
java.util.Arrays.equals(this.maskedData, other.getMaskedData()))) &&
((this.secondaryBarcode==null && other.getSecondaryBarcode()==null) ||
(this.secondaryBarcode!=null &&
this.secondaryBarcode.equals(other.getSecondaryBarcode()))) &&
((this.termsAndConditionsLocalization==null && other.getTermsAndConditionsLocalization()==null) ||
(this.termsAndConditionsLocalization!=null &&
this.termsAndConditionsLocalization.equals(other.getTermsAndConditionsLocalization()))) &&
((this.regulatoryLabels==null && other.getRegulatoryLabels()==null) ||
(this.regulatoryLabels!=null &&
java.util.Arrays.equals(this.regulatoryLabels, other.getRegulatoryLabels()))) &&
((this.additionalLabels==null && other.getAdditionalLabels()==null) ||
(this.additionalLabels!=null &&
java.util.Arrays.equals(this.additionalLabels, other.getAdditionalLabels()))) &&
((this.airWaybillSuppressionCount==null && other.getAirWaybillSuppressionCount()==null) ||
(this.airWaybillSuppressionCount!=null &&
this.airWaybillSuppressionCount.equals(other.getAirWaybillSuppressionCount())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getDocTabContent() != null) {
_hashCode += getDocTabContent().hashCode();
}
if (getCustomContentPosition() != null) {
_hashCode += getCustomContentPosition().hashCode();
}
if (getCustomContent() != null) {
_hashCode += getCustomContent().hashCode();
}
if (getConfigurableReferenceEntries() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy