
com.fedex.ship.stub.RegulatoryLabelContentDetail Maven / Gradle / Ivy
The newest version!
/**
* RegulatoryLabelContentDetail.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;
/**
* Specifies details needed to generate any label artifacts required
* due to regulatory requirements.
*/
public class RegulatoryLabelContentDetail implements java.io.Serializable {
private com.fedex.ship.stub.RegulatoryLabelType type;
/* Specifies how the customer requested the regulatory label to
* be generated. */
private com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType[] generationOptions;
public RegulatoryLabelContentDetail() {
}
public RegulatoryLabelContentDetail(
com.fedex.ship.stub.RegulatoryLabelType type,
com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType[] generationOptions) {
this.type = type;
this.generationOptions = generationOptions;
}
/**
* Gets the type value for this RegulatoryLabelContentDetail.
*
* @return type
*/
public com.fedex.ship.stub.RegulatoryLabelType getType() {
return type;
}
/**
* Sets the type value for this RegulatoryLabelContentDetail.
*
* @param type
*/
public void setType(com.fedex.ship.stub.RegulatoryLabelType type) {
this.type = type;
}
/**
* Gets the generationOptions value for this RegulatoryLabelContentDetail.
*
* @return generationOptions * Specifies how the customer requested the regulatory label to
* be generated.
*/
public com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType[] getGenerationOptions() {
return generationOptions;
}
/**
* Sets the generationOptions value for this RegulatoryLabelContentDetail.
*
* @param generationOptions * Specifies how the customer requested the regulatory label to
* be generated.
*/
public void setGenerationOptions(com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType[] generationOptions) {
this.generationOptions = generationOptions;
}
public com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType getGenerationOptions(int i) {
return this.generationOptions[i];
}
public void setGenerationOptions(int i, com.fedex.ship.stub.CustomerSpecifiedLabelGenerationOptionType _value) {
this.generationOptions[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RegulatoryLabelContentDetail)) return false;
RegulatoryLabelContentDetail other = (RegulatoryLabelContentDetail) 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.generationOptions==null && other.getGenerationOptions()==null) ||
(this.generationOptions!=null &&
java.util.Arrays.equals(this.generationOptions, other.getGenerationOptions())));
__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 (getGenerationOptions() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy