All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TransportHandlingUnitType Maven / Gradle / Ivy

//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11 
// Visite http://java.sun.com/xml/jaxb 
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen. 
// Generado el: 2021.03.22 a las 07:02:09 PM CET 
//


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DamageRemarksType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HandlingCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HandlingInstructionsType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.HazardousRiskIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ShippingMarksType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TotalGoodsItemQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TotalPackageQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TraceIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportHandlingUnitTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2.UBLExtensionsType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Clase Java para TransportHandlingUnitType complex type. * *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *

 * <complexType name="TransportHandlingUnitType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}UBLExtensions" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportHandlingUnitTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HandlingCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HandlingInstructions" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HazardousRiskIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalGoodsItemQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TotalPackageQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DamageRemarks" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ShippingMarks" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TraceID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}HandlingUnitDespatchLine" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ActualPackage" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReceivedHandlingUnitReceiptLine" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportEquipment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportMeans" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}HazardousGoodsTransit" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MinimumTemperature" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MaximumTemperature" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}GoodsItem" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}FloorSpaceMeasurementDimension" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PalletSpaceMeasurementDimension" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ShipmentDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Status" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CustomsDeclaration" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReferencedShipment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Package" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TransportHandlingUnitType", propOrder = { "ublExtensions", "id", "transportHandlingUnitTypeCode", "handlingCode", "handlingInstructions", "hazardousRiskIndicator", "totalGoodsItemQuantity", "totalPackageQuantity", "damageRemarks", "shippingMarks", "traceID", "handlingUnitDespatchLine", "actualPackage", "receivedHandlingUnitReceiptLine", "transportEquipment", "transportMeans", "hazardousGoodsTransit", "measurementDimension", "minimumTemperature", "maximumTemperature", "goodsItem", "floorSpaceMeasurementDimension", "palletSpaceMeasurementDimension", "shipmentDocumentReference", "status", "customsDeclaration", "referencedShipment", "_package" }) public class TransportHandlingUnitType implements Serializable, Equals2, HashCode2, ToString2 { private final static long serialVersionUID = 100L; @XmlElement(name = "UBLExtensions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2") protected UBLExtensionsType ublExtensions; @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected IDType id; @XmlElement(name = "TransportHandlingUnitTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TransportHandlingUnitTypeCodeType transportHandlingUnitTypeCode; @XmlElement(name = "HandlingCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HandlingCodeType handlingCode; @XmlElement(name = "HandlingInstructions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List handlingInstructions; @XmlElement(name = "HazardousRiskIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected HazardousRiskIndicatorType hazardousRiskIndicator; @XmlElement(name = "TotalGoodsItemQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TotalGoodsItemQuantityType totalGoodsItemQuantity; @XmlElement(name = "TotalPackageQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TotalPackageQuantityType totalPackageQuantity; @XmlElement(name = "DamageRemarks", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List damageRemarks; @XmlElement(name = "ShippingMarks", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List shippingMarks; @XmlElement(name = "TraceID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TraceIDType traceID; @XmlElement(name = "HandlingUnitDespatchLine") protected List handlingUnitDespatchLine; @XmlElement(name = "ActualPackage") protected List actualPackage; @XmlElement(name = "ReceivedHandlingUnitReceiptLine") protected List receivedHandlingUnitReceiptLine; @XmlElement(name = "TransportEquipment") protected List transportEquipment; @XmlElement(name = "TransportMeans") protected List transportMeans; @XmlElement(name = "HazardousGoodsTransit") protected List hazardousGoodsTransit; @XmlElement(name = "MeasurementDimension") protected List measurementDimension; @XmlElement(name = "MinimumTemperature") protected TemperatureType minimumTemperature; @XmlElement(name = "MaximumTemperature") protected TemperatureType maximumTemperature; @XmlElement(name = "GoodsItem") protected List goodsItem; @XmlElement(name = "FloorSpaceMeasurementDimension") protected DimensionType floorSpaceMeasurementDimension; @XmlElement(name = "PalletSpaceMeasurementDimension") protected DimensionType palletSpaceMeasurementDimension; @XmlElement(name = "ShipmentDocumentReference") protected List shipmentDocumentReference; @XmlElement(name = "Status") protected List status; @XmlElement(name = "CustomsDeclaration") protected List customsDeclaration; @XmlElement(name = "ReferencedShipment") protected List referencedShipment; @XmlElement(name = "Package") protected List _package; /** * Obtiene el valor de la propiedad ublExtensions. * * @return * possible object is * {@link UBLExtensionsType } * */ public UBLExtensionsType getUBLExtensions() { return ublExtensions; } /** * Define el valor de la propiedad ublExtensions. * * @param value * allowed object is * {@link UBLExtensionsType } * */ public void setUBLExtensions(UBLExtensionsType value) { this.ublExtensions = value; } /** * Obtiene el valor de la propiedad id. * * @return * possible object is * {@link IDType } * */ public IDType getID() { return id; } /** * Define el valor de la propiedad id. * * @param value * allowed object is * {@link IDType } * */ public void setID(IDType value) { this.id = value; } /** * Obtiene el valor de la propiedad transportHandlingUnitTypeCode. * * @return * possible object is * {@link TransportHandlingUnitTypeCodeType } * */ public TransportHandlingUnitTypeCodeType getTransportHandlingUnitTypeCode() { return transportHandlingUnitTypeCode; } /** * Define el valor de la propiedad transportHandlingUnitTypeCode. * * @param value * allowed object is * {@link TransportHandlingUnitTypeCodeType } * */ public void setTransportHandlingUnitTypeCode(TransportHandlingUnitTypeCodeType value) { this.transportHandlingUnitTypeCode = value; } /** * Obtiene el valor de la propiedad handlingCode. * * @return * possible object is * {@link HandlingCodeType } * */ public HandlingCodeType getHandlingCode() { return handlingCode; } /** * Define el valor de la propiedad handlingCode. * * @param value * allowed object is * {@link HandlingCodeType } * */ public void setHandlingCode(HandlingCodeType value) { this.handlingCode = value; } /** * Gets the value of the handlingInstructions property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the handlingInstructions property. * *

* For example, to add a new item, do as follows: *

     *    getHandlingInstructions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HandlingInstructionsType } * * */ public List getHandlingInstructions() { if (handlingInstructions == null) { handlingInstructions = new ArrayList(); } return this.handlingInstructions; } /** * Obtiene el valor de la propiedad hazardousRiskIndicator. * * @return * possible object is * {@link HazardousRiskIndicatorType } * */ public HazardousRiskIndicatorType getHazardousRiskIndicator() { return hazardousRiskIndicator; } /** * Define el valor de la propiedad hazardousRiskIndicator. * * @param value * allowed object is * {@link HazardousRiskIndicatorType } * */ public void setHazardousRiskIndicator(HazardousRiskIndicatorType value) { this.hazardousRiskIndicator = value; } /** * Obtiene el valor de la propiedad totalGoodsItemQuantity. * * @return * possible object is * {@link TotalGoodsItemQuantityType } * */ public TotalGoodsItemQuantityType getTotalGoodsItemQuantity() { return totalGoodsItemQuantity; } /** * Define el valor de la propiedad totalGoodsItemQuantity. * * @param value * allowed object is * {@link TotalGoodsItemQuantityType } * */ public void setTotalGoodsItemQuantity(TotalGoodsItemQuantityType value) { this.totalGoodsItemQuantity = value; } /** * Obtiene el valor de la propiedad totalPackageQuantity. * * @return * possible object is * {@link TotalPackageQuantityType } * */ public TotalPackageQuantityType getTotalPackageQuantity() { return totalPackageQuantity; } /** * Define el valor de la propiedad totalPackageQuantity. * * @param value * allowed object is * {@link TotalPackageQuantityType } * */ public void setTotalPackageQuantity(TotalPackageQuantityType value) { this.totalPackageQuantity = value; } /** * Gets the value of the damageRemarks property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the damageRemarks property. * *

* For example, to add a new item, do as follows: *

     *    getDamageRemarks().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DamageRemarksType } * * */ public List getDamageRemarks() { if (damageRemarks == null) { damageRemarks = new ArrayList(); } return this.damageRemarks; } /** * Gets the value of the shippingMarks property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the shippingMarks property. * *

* For example, to add a new item, do as follows: *

     *    getShippingMarks().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ShippingMarksType } * * */ public List getShippingMarks() { if (shippingMarks == null) { shippingMarks = new ArrayList(); } return this.shippingMarks; } /** * Obtiene el valor de la propiedad traceID. * * @return * possible object is * {@link TraceIDType } * */ public TraceIDType getTraceID() { return traceID; } /** * Define el valor de la propiedad traceID. * * @param value * allowed object is * {@link TraceIDType } * */ public void setTraceID(TraceIDType value) { this.traceID = value; } /** * Gets the value of the handlingUnitDespatchLine property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the handlingUnitDespatchLine property. * *

* For example, to add a new item, do as follows: *

     *    getHandlingUnitDespatchLine().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DespatchLineType } * * */ public List getHandlingUnitDespatchLine() { if (handlingUnitDespatchLine == null) { handlingUnitDespatchLine = new ArrayList(); } return this.handlingUnitDespatchLine; } /** * Gets the value of the actualPackage property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the actualPackage property. * *

* For example, to add a new item, do as follows: *

     *    getActualPackage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PackageType } * * */ public List getActualPackage() { if (actualPackage == null) { actualPackage = new ArrayList(); } return this.actualPackage; } /** * Gets the value of the receivedHandlingUnitReceiptLine property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the receivedHandlingUnitReceiptLine property. * *

* For example, to add a new item, do as follows: *

     *    getReceivedHandlingUnitReceiptLine().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ReceiptLineType } * * */ public List getReceivedHandlingUnitReceiptLine() { if (receivedHandlingUnitReceiptLine == null) { receivedHandlingUnitReceiptLine = new ArrayList(); } return this.receivedHandlingUnitReceiptLine; } /** * Gets the value of the transportEquipment property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the transportEquipment property. * *

* For example, to add a new item, do as follows: *

     *    getTransportEquipment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TransportEquipmentType } * * */ public List getTransportEquipment() { if (transportEquipment == null) { transportEquipment = new ArrayList(); } return this.transportEquipment; } /** * Gets the value of the transportMeans property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the transportMeans property. * *

* For example, to add a new item, do as follows: *

     *    getTransportMeans().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TransportMeansType } * * */ public List getTransportMeans() { if (transportMeans == null) { transportMeans = new ArrayList(); } return this.transportMeans; } /** * Gets the value of the hazardousGoodsTransit property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the hazardousGoodsTransit property. * *

* For example, to add a new item, do as follows: *

     *    getHazardousGoodsTransit().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HazardousGoodsTransitType } * * */ public List getHazardousGoodsTransit() { if (hazardousGoodsTransit == null) { hazardousGoodsTransit = new ArrayList(); } return this.hazardousGoodsTransit; } /** * Gets the value of the measurementDimension property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the measurementDimension property. * *

* For example, to add a new item, do as follows: *

     *    getMeasurementDimension().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DimensionType } * * */ public List getMeasurementDimension() { if (measurementDimension == null) { measurementDimension = new ArrayList(); } return this.measurementDimension; } /** * Obtiene el valor de la propiedad minimumTemperature. * * @return * possible object is * {@link TemperatureType } * */ public TemperatureType getMinimumTemperature() { return minimumTemperature; } /** * Define el valor de la propiedad minimumTemperature. * * @param value * allowed object is * {@link TemperatureType } * */ public void setMinimumTemperature(TemperatureType value) { this.minimumTemperature = value; } /** * Obtiene el valor de la propiedad maximumTemperature. * * @return * possible object is * {@link TemperatureType } * */ public TemperatureType getMaximumTemperature() { return maximumTemperature; } /** * Define el valor de la propiedad maximumTemperature. * * @param value * allowed object is * {@link TemperatureType } * */ public void setMaximumTemperature(TemperatureType value) { this.maximumTemperature = value; } /** * Gets the value of the goodsItem property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the goodsItem property. * *

* For example, to add a new item, do as follows: *

     *    getGoodsItem().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GoodsItemType } * * */ public List getGoodsItem() { if (goodsItem == null) { goodsItem = new ArrayList(); } return this.goodsItem; } /** * Obtiene el valor de la propiedad floorSpaceMeasurementDimension. * * @return * possible object is * {@link DimensionType } * */ public DimensionType getFloorSpaceMeasurementDimension() { return floorSpaceMeasurementDimension; } /** * Define el valor de la propiedad floorSpaceMeasurementDimension. * * @param value * allowed object is * {@link DimensionType } * */ public void setFloorSpaceMeasurementDimension(DimensionType value) { this.floorSpaceMeasurementDimension = value; } /** * Obtiene el valor de la propiedad palletSpaceMeasurementDimension. * * @return * possible object is * {@link DimensionType } * */ public DimensionType getPalletSpaceMeasurementDimension() { return palletSpaceMeasurementDimension; } /** * Define el valor de la propiedad palletSpaceMeasurementDimension. * * @param value * allowed object is * {@link DimensionType } * */ public void setPalletSpaceMeasurementDimension(DimensionType value) { this.palletSpaceMeasurementDimension = value; } /** * Gets the value of the shipmentDocumentReference property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the shipmentDocumentReference property. * *

* For example, to add a new item, do as follows: *

     *    getShipmentDocumentReference().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentReferenceType } * * */ public List getShipmentDocumentReference() { if (shipmentDocumentReference == null) { shipmentDocumentReference = new ArrayList(); } return this.shipmentDocumentReference; } /** * Gets the value of the status property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the status property. * *

* For example, to add a new item, do as follows: *

     *    getStatus().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StatusType } * * */ public List getStatus() { if (status == null) { status = new ArrayList(); } return this.status; } /** * Gets the value of the customsDeclaration property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the customsDeclaration property. * *

* For example, to add a new item, do as follows: *

     *    getCustomsDeclaration().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CustomsDeclarationType } * * */ public List getCustomsDeclaration() { if (customsDeclaration == null) { customsDeclaration = new ArrayList(); } return this.customsDeclaration; } /** * Gets the value of the referencedShipment property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the referencedShipment property. * *

* For example, to add a new item, do as follows: *

     *    getReferencedShipment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ShipmentType } * * */ public List getReferencedShipment() { if (referencedShipment == null) { referencedShipment = new ArrayList(); } return this.referencedShipment; } /** * Gets the value of the package property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the package property. * *

* For example, to add a new item, do as follows: *

     *    getPackage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PackageType } * * */ public List getPackage() { if (_package == null) { _package = new ArrayList(); } return this._package; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { UBLExtensionsType theUBLExtensions; theUBLExtensions = this.getUBLExtensions(); strategy.appendField(locator, this, "ublExtensions", buffer, theUBLExtensions, (this.ublExtensions!= null)); } { IDType theID; theID = this.getID(); strategy.appendField(locator, this, "id", buffer, theID, (this.id!= null)); } { TransportHandlingUnitTypeCodeType theTransportHandlingUnitTypeCode; theTransportHandlingUnitTypeCode = this.getTransportHandlingUnitTypeCode(); strategy.appendField(locator, this, "transportHandlingUnitTypeCode", buffer, theTransportHandlingUnitTypeCode, (this.transportHandlingUnitTypeCode!= null)); } { HandlingCodeType theHandlingCode; theHandlingCode = this.getHandlingCode(); strategy.appendField(locator, this, "handlingCode", buffer, theHandlingCode, (this.handlingCode!= null)); } { List theHandlingInstructions; theHandlingInstructions = (((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty()))?this.getHandlingInstructions():null); strategy.appendField(locator, this, "handlingInstructions", buffer, theHandlingInstructions, ((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty()))); } { HazardousRiskIndicatorType theHazardousRiskIndicator; theHazardousRiskIndicator = this.getHazardousRiskIndicator(); strategy.appendField(locator, this, "hazardousRiskIndicator", buffer, theHazardousRiskIndicator, (this.hazardousRiskIndicator!= null)); } { TotalGoodsItemQuantityType theTotalGoodsItemQuantity; theTotalGoodsItemQuantity = this.getTotalGoodsItemQuantity(); strategy.appendField(locator, this, "totalGoodsItemQuantity", buffer, theTotalGoodsItemQuantity, (this.totalGoodsItemQuantity!= null)); } { TotalPackageQuantityType theTotalPackageQuantity; theTotalPackageQuantity = this.getTotalPackageQuantity(); strategy.appendField(locator, this, "totalPackageQuantity", buffer, theTotalPackageQuantity, (this.totalPackageQuantity!= null)); } { List theDamageRemarks; theDamageRemarks = (((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty()))?this.getDamageRemarks():null); strategy.appendField(locator, this, "damageRemarks", buffer, theDamageRemarks, ((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty()))); } { List theShippingMarks; theShippingMarks = (((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty()))?this.getShippingMarks():null); strategy.appendField(locator, this, "shippingMarks", buffer, theShippingMarks, ((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty()))); } { TraceIDType theTraceID; theTraceID = this.getTraceID(); strategy.appendField(locator, this, "traceID", buffer, theTraceID, (this.traceID!= null)); } { List theHandlingUnitDespatchLine; theHandlingUnitDespatchLine = (((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty()))?this.getHandlingUnitDespatchLine():null); strategy.appendField(locator, this, "handlingUnitDespatchLine", buffer, theHandlingUnitDespatchLine, ((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty()))); } { List theActualPackage; theActualPackage = (((this.actualPackage!= null)&&(!this.actualPackage.isEmpty()))?this.getActualPackage():null); strategy.appendField(locator, this, "actualPackage", buffer, theActualPackage, ((this.actualPackage!= null)&&(!this.actualPackage.isEmpty()))); } { List theReceivedHandlingUnitReceiptLine; theReceivedHandlingUnitReceiptLine = (((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty()))?this.getReceivedHandlingUnitReceiptLine():null); strategy.appendField(locator, this, "receivedHandlingUnitReceiptLine", buffer, theReceivedHandlingUnitReceiptLine, ((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty()))); } { List theTransportEquipment; theTransportEquipment = (((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty()))?this.getTransportEquipment():null); strategy.appendField(locator, this, "transportEquipment", buffer, theTransportEquipment, ((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty()))); } { List theTransportMeans; theTransportMeans = (((this.transportMeans!= null)&&(!this.transportMeans.isEmpty()))?this.getTransportMeans():null); strategy.appendField(locator, this, "transportMeans", buffer, theTransportMeans, ((this.transportMeans!= null)&&(!this.transportMeans.isEmpty()))); } { List theHazardousGoodsTransit; theHazardousGoodsTransit = (((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty()))?this.getHazardousGoodsTransit():null); strategy.appendField(locator, this, "hazardousGoodsTransit", buffer, theHazardousGoodsTransit, ((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty()))); } { List theMeasurementDimension; theMeasurementDimension = (((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty()))?this.getMeasurementDimension():null); strategy.appendField(locator, this, "measurementDimension", buffer, theMeasurementDimension, ((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty()))); } { TemperatureType theMinimumTemperature; theMinimumTemperature = this.getMinimumTemperature(); strategy.appendField(locator, this, "minimumTemperature", buffer, theMinimumTemperature, (this.minimumTemperature!= null)); } { TemperatureType theMaximumTemperature; theMaximumTemperature = this.getMaximumTemperature(); strategy.appendField(locator, this, "maximumTemperature", buffer, theMaximumTemperature, (this.maximumTemperature!= null)); } { List theGoodsItem; theGoodsItem = (((this.goodsItem!= null)&&(!this.goodsItem.isEmpty()))?this.getGoodsItem():null); strategy.appendField(locator, this, "goodsItem", buffer, theGoodsItem, ((this.goodsItem!= null)&&(!this.goodsItem.isEmpty()))); } { DimensionType theFloorSpaceMeasurementDimension; theFloorSpaceMeasurementDimension = this.getFloorSpaceMeasurementDimension(); strategy.appendField(locator, this, "floorSpaceMeasurementDimension", buffer, theFloorSpaceMeasurementDimension, (this.floorSpaceMeasurementDimension!= null)); } { DimensionType thePalletSpaceMeasurementDimension; thePalletSpaceMeasurementDimension = this.getPalletSpaceMeasurementDimension(); strategy.appendField(locator, this, "palletSpaceMeasurementDimension", buffer, thePalletSpaceMeasurementDimension, (this.palletSpaceMeasurementDimension!= null)); } { List theShipmentDocumentReference; theShipmentDocumentReference = (((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty()))?this.getShipmentDocumentReference():null); strategy.appendField(locator, this, "shipmentDocumentReference", buffer, theShipmentDocumentReference, ((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty()))); } { List theStatus; theStatus = (((this.status!= null)&&(!this.status.isEmpty()))?this.getStatus():null); strategy.appendField(locator, this, "status", buffer, theStatus, ((this.status!= null)&&(!this.status.isEmpty()))); } { List theCustomsDeclaration; theCustomsDeclaration = (((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty()))?this.getCustomsDeclaration():null); strategy.appendField(locator, this, "customsDeclaration", buffer, theCustomsDeclaration, ((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty()))); } { List theReferencedShipment; theReferencedShipment = (((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty()))?this.getReferencedShipment():null); strategy.appendField(locator, this, "referencedShipment", buffer, theReferencedShipment, ((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty()))); } { List thePackage; thePackage = (((this._package!= null)&&(!this._package.isEmpty()))?this.getPackage():null); strategy.appendField(locator, this, "_package", buffer, thePackage, ((this._package!= null)&&(!this._package.isEmpty()))); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final TransportHandlingUnitType that = ((TransportHandlingUnitType) object); { UBLExtensionsType lhsUBLExtensions; lhsUBLExtensions = this.getUBLExtensions(); UBLExtensionsType rhsUBLExtensions; rhsUBLExtensions = that.getUBLExtensions(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ublExtensions", lhsUBLExtensions), LocatorUtils.property(thatLocator, "ublExtensions", rhsUBLExtensions), lhsUBLExtensions, rhsUBLExtensions, (this.ublExtensions!= null), (that.ublExtensions!= null))) { return false; } } { IDType lhsID; lhsID = this.getID(); IDType rhsID; rhsID = that.getID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsID), LocatorUtils.property(thatLocator, "id", rhsID), lhsID, rhsID, (this.id!= null), (that.id!= null))) { return false; } } { TransportHandlingUnitTypeCodeType lhsTransportHandlingUnitTypeCode; lhsTransportHandlingUnitTypeCode = this.getTransportHandlingUnitTypeCode(); TransportHandlingUnitTypeCodeType rhsTransportHandlingUnitTypeCode; rhsTransportHandlingUnitTypeCode = that.getTransportHandlingUnitTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "transportHandlingUnitTypeCode", lhsTransportHandlingUnitTypeCode), LocatorUtils.property(thatLocator, "transportHandlingUnitTypeCode", rhsTransportHandlingUnitTypeCode), lhsTransportHandlingUnitTypeCode, rhsTransportHandlingUnitTypeCode, (this.transportHandlingUnitTypeCode!= null), (that.transportHandlingUnitTypeCode!= null))) { return false; } } { HandlingCodeType lhsHandlingCode; lhsHandlingCode = this.getHandlingCode(); HandlingCodeType rhsHandlingCode; rhsHandlingCode = that.getHandlingCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "handlingCode", lhsHandlingCode), LocatorUtils.property(thatLocator, "handlingCode", rhsHandlingCode), lhsHandlingCode, rhsHandlingCode, (this.handlingCode!= null), (that.handlingCode!= null))) { return false; } } { List lhsHandlingInstructions; lhsHandlingInstructions = (((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty()))?this.getHandlingInstructions():null); List rhsHandlingInstructions; rhsHandlingInstructions = (((that.handlingInstructions!= null)&&(!that.handlingInstructions.isEmpty()))?that.getHandlingInstructions():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "handlingInstructions", lhsHandlingInstructions), LocatorUtils.property(thatLocator, "handlingInstructions", rhsHandlingInstructions), lhsHandlingInstructions, rhsHandlingInstructions, ((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty())), ((that.handlingInstructions!= null)&&(!that.handlingInstructions.isEmpty())))) { return false; } } { HazardousRiskIndicatorType lhsHazardousRiskIndicator; lhsHazardousRiskIndicator = this.getHazardousRiskIndicator(); HazardousRiskIndicatorType rhsHazardousRiskIndicator; rhsHazardousRiskIndicator = that.getHazardousRiskIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hazardousRiskIndicator", lhsHazardousRiskIndicator), LocatorUtils.property(thatLocator, "hazardousRiskIndicator", rhsHazardousRiskIndicator), lhsHazardousRiskIndicator, rhsHazardousRiskIndicator, (this.hazardousRiskIndicator!= null), (that.hazardousRiskIndicator!= null))) { return false; } } { TotalGoodsItemQuantityType lhsTotalGoodsItemQuantity; lhsTotalGoodsItemQuantity = this.getTotalGoodsItemQuantity(); TotalGoodsItemQuantityType rhsTotalGoodsItemQuantity; rhsTotalGoodsItemQuantity = that.getTotalGoodsItemQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalGoodsItemQuantity", lhsTotalGoodsItemQuantity), LocatorUtils.property(thatLocator, "totalGoodsItemQuantity", rhsTotalGoodsItemQuantity), lhsTotalGoodsItemQuantity, rhsTotalGoodsItemQuantity, (this.totalGoodsItemQuantity!= null), (that.totalGoodsItemQuantity!= null))) { return false; } } { TotalPackageQuantityType lhsTotalPackageQuantity; lhsTotalPackageQuantity = this.getTotalPackageQuantity(); TotalPackageQuantityType rhsTotalPackageQuantity; rhsTotalPackageQuantity = that.getTotalPackageQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalPackageQuantity", lhsTotalPackageQuantity), LocatorUtils.property(thatLocator, "totalPackageQuantity", rhsTotalPackageQuantity), lhsTotalPackageQuantity, rhsTotalPackageQuantity, (this.totalPackageQuantity!= null), (that.totalPackageQuantity!= null))) { return false; } } { List lhsDamageRemarks; lhsDamageRemarks = (((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty()))?this.getDamageRemarks():null); List rhsDamageRemarks; rhsDamageRemarks = (((that.damageRemarks!= null)&&(!that.damageRemarks.isEmpty()))?that.getDamageRemarks():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "damageRemarks", lhsDamageRemarks), LocatorUtils.property(thatLocator, "damageRemarks", rhsDamageRemarks), lhsDamageRemarks, rhsDamageRemarks, ((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty())), ((that.damageRemarks!= null)&&(!that.damageRemarks.isEmpty())))) { return false; } } { List lhsShippingMarks; lhsShippingMarks = (((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty()))?this.getShippingMarks():null); List rhsShippingMarks; rhsShippingMarks = (((that.shippingMarks!= null)&&(!that.shippingMarks.isEmpty()))?that.getShippingMarks():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "shippingMarks", lhsShippingMarks), LocatorUtils.property(thatLocator, "shippingMarks", rhsShippingMarks), lhsShippingMarks, rhsShippingMarks, ((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty())), ((that.shippingMarks!= null)&&(!that.shippingMarks.isEmpty())))) { return false; } } { TraceIDType lhsTraceID; lhsTraceID = this.getTraceID(); TraceIDType rhsTraceID; rhsTraceID = that.getTraceID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "traceID", lhsTraceID), LocatorUtils.property(thatLocator, "traceID", rhsTraceID), lhsTraceID, rhsTraceID, (this.traceID!= null), (that.traceID!= null))) { return false; } } { List lhsHandlingUnitDespatchLine; lhsHandlingUnitDespatchLine = (((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty()))?this.getHandlingUnitDespatchLine():null); List rhsHandlingUnitDespatchLine; rhsHandlingUnitDespatchLine = (((that.handlingUnitDespatchLine!= null)&&(!that.handlingUnitDespatchLine.isEmpty()))?that.getHandlingUnitDespatchLine():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "handlingUnitDespatchLine", lhsHandlingUnitDespatchLine), LocatorUtils.property(thatLocator, "handlingUnitDespatchLine", rhsHandlingUnitDespatchLine), lhsHandlingUnitDespatchLine, rhsHandlingUnitDespatchLine, ((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty())), ((that.handlingUnitDespatchLine!= null)&&(!that.handlingUnitDespatchLine.isEmpty())))) { return false; } } { List lhsActualPackage; lhsActualPackage = (((this.actualPackage!= null)&&(!this.actualPackage.isEmpty()))?this.getActualPackage():null); List rhsActualPackage; rhsActualPackage = (((that.actualPackage!= null)&&(!that.actualPackage.isEmpty()))?that.getActualPackage():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "actualPackage", lhsActualPackage), LocatorUtils.property(thatLocator, "actualPackage", rhsActualPackage), lhsActualPackage, rhsActualPackage, ((this.actualPackage!= null)&&(!this.actualPackage.isEmpty())), ((that.actualPackage!= null)&&(!that.actualPackage.isEmpty())))) { return false; } } { List lhsReceivedHandlingUnitReceiptLine; lhsReceivedHandlingUnitReceiptLine = (((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty()))?this.getReceivedHandlingUnitReceiptLine():null); List rhsReceivedHandlingUnitReceiptLine; rhsReceivedHandlingUnitReceiptLine = (((that.receivedHandlingUnitReceiptLine!= null)&&(!that.receivedHandlingUnitReceiptLine.isEmpty()))?that.getReceivedHandlingUnitReceiptLine():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedHandlingUnitReceiptLine", lhsReceivedHandlingUnitReceiptLine), LocatorUtils.property(thatLocator, "receivedHandlingUnitReceiptLine", rhsReceivedHandlingUnitReceiptLine), lhsReceivedHandlingUnitReceiptLine, rhsReceivedHandlingUnitReceiptLine, ((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty())), ((that.receivedHandlingUnitReceiptLine!= null)&&(!that.receivedHandlingUnitReceiptLine.isEmpty())))) { return false; } } { List lhsTransportEquipment; lhsTransportEquipment = (((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty()))?this.getTransportEquipment():null); List rhsTransportEquipment; rhsTransportEquipment = (((that.transportEquipment!= null)&&(!that.transportEquipment.isEmpty()))?that.getTransportEquipment():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "transportEquipment", lhsTransportEquipment), LocatorUtils.property(thatLocator, "transportEquipment", rhsTransportEquipment), lhsTransportEquipment, rhsTransportEquipment, ((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty())), ((that.transportEquipment!= null)&&(!that.transportEquipment.isEmpty())))) { return false; } } { List lhsTransportMeans; lhsTransportMeans = (((this.transportMeans!= null)&&(!this.transportMeans.isEmpty()))?this.getTransportMeans():null); List rhsTransportMeans; rhsTransportMeans = (((that.transportMeans!= null)&&(!that.transportMeans.isEmpty()))?that.getTransportMeans():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "transportMeans", lhsTransportMeans), LocatorUtils.property(thatLocator, "transportMeans", rhsTransportMeans), lhsTransportMeans, rhsTransportMeans, ((this.transportMeans!= null)&&(!this.transportMeans.isEmpty())), ((that.transportMeans!= null)&&(!that.transportMeans.isEmpty())))) { return false; } } { List lhsHazardousGoodsTransit; lhsHazardousGoodsTransit = (((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty()))?this.getHazardousGoodsTransit():null); List rhsHazardousGoodsTransit; rhsHazardousGoodsTransit = (((that.hazardousGoodsTransit!= null)&&(!that.hazardousGoodsTransit.isEmpty()))?that.getHazardousGoodsTransit():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "hazardousGoodsTransit", lhsHazardousGoodsTransit), LocatorUtils.property(thatLocator, "hazardousGoodsTransit", rhsHazardousGoodsTransit), lhsHazardousGoodsTransit, rhsHazardousGoodsTransit, ((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty())), ((that.hazardousGoodsTransit!= null)&&(!that.hazardousGoodsTransit.isEmpty())))) { return false; } } { List lhsMeasurementDimension; lhsMeasurementDimension = (((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty()))?this.getMeasurementDimension():null); List rhsMeasurementDimension; rhsMeasurementDimension = (((that.measurementDimension!= null)&&(!that.measurementDimension.isEmpty()))?that.getMeasurementDimension():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "measurementDimension", lhsMeasurementDimension), LocatorUtils.property(thatLocator, "measurementDimension", rhsMeasurementDimension), lhsMeasurementDimension, rhsMeasurementDimension, ((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty())), ((that.measurementDimension!= null)&&(!that.measurementDimension.isEmpty())))) { return false; } } { TemperatureType lhsMinimumTemperature; lhsMinimumTemperature = this.getMinimumTemperature(); TemperatureType rhsMinimumTemperature; rhsMinimumTemperature = that.getMinimumTemperature(); if (!strategy.equals(LocatorUtils.property(thisLocator, "minimumTemperature", lhsMinimumTemperature), LocatorUtils.property(thatLocator, "minimumTemperature", rhsMinimumTemperature), lhsMinimumTemperature, rhsMinimumTemperature, (this.minimumTemperature!= null), (that.minimumTemperature!= null))) { return false; } } { TemperatureType lhsMaximumTemperature; lhsMaximumTemperature = this.getMaximumTemperature(); TemperatureType rhsMaximumTemperature; rhsMaximumTemperature = that.getMaximumTemperature(); if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumTemperature", lhsMaximumTemperature), LocatorUtils.property(thatLocator, "maximumTemperature", rhsMaximumTemperature), lhsMaximumTemperature, rhsMaximumTemperature, (this.maximumTemperature!= null), (that.maximumTemperature!= null))) { return false; } } { List lhsGoodsItem; lhsGoodsItem = (((this.goodsItem!= null)&&(!this.goodsItem.isEmpty()))?this.getGoodsItem():null); List rhsGoodsItem; rhsGoodsItem = (((that.goodsItem!= null)&&(!that.goodsItem.isEmpty()))?that.getGoodsItem():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "goodsItem", lhsGoodsItem), LocatorUtils.property(thatLocator, "goodsItem", rhsGoodsItem), lhsGoodsItem, rhsGoodsItem, ((this.goodsItem!= null)&&(!this.goodsItem.isEmpty())), ((that.goodsItem!= null)&&(!that.goodsItem.isEmpty())))) { return false; } } { DimensionType lhsFloorSpaceMeasurementDimension; lhsFloorSpaceMeasurementDimension = this.getFloorSpaceMeasurementDimension(); DimensionType rhsFloorSpaceMeasurementDimension; rhsFloorSpaceMeasurementDimension = that.getFloorSpaceMeasurementDimension(); if (!strategy.equals(LocatorUtils.property(thisLocator, "floorSpaceMeasurementDimension", lhsFloorSpaceMeasurementDimension), LocatorUtils.property(thatLocator, "floorSpaceMeasurementDimension", rhsFloorSpaceMeasurementDimension), lhsFloorSpaceMeasurementDimension, rhsFloorSpaceMeasurementDimension, (this.floorSpaceMeasurementDimension!= null), (that.floorSpaceMeasurementDimension!= null))) { return false; } } { DimensionType lhsPalletSpaceMeasurementDimension; lhsPalletSpaceMeasurementDimension = this.getPalletSpaceMeasurementDimension(); DimensionType rhsPalletSpaceMeasurementDimension; rhsPalletSpaceMeasurementDimension = that.getPalletSpaceMeasurementDimension(); if (!strategy.equals(LocatorUtils.property(thisLocator, "palletSpaceMeasurementDimension", lhsPalletSpaceMeasurementDimension), LocatorUtils.property(thatLocator, "palletSpaceMeasurementDimension", rhsPalletSpaceMeasurementDimension), lhsPalletSpaceMeasurementDimension, rhsPalletSpaceMeasurementDimension, (this.palletSpaceMeasurementDimension!= null), (that.palletSpaceMeasurementDimension!= null))) { return false; } } { List lhsShipmentDocumentReference; lhsShipmentDocumentReference = (((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty()))?this.getShipmentDocumentReference():null); List rhsShipmentDocumentReference; rhsShipmentDocumentReference = (((that.shipmentDocumentReference!= null)&&(!that.shipmentDocumentReference.isEmpty()))?that.getShipmentDocumentReference():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipmentDocumentReference", lhsShipmentDocumentReference), LocatorUtils.property(thatLocator, "shipmentDocumentReference", rhsShipmentDocumentReference), lhsShipmentDocumentReference, rhsShipmentDocumentReference, ((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty())), ((that.shipmentDocumentReference!= null)&&(!that.shipmentDocumentReference.isEmpty())))) { return false; } } { List lhsStatus; lhsStatus = (((this.status!= null)&&(!this.status.isEmpty()))?this.getStatus():null); List rhsStatus; rhsStatus = (((that.status!= null)&&(!that.status.isEmpty()))?that.getStatus():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus, ((this.status!= null)&&(!this.status.isEmpty())), ((that.status!= null)&&(!that.status.isEmpty())))) { return false; } } { List lhsCustomsDeclaration; lhsCustomsDeclaration = (((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty()))?this.getCustomsDeclaration():null); List rhsCustomsDeclaration; rhsCustomsDeclaration = (((that.customsDeclaration!= null)&&(!that.customsDeclaration.isEmpty()))?that.getCustomsDeclaration():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "customsDeclaration", lhsCustomsDeclaration), LocatorUtils.property(thatLocator, "customsDeclaration", rhsCustomsDeclaration), lhsCustomsDeclaration, rhsCustomsDeclaration, ((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty())), ((that.customsDeclaration!= null)&&(!that.customsDeclaration.isEmpty())))) { return false; } } { List lhsReferencedShipment; lhsReferencedShipment = (((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty()))?this.getReferencedShipment():null); List rhsReferencedShipment; rhsReferencedShipment = (((that.referencedShipment!= null)&&(!that.referencedShipment.isEmpty()))?that.getReferencedShipment():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "referencedShipment", lhsReferencedShipment), LocatorUtils.property(thatLocator, "referencedShipment", rhsReferencedShipment), lhsReferencedShipment, rhsReferencedShipment, ((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty())), ((that.referencedShipment!= null)&&(!that.referencedShipment.isEmpty())))) { return false; } } { List lhsPackage; lhsPackage = (((this._package!= null)&&(!this._package.isEmpty()))?this.getPackage():null); List rhsPackage; rhsPackage = (((that._package!= null)&&(!that._package.isEmpty()))?that.getPackage():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "_package", lhsPackage), LocatorUtils.property(thatLocator, "_package", rhsPackage), lhsPackage, rhsPackage, ((this._package!= null)&&(!this._package.isEmpty())), ((that._package!= null)&&(!that._package.isEmpty())))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { UBLExtensionsType theUBLExtensions; theUBLExtensions = this.getUBLExtensions(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ublExtensions", theUBLExtensions), currentHashCode, theUBLExtensions, (this.ublExtensions!= null)); } { IDType theID; theID = this.getID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID, (this.id!= null)); } { TransportHandlingUnitTypeCodeType theTransportHandlingUnitTypeCode; theTransportHandlingUnitTypeCode = this.getTransportHandlingUnitTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transportHandlingUnitTypeCode", theTransportHandlingUnitTypeCode), currentHashCode, theTransportHandlingUnitTypeCode, (this.transportHandlingUnitTypeCode!= null)); } { HandlingCodeType theHandlingCode; theHandlingCode = this.getHandlingCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "handlingCode", theHandlingCode), currentHashCode, theHandlingCode, (this.handlingCode!= null)); } { List theHandlingInstructions; theHandlingInstructions = (((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty()))?this.getHandlingInstructions():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "handlingInstructions", theHandlingInstructions), currentHashCode, theHandlingInstructions, ((this.handlingInstructions!= null)&&(!this.handlingInstructions.isEmpty()))); } { HazardousRiskIndicatorType theHazardousRiskIndicator; theHazardousRiskIndicator = this.getHazardousRiskIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hazardousRiskIndicator", theHazardousRiskIndicator), currentHashCode, theHazardousRiskIndicator, (this.hazardousRiskIndicator!= null)); } { TotalGoodsItemQuantityType theTotalGoodsItemQuantity; theTotalGoodsItemQuantity = this.getTotalGoodsItemQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalGoodsItemQuantity", theTotalGoodsItemQuantity), currentHashCode, theTotalGoodsItemQuantity, (this.totalGoodsItemQuantity!= null)); } { TotalPackageQuantityType theTotalPackageQuantity; theTotalPackageQuantity = this.getTotalPackageQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalPackageQuantity", theTotalPackageQuantity), currentHashCode, theTotalPackageQuantity, (this.totalPackageQuantity!= null)); } { List theDamageRemarks; theDamageRemarks = (((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty()))?this.getDamageRemarks():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "damageRemarks", theDamageRemarks), currentHashCode, theDamageRemarks, ((this.damageRemarks!= null)&&(!this.damageRemarks.isEmpty()))); } { List theShippingMarks; theShippingMarks = (((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty()))?this.getShippingMarks():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shippingMarks", theShippingMarks), currentHashCode, theShippingMarks, ((this.shippingMarks!= null)&&(!this.shippingMarks.isEmpty()))); } { TraceIDType theTraceID; theTraceID = this.getTraceID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "traceID", theTraceID), currentHashCode, theTraceID, (this.traceID!= null)); } { List theHandlingUnitDespatchLine; theHandlingUnitDespatchLine = (((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty()))?this.getHandlingUnitDespatchLine():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "handlingUnitDespatchLine", theHandlingUnitDespatchLine), currentHashCode, theHandlingUnitDespatchLine, ((this.handlingUnitDespatchLine!= null)&&(!this.handlingUnitDespatchLine.isEmpty()))); } { List theActualPackage; theActualPackage = (((this.actualPackage!= null)&&(!this.actualPackage.isEmpty()))?this.getActualPackage():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actualPackage", theActualPackage), currentHashCode, theActualPackage, ((this.actualPackage!= null)&&(!this.actualPackage.isEmpty()))); } { List theReceivedHandlingUnitReceiptLine; theReceivedHandlingUnitReceiptLine = (((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty()))?this.getReceivedHandlingUnitReceiptLine():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedHandlingUnitReceiptLine", theReceivedHandlingUnitReceiptLine), currentHashCode, theReceivedHandlingUnitReceiptLine, ((this.receivedHandlingUnitReceiptLine!= null)&&(!this.receivedHandlingUnitReceiptLine.isEmpty()))); } { List theTransportEquipment; theTransportEquipment = (((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty()))?this.getTransportEquipment():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transportEquipment", theTransportEquipment), currentHashCode, theTransportEquipment, ((this.transportEquipment!= null)&&(!this.transportEquipment.isEmpty()))); } { List theTransportMeans; theTransportMeans = (((this.transportMeans!= null)&&(!this.transportMeans.isEmpty()))?this.getTransportMeans():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transportMeans", theTransportMeans), currentHashCode, theTransportMeans, ((this.transportMeans!= null)&&(!this.transportMeans.isEmpty()))); } { List theHazardousGoodsTransit; theHazardousGoodsTransit = (((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty()))?this.getHazardousGoodsTransit():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hazardousGoodsTransit", theHazardousGoodsTransit), currentHashCode, theHazardousGoodsTransit, ((this.hazardousGoodsTransit!= null)&&(!this.hazardousGoodsTransit.isEmpty()))); } { List theMeasurementDimension; theMeasurementDimension = (((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty()))?this.getMeasurementDimension():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "measurementDimension", theMeasurementDimension), currentHashCode, theMeasurementDimension, ((this.measurementDimension!= null)&&(!this.measurementDimension.isEmpty()))); } { TemperatureType theMinimumTemperature; theMinimumTemperature = this.getMinimumTemperature(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "minimumTemperature", theMinimumTemperature), currentHashCode, theMinimumTemperature, (this.minimumTemperature!= null)); } { TemperatureType theMaximumTemperature; theMaximumTemperature = this.getMaximumTemperature(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumTemperature", theMaximumTemperature), currentHashCode, theMaximumTemperature, (this.maximumTemperature!= null)); } { List theGoodsItem; theGoodsItem = (((this.goodsItem!= null)&&(!this.goodsItem.isEmpty()))?this.getGoodsItem():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "goodsItem", theGoodsItem), currentHashCode, theGoodsItem, ((this.goodsItem!= null)&&(!this.goodsItem.isEmpty()))); } { DimensionType theFloorSpaceMeasurementDimension; theFloorSpaceMeasurementDimension = this.getFloorSpaceMeasurementDimension(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "floorSpaceMeasurementDimension", theFloorSpaceMeasurementDimension), currentHashCode, theFloorSpaceMeasurementDimension, (this.floorSpaceMeasurementDimension!= null)); } { DimensionType thePalletSpaceMeasurementDimension; thePalletSpaceMeasurementDimension = this.getPalletSpaceMeasurementDimension(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "palletSpaceMeasurementDimension", thePalletSpaceMeasurementDimension), currentHashCode, thePalletSpaceMeasurementDimension, (this.palletSpaceMeasurementDimension!= null)); } { List theShipmentDocumentReference; theShipmentDocumentReference = (((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty()))?this.getShipmentDocumentReference():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipmentDocumentReference", theShipmentDocumentReference), currentHashCode, theShipmentDocumentReference, ((this.shipmentDocumentReference!= null)&&(!this.shipmentDocumentReference.isEmpty()))); } { List theStatus; theStatus = (((this.status!= null)&&(!this.status.isEmpty()))?this.getStatus():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus, ((this.status!= null)&&(!this.status.isEmpty()))); } { List theCustomsDeclaration; theCustomsDeclaration = (((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty()))?this.getCustomsDeclaration():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customsDeclaration", theCustomsDeclaration), currentHashCode, theCustomsDeclaration, ((this.customsDeclaration!= null)&&(!this.customsDeclaration.isEmpty()))); } { List theReferencedShipment; theReferencedShipment = (((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty()))?this.getReferencedShipment():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referencedShipment", theReferencedShipment), currentHashCode, theReferencedShipment, ((this.referencedShipment!= null)&&(!this.referencedShipment.isEmpty()))); } { List thePackage; thePackage = (((this._package!= null)&&(!this._package.isEmpty()))?this.getPackage():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "_package", thePackage), currentHashCode, thePackage, ((this._package!= null)&&(!this._package.isEmpty()))); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy