Class ShipmentType


  • public class ShipmentType
    extends Object

    Java class for ShipmentType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ShipmentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ShippingPriorityLevelCode" 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}Information" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}GrossWeightMeasure" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NetWeightMeasure" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NetNetWeightMeasure" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}GrossVolumeMeasure" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NetVolumeMeasure" 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}TotalTransportHandlingUnitQuantity" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InsuranceValueAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeclaredCustomsValueAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeclaredForCarriageValueAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeclaredStatisticsValueAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FreeOnBoardValueAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SpecialInstructions" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeliveryInstructions" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SplitConsignmentIndicator" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsignmentQuantity" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Consignment" maxOccurs="unbounded" 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}ShipmentStage" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Delivery" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportHandlingUnit" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReturnAddress" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OriginAddress" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}FirstArrivalPortLocation" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LastExitPortLocation" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ExportCountry" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}FreightAllowanceCharge" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ShipmentType

        public ShipmentType()
    • Method Detail

      • getID

        public IDType getID()
        Gets the value of the id property.
        Returns:
        possible object is IDType
      • setID

        public void setID​(IDType value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is IDType
      • setHandlingCode

        public void setHandlingCode​(HandlingCodeType value)
        Sets the value of the handlingCode property.
        Parameters:
        value - allowed object is HandlingCodeType
      • getHandlingInstructions

        public List<HandlingInstructionsType> getHandlingInstructions()
        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 HandlingInstructionsType

      • getInformation

        public List<InformationType> getInformation()
        Gets the value of the information 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 information property.

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

            getInformation().add(newItem);
         

        Objects of the following type(s) are allowed in the list InformationType

      • getSpecialInstructions

        public List<SpecialInstructionsType> getSpecialInstructions()
        Gets the value of the specialInstructions 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 specialInstructions property.

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

            getSpecialInstructions().add(newItem);
         

        Objects of the following type(s) are allowed in the list SpecialInstructionsType

      • getDeliveryInstructions

        public List<DeliveryInstructionsType> getDeliveryInstructions()
        Gets the value of the deliveryInstructions 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 deliveryInstructions property.

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

            getDeliveryInstructions().add(newItem);
         

        Objects of the following type(s) are allowed in the list DeliveryInstructionsType

      • getConsignment

        public List<ConsignmentType> getConsignment()
        Gets the value of the consignment 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 consignment property.

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

            getConsignment().add(newItem);
         

        Objects of the following type(s) are allowed in the list ConsignmentType

      • getGoodsItem

        public List<GoodsItemType> getGoodsItem()
        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 GoodsItemType

      • getShipmentStage

        public List<ShipmentStageType> getShipmentStage()
        Gets the value of the shipmentStage 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 shipmentStage property.

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

            getShipmentStage().add(newItem);
         

        Objects of the following type(s) are allowed in the list ShipmentStageType

      • getDelivery

        public DeliveryType getDelivery()
        Gets the value of the delivery property.
        Returns:
        possible object is DeliveryType
      • setDelivery

        public void setDelivery​(DeliveryType value)
        Sets the value of the delivery property.
        Parameters:
        value - allowed object is DeliveryType
      • getTransportHandlingUnit

        public List<TransportHandlingUnitType> getTransportHandlingUnit()
        Gets the value of the transportHandlingUnit 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 transportHandlingUnit property.

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

            getTransportHandlingUnit().add(newItem);
         

        Objects of the following type(s) are allowed in the list TransportHandlingUnitType

      • getReturnAddress

        public AddressType getReturnAddress()
        Gets the value of the returnAddress property.
        Returns:
        possible object is AddressType
      • setReturnAddress

        public void setReturnAddress​(AddressType value)
        Sets the value of the returnAddress property.
        Parameters:
        value - allowed object is AddressType
      • getOriginAddress

        public AddressType getOriginAddress()
        Gets the value of the originAddress property.
        Returns:
        possible object is AddressType
      • setOriginAddress

        public void setOriginAddress​(AddressType value)
        Sets the value of the originAddress property.
        Parameters:
        value - allowed object is AddressType
      • getFirstArrivalPortLocation

        public LocationType getFirstArrivalPortLocation()
        Gets the value of the firstArrivalPortLocation property.
        Returns:
        possible object is LocationType
      • setFirstArrivalPortLocation

        public void setFirstArrivalPortLocation​(LocationType value)
        Sets the value of the firstArrivalPortLocation property.
        Parameters:
        value - allowed object is LocationType
      • getLastExitPortLocation

        public LocationType getLastExitPortLocation()
        Gets the value of the lastExitPortLocation property.
        Returns:
        possible object is LocationType
      • setLastExitPortLocation

        public void setLastExitPortLocation​(LocationType value)
        Sets the value of the lastExitPortLocation property.
        Parameters:
        value - allowed object is LocationType
      • getExportCountry

        public CountryType getExportCountry()
        Gets the value of the exportCountry property.
        Returns:
        possible object is CountryType
      • setExportCountry

        public void setExportCountry​(CountryType value)
        Sets the value of the exportCountry property.
        Parameters:
        value - allowed object is CountryType
      • getFreightAllowanceCharge

        public List<AllowanceChargeType> getFreightAllowanceCharge()
        Gets the value of the freightAllowanceCharge 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 freightAllowanceCharge property.

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

            getFreightAllowanceCharge().add(newItem);
         

        Objects of the following type(s) are allowed in the list AllowanceChargeType