Class PackageType


  • public class PackageType
    extends Object

    Java class for PackageType complex type

    .

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

    
     <complexType name="PackageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <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}Quantity" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReturnableMaterialIndicator" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackageLevelCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackagingTypeCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackingMaterial" 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}ContainedPackage" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContainingTransportEquipment" 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}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryUnit" 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}Pickup" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Despatch" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PackageType

        public PackageType()
    • 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
      • getQuantity

        public QuantityType getQuantity()
        Gets the value of the quantity property.
        Returns:
        possible object is QuantityType
      • setQuantity

        public void setQuantity​(QuantityType value)
        Sets the value of the quantity property.
        Parameters:
        value - allowed object is QuantityType
      • getPackingMaterial

        public List<PackingMaterialType> getPackingMaterial()
        Gets the value of the packingMaterial 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 packingMaterial property.

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

         getPackingMaterial().add(newItem);
         

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

        Returns:
        The value of the packingMaterial property.
      • getTraceID

        public TraceIDType getTraceID()
        Gets the value of the traceID property.
        Returns:
        possible object is TraceIDType
      • setTraceID

        public void setTraceID​(TraceIDType value)
        Sets the value of the traceID property.
        Parameters:
        value - allowed object is TraceIDType
      • getContainedPackage

        public List<PackageType> getContainedPackage()
        Gets the value of the containedPackage 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 containedPackage property.

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

         getContainedPackage().add(newItem);
         

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

        Returns:
        The value of the containedPackage property.
      • setContainingTransportEquipment

        public void setContainingTransportEquipment​(TransportEquipmentType value)
        Sets the value of the containingTransportEquipment property.
        Parameters:
        value - allowed object is TransportEquipmentType
      • 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

        Returns:
        The value of the goodsItem property.
      • getMeasurementDimension

        public List<DimensionType> getMeasurementDimension()
        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 DimensionType

        Returns:
        The value of the measurementDimension property.
      • getDeliveryUnit

        public List<DeliveryUnitType> getDeliveryUnit()
        Gets the value of the deliveryUnit 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 deliveryUnit property.

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

         getDeliveryUnit().add(newItem);
         

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

        Returns:
        The value of the deliveryUnit property.
      • 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
      • getPickup

        public PickupType getPickup()
        Gets the value of the pickup property.
        Returns:
        possible object is PickupType
      • setPickup

        public void setPickup​(PickupType value)
        Sets the value of the pickup property.
        Parameters:
        value - allowed object is PickupType
      • getDespatch

        public DespatchType getDespatch()
        Gets the value of the despatch property.
        Returns:
        possible object is DespatchType
      • setDespatch

        public void setDespatch​(DespatchType value)
        Sets the value of the despatch property.
        Parameters:
        value - allowed object is DespatchType