
com.fedex.ship.stub.HazardousCommodityDescription Maven / Gradle / Ivy
The newest version!
/**
* HazardousCommodityDescription.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;
/**
* Identifies and describes an individual hazardous commodity.
*/
public class HazardousCommodityDescription implements java.io.Serializable {
/* Regulatory identifier for a commodity (e.g. "UN ID" value). */
private java.lang.String id;
/* In conjunction with the regulatory identifier, this field uniquely
* identifies a specific hazardous materials commodity. */
private org.apache.axis.types.NonNegativeInteger sequenceNumber;
private com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup;
private com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails;
private java.lang.Boolean reportableQuantity;
private java.lang.String properShippingName;
private java.lang.String technicalName;
private java.math.BigDecimal percentage;
private java.lang.String hazardClass;
private java.lang.String[] subsidiaryClasses;
private java.lang.String labelText;
/* Indicates any special processing options to be applied to the
* description of the dangerous goods commodity. */
private com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions;
/* Information related to quantity limitations and operator or
* state variations as may be applicable to the dangerous goods commodity. */
private java.lang.String authorization;
public HazardousCommodityDescription() {
}
public HazardousCommodityDescription(
java.lang.String id,
org.apache.axis.types.NonNegativeInteger sequenceNumber,
com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup,
com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails,
java.lang.Boolean reportableQuantity,
java.lang.String properShippingName,
java.lang.String technicalName,
java.math.BigDecimal percentage,
java.lang.String hazardClass,
java.lang.String[] subsidiaryClasses,
java.lang.String labelText,
com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions,
java.lang.String authorization) {
this.id = id;
this.sequenceNumber = sequenceNumber;
this.packingGroup = packingGroup;
this.packingDetails = packingDetails;
this.reportableQuantity = reportableQuantity;
this.properShippingName = properShippingName;
this.technicalName = technicalName;
this.percentage = percentage;
this.hazardClass = hazardClass;
this.subsidiaryClasses = subsidiaryClasses;
this.labelText = labelText;
this.processingOptions = processingOptions;
this.authorization = authorization;
}
/**
* Gets the id value for this HazardousCommodityDescription.
*
* @return id * Regulatory identifier for a commodity (e.g. "UN ID" value).
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the id value for this HazardousCommodityDescription.
*
* @param id * Regulatory identifier for a commodity (e.g. "UN ID" value).
*/
public void setId(java.lang.String id) {
this.id = id;
}
/**
* Gets the sequenceNumber value for this HazardousCommodityDescription.
*
* @return sequenceNumber * In conjunction with the regulatory identifier, this field uniquely
* identifies a specific hazardous materials commodity.
*/
public org.apache.axis.types.NonNegativeInteger getSequenceNumber() {
return sequenceNumber;
}
/**
* Sets the sequenceNumber value for this HazardousCommodityDescription.
*
* @param sequenceNumber * In conjunction with the regulatory identifier, this field uniquely
* identifies a specific hazardous materials commodity.
*/
public void setSequenceNumber(org.apache.axis.types.NonNegativeInteger sequenceNumber) {
this.sequenceNumber = sequenceNumber;
}
/**
* Gets the packingGroup value for this HazardousCommodityDescription.
*
* @return packingGroup
*/
public com.fedex.ship.stub.HazardousCommodityPackingGroupType getPackingGroup() {
return packingGroup;
}
/**
* Sets the packingGroup value for this HazardousCommodityDescription.
*
* @param packingGroup
*/
public void setPackingGroup(com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup) {
this.packingGroup = packingGroup;
}
/**
* Gets the packingDetails value for this HazardousCommodityDescription.
*
* @return packingDetails
*/
public com.fedex.ship.stub.HazardousCommodityPackingDetail getPackingDetails() {
return packingDetails;
}
/**
* Sets the packingDetails value for this HazardousCommodityDescription.
*
* @param packingDetails
*/
public void setPackingDetails(com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails) {
this.packingDetails = packingDetails;
}
/**
* Gets the reportableQuantity value for this HazardousCommodityDescription.
*
* @return reportableQuantity
*/
public java.lang.Boolean getReportableQuantity() {
return reportableQuantity;
}
/**
* Sets the reportableQuantity value for this HazardousCommodityDescription.
*
* @param reportableQuantity
*/
public void setReportableQuantity(java.lang.Boolean reportableQuantity) {
this.reportableQuantity = reportableQuantity;
}
/**
* Gets the properShippingName value for this HazardousCommodityDescription.
*
* @return properShippingName
*/
public java.lang.String getProperShippingName() {
return properShippingName;
}
/**
* Sets the properShippingName value for this HazardousCommodityDescription.
*
* @param properShippingName
*/
public void setProperShippingName(java.lang.String properShippingName) {
this.properShippingName = properShippingName;
}
/**
* Gets the technicalName value for this HazardousCommodityDescription.
*
* @return technicalName
*/
public java.lang.String getTechnicalName() {
return technicalName;
}
/**
* Sets the technicalName value for this HazardousCommodityDescription.
*
* @param technicalName
*/
public void setTechnicalName(java.lang.String technicalName) {
this.technicalName = technicalName;
}
/**
* Gets the percentage value for this HazardousCommodityDescription.
*
* @return percentage
*/
public java.math.BigDecimal getPercentage() {
return percentage;
}
/**
* Sets the percentage value for this HazardousCommodityDescription.
*
* @param percentage
*/
public void setPercentage(java.math.BigDecimal percentage) {
this.percentage = percentage;
}
/**
* Gets the hazardClass value for this HazardousCommodityDescription.
*
* @return hazardClass
*/
public java.lang.String getHazardClass() {
return hazardClass;
}
/**
* Sets the hazardClass value for this HazardousCommodityDescription.
*
* @param hazardClass
*/
public void setHazardClass(java.lang.String hazardClass) {
this.hazardClass = hazardClass;
}
/**
* Gets the subsidiaryClasses value for this HazardousCommodityDescription.
*
* @return subsidiaryClasses
*/
public java.lang.String[] getSubsidiaryClasses() {
return subsidiaryClasses;
}
/**
* Sets the subsidiaryClasses value for this HazardousCommodityDescription.
*
* @param subsidiaryClasses
*/
public void setSubsidiaryClasses(java.lang.String[] subsidiaryClasses) {
this.subsidiaryClasses = subsidiaryClasses;
}
public java.lang.String getSubsidiaryClasses(int i) {
return this.subsidiaryClasses[i];
}
public void setSubsidiaryClasses(int i, java.lang.String _value) {
this.subsidiaryClasses[i] = _value;
}
/**
* Gets the labelText value for this HazardousCommodityDescription.
*
* @return labelText
*/
public java.lang.String getLabelText() {
return labelText;
}
/**
* Sets the labelText value for this HazardousCommodityDescription.
*
* @param labelText
*/
public void setLabelText(java.lang.String labelText) {
this.labelText = labelText;
}
/**
* Gets the processingOptions value for this HazardousCommodityDescription.
*
* @return processingOptions * Indicates any special processing options to be applied to the
* description of the dangerous goods commodity.
*/
public com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] getProcessingOptions() {
return processingOptions;
}
/**
* Sets the processingOptions value for this HazardousCommodityDescription.
*
* @param processingOptions * Indicates any special processing options to be applied to the
* description of the dangerous goods commodity.
*/
public void setProcessingOptions(com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions) {
this.processingOptions = processingOptions;
}
public com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType getProcessingOptions(int i) {
return this.processingOptions[i];
}
public void setProcessingOptions(int i, com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType _value) {
this.processingOptions[i] = _value;
}
/**
* Gets the authorization value for this HazardousCommodityDescription.
*
* @return authorization * Information related to quantity limitations and operator or
* state variations as may be applicable to the dangerous goods commodity.
*/
public java.lang.String getAuthorization() {
return authorization;
}
/**
* Sets the authorization value for this HazardousCommodityDescription.
*
* @param authorization * Information related to quantity limitations and operator or
* state variations as may be applicable to the dangerous goods commodity.
*/
public void setAuthorization(java.lang.String authorization) {
this.authorization = authorization;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof HazardousCommodityDescription)) return false;
HazardousCommodityDescription other = (HazardousCommodityDescription) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.sequenceNumber==null && other.getSequenceNumber()==null) ||
(this.sequenceNumber!=null &&
this.sequenceNumber.equals(other.getSequenceNumber()))) &&
((this.packingGroup==null && other.getPackingGroup()==null) ||
(this.packingGroup!=null &&
this.packingGroup.equals(other.getPackingGroup()))) &&
((this.packingDetails==null && other.getPackingDetails()==null) ||
(this.packingDetails!=null &&
this.packingDetails.equals(other.getPackingDetails()))) &&
((this.reportableQuantity==null && other.getReportableQuantity()==null) ||
(this.reportableQuantity!=null &&
this.reportableQuantity.equals(other.getReportableQuantity()))) &&
((this.properShippingName==null && other.getProperShippingName()==null) ||
(this.properShippingName!=null &&
this.properShippingName.equals(other.getProperShippingName()))) &&
((this.technicalName==null && other.getTechnicalName()==null) ||
(this.technicalName!=null &&
this.technicalName.equals(other.getTechnicalName()))) &&
((this.percentage==null && other.getPercentage()==null) ||
(this.percentage!=null &&
this.percentage.equals(other.getPercentage()))) &&
((this.hazardClass==null && other.getHazardClass()==null) ||
(this.hazardClass!=null &&
this.hazardClass.equals(other.getHazardClass()))) &&
((this.subsidiaryClasses==null && other.getSubsidiaryClasses()==null) ||
(this.subsidiaryClasses!=null &&
java.util.Arrays.equals(this.subsidiaryClasses, other.getSubsidiaryClasses()))) &&
((this.labelText==null && other.getLabelText()==null) ||
(this.labelText!=null &&
this.labelText.equals(other.getLabelText()))) &&
((this.processingOptions==null && other.getProcessingOptions()==null) ||
(this.processingOptions!=null &&
java.util.Arrays.equals(this.processingOptions, other.getProcessingOptions()))) &&
((this.authorization==null && other.getAuthorization()==null) ||
(this.authorization!=null &&
this.authorization.equals(other.getAuthorization())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getSequenceNumber() != null) {
_hashCode += getSequenceNumber().hashCode();
}
if (getPackingGroup() != null) {
_hashCode += getPackingGroup().hashCode();
}
if (getPackingDetails() != null) {
_hashCode += getPackingDetails().hashCode();
}
if (getReportableQuantity() != null) {
_hashCode += getReportableQuantity().hashCode();
}
if (getProperShippingName() != null) {
_hashCode += getProperShippingName().hashCode();
}
if (getTechnicalName() != null) {
_hashCode += getTechnicalName().hashCode();
}
if (getPercentage() != null) {
_hashCode += getPercentage().hashCode();
}
if (getHazardClass() != null) {
_hashCode += getHazardClass().hashCode();
}
if (getSubsidiaryClasses() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy