
com.fedex.ship.stub.ValidatedHazardousCommodityDescription Maven / Gradle / Ivy
The newest version!
/**
* ValidatedHazardousCommodityDescription.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. For
* 201001 load, this is based on data from the FedEx Ground Hazardous
* Materials Shipping Guide.
*/
public class ValidatedHazardousCommodityDescription 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 java.lang.String packingInstructions;
private java.lang.String properShippingName;
/* Fully-expanded descriptive text for a hazardous commodity. */
private java.lang.String properShippingNameAndDescription;
private java.lang.String technicalName;
private java.lang.String hazardClass;
private java.lang.String[] subsidiaryClasses;
/* Coded indications for special requirements or constraints. */
private java.lang.String symbols;
private java.lang.String tunnelRestrictionCode;
private java.lang.String specialProvisions;
private com.fedex.ship.stub.HazardousCommodityAttributeType[] attributes;
private java.lang.String authorization;
private java.lang.String labelText;
public ValidatedHazardousCommodityDescription() {
}
public ValidatedHazardousCommodityDescription(
java.lang.String id,
org.apache.axis.types.NonNegativeInteger sequenceNumber,
com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup,
java.lang.String packingInstructions,
java.lang.String properShippingName,
java.lang.String properShippingNameAndDescription,
java.lang.String technicalName,
java.lang.String hazardClass,
java.lang.String[] subsidiaryClasses,
java.lang.String symbols,
java.lang.String tunnelRestrictionCode,
java.lang.String specialProvisions,
com.fedex.ship.stub.HazardousCommodityAttributeType[] attributes,
java.lang.String authorization,
java.lang.String labelText) {
this.id = id;
this.sequenceNumber = sequenceNumber;
this.packingGroup = packingGroup;
this.packingInstructions = packingInstructions;
this.properShippingName = properShippingName;
this.properShippingNameAndDescription = properShippingNameAndDescription;
this.technicalName = technicalName;
this.hazardClass = hazardClass;
this.subsidiaryClasses = subsidiaryClasses;
this.symbols = symbols;
this.tunnelRestrictionCode = tunnelRestrictionCode;
this.specialProvisions = specialProvisions;
this.attributes = attributes;
this.authorization = authorization;
this.labelText = labelText;
}
/**
* Gets the id value for this ValidatedHazardousCommodityDescription.
*
* @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 ValidatedHazardousCommodityDescription.
*
* @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 ValidatedHazardousCommodityDescription.
*
* @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 ValidatedHazardousCommodityDescription.
*
* @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 ValidatedHazardousCommodityDescription.
*
* @return packingGroup
*/
public com.fedex.ship.stub.HazardousCommodityPackingGroupType getPackingGroup() {
return packingGroup;
}
/**
* Sets the packingGroup value for this ValidatedHazardousCommodityDescription.
*
* @param packingGroup
*/
public void setPackingGroup(com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup) {
this.packingGroup = packingGroup;
}
/**
* Gets the packingInstructions value for this ValidatedHazardousCommodityDescription.
*
* @return packingInstructions
*/
public java.lang.String getPackingInstructions() {
return packingInstructions;
}
/**
* Sets the packingInstructions value for this ValidatedHazardousCommodityDescription.
*
* @param packingInstructions
*/
public void setPackingInstructions(java.lang.String packingInstructions) {
this.packingInstructions = packingInstructions;
}
/**
* Gets the properShippingName value for this ValidatedHazardousCommodityDescription.
*
* @return properShippingName
*/
public java.lang.String getProperShippingName() {
return properShippingName;
}
/**
* Sets the properShippingName value for this ValidatedHazardousCommodityDescription.
*
* @param properShippingName
*/
public void setProperShippingName(java.lang.String properShippingName) {
this.properShippingName = properShippingName;
}
/**
* Gets the properShippingNameAndDescription value for this ValidatedHazardousCommodityDescription.
*
* @return properShippingNameAndDescription * Fully-expanded descriptive text for a hazardous commodity.
*/
public java.lang.String getProperShippingNameAndDescription() {
return properShippingNameAndDescription;
}
/**
* Sets the properShippingNameAndDescription value for this ValidatedHazardousCommodityDescription.
*
* @param properShippingNameAndDescription * Fully-expanded descriptive text for a hazardous commodity.
*/
public void setProperShippingNameAndDescription(java.lang.String properShippingNameAndDescription) {
this.properShippingNameAndDescription = properShippingNameAndDescription;
}
/**
* Gets the technicalName value for this ValidatedHazardousCommodityDescription.
*
* @return technicalName
*/
public java.lang.String getTechnicalName() {
return technicalName;
}
/**
* Sets the technicalName value for this ValidatedHazardousCommodityDescription.
*
* @param technicalName
*/
public void setTechnicalName(java.lang.String technicalName) {
this.technicalName = technicalName;
}
/**
* Gets the hazardClass value for this ValidatedHazardousCommodityDescription.
*
* @return hazardClass
*/
public java.lang.String getHazardClass() {
return hazardClass;
}
/**
* Sets the hazardClass value for this ValidatedHazardousCommodityDescription.
*
* @param hazardClass
*/
public void setHazardClass(java.lang.String hazardClass) {
this.hazardClass = hazardClass;
}
/**
* Gets the subsidiaryClasses value for this ValidatedHazardousCommodityDescription.
*
* @return subsidiaryClasses
*/
public java.lang.String[] getSubsidiaryClasses() {
return subsidiaryClasses;
}
/**
* Sets the subsidiaryClasses value for this ValidatedHazardousCommodityDescription.
*
* @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 symbols value for this ValidatedHazardousCommodityDescription.
*
* @return symbols * Coded indications for special requirements or constraints.
*/
public java.lang.String getSymbols() {
return symbols;
}
/**
* Sets the symbols value for this ValidatedHazardousCommodityDescription.
*
* @param symbols * Coded indications for special requirements or constraints.
*/
public void setSymbols(java.lang.String symbols) {
this.symbols = symbols;
}
/**
* Gets the tunnelRestrictionCode value for this ValidatedHazardousCommodityDescription.
*
* @return tunnelRestrictionCode
*/
public java.lang.String getTunnelRestrictionCode() {
return tunnelRestrictionCode;
}
/**
* Sets the tunnelRestrictionCode value for this ValidatedHazardousCommodityDescription.
*
* @param tunnelRestrictionCode
*/
public void setTunnelRestrictionCode(java.lang.String tunnelRestrictionCode) {
this.tunnelRestrictionCode = tunnelRestrictionCode;
}
/**
* Gets the specialProvisions value for this ValidatedHazardousCommodityDescription.
*
* @return specialProvisions
*/
public java.lang.String getSpecialProvisions() {
return specialProvisions;
}
/**
* Sets the specialProvisions value for this ValidatedHazardousCommodityDescription.
*
* @param specialProvisions
*/
public void setSpecialProvisions(java.lang.String specialProvisions) {
this.specialProvisions = specialProvisions;
}
/**
* Gets the attributes value for this ValidatedHazardousCommodityDescription.
*
* @return attributes
*/
public com.fedex.ship.stub.HazardousCommodityAttributeType[] getAttributes() {
return attributes;
}
/**
* Sets the attributes value for this ValidatedHazardousCommodityDescription.
*
* @param attributes
*/
public void setAttributes(com.fedex.ship.stub.HazardousCommodityAttributeType[] attributes) {
this.attributes = attributes;
}
public com.fedex.ship.stub.HazardousCommodityAttributeType getAttributes(int i) {
return this.attributes[i];
}
public void setAttributes(int i, com.fedex.ship.stub.HazardousCommodityAttributeType _value) {
this.attributes[i] = _value;
}
/**
* Gets the authorization value for this ValidatedHazardousCommodityDescription.
*
* @return authorization
*/
public java.lang.String getAuthorization() {
return authorization;
}
/**
* Sets the authorization value for this ValidatedHazardousCommodityDescription.
*
* @param authorization
*/
public void setAuthorization(java.lang.String authorization) {
this.authorization = authorization;
}
/**
* Gets the labelText value for this ValidatedHazardousCommodityDescription.
*
* @return labelText
*/
public java.lang.String getLabelText() {
return labelText;
}
/**
* Sets the labelText value for this ValidatedHazardousCommodityDescription.
*
* @param labelText
*/
public void setLabelText(java.lang.String labelText) {
this.labelText = labelText;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ValidatedHazardousCommodityDescription)) return false;
ValidatedHazardousCommodityDescription other = (ValidatedHazardousCommodityDescription) 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.packingInstructions==null && other.getPackingInstructions()==null) ||
(this.packingInstructions!=null &&
this.packingInstructions.equals(other.getPackingInstructions()))) &&
((this.properShippingName==null && other.getProperShippingName()==null) ||
(this.properShippingName!=null &&
this.properShippingName.equals(other.getProperShippingName()))) &&
((this.properShippingNameAndDescription==null && other.getProperShippingNameAndDescription()==null) ||
(this.properShippingNameAndDescription!=null &&
this.properShippingNameAndDescription.equals(other.getProperShippingNameAndDescription()))) &&
((this.technicalName==null && other.getTechnicalName()==null) ||
(this.technicalName!=null &&
this.technicalName.equals(other.getTechnicalName()))) &&
((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.symbols==null && other.getSymbols()==null) ||
(this.symbols!=null &&
this.symbols.equals(other.getSymbols()))) &&
((this.tunnelRestrictionCode==null && other.getTunnelRestrictionCode()==null) ||
(this.tunnelRestrictionCode!=null &&
this.tunnelRestrictionCode.equals(other.getTunnelRestrictionCode()))) &&
((this.specialProvisions==null && other.getSpecialProvisions()==null) ||
(this.specialProvisions!=null &&
this.specialProvisions.equals(other.getSpecialProvisions()))) &&
((this.attributes==null && other.getAttributes()==null) ||
(this.attributes!=null &&
java.util.Arrays.equals(this.attributes, other.getAttributes()))) &&
((this.authorization==null && other.getAuthorization()==null) ||
(this.authorization!=null &&
this.authorization.equals(other.getAuthorization()))) &&
((this.labelText==null && other.getLabelText()==null) ||
(this.labelText!=null &&
this.labelText.equals(other.getLabelText())));
__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 (getPackingInstructions() != null) {
_hashCode += getPackingInstructions().hashCode();
}
if (getProperShippingName() != null) {
_hashCode += getProperShippingName().hashCode();
}
if (getProperShippingNameAndDescription() != null) {
_hashCode += getProperShippingNameAndDescription().hashCode();
}
if (getTechnicalName() != null) {
_hashCode += getTechnicalName().hashCode();
}
if (getHazardClass() != null) {
_hashCode += getHazardClass().hashCode();
}
if (getSubsidiaryClasses() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy