Class TransportationSegmentType


  • public class TransportationSegmentType
    extends Object

    Java class for TransportationSegmentType complex type.

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

     <complexType name="TransportationSegmentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SequenceNumeric"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportExecutionPlanReferenceID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportationService"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TransportServiceProviderParty"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReferencedConsignment" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ShipmentStage" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TransportationSegmentType

        public TransportationSegmentType()
    • Method Detail

      • setSequenceNumeric

        public void setSequenceNumeric​(SequenceNumericType value)
        Sets the value of the sequenceNumeric property.
        Parameters:
        value - allowed object is SequenceNumericType
      • getTransportServiceProviderParty

        public PartyType getTransportServiceProviderParty()
        Gets the value of the transportServiceProviderParty property.
        Returns:
        possible object is PartyType
      • setTransportServiceProviderParty

        public void setTransportServiceProviderParty​(PartyType value)
        Sets the value of the transportServiceProviderParty property.
        Parameters:
        value - allowed object is PartyType
      • getReferencedConsignment

        public ConsignmentType getReferencedConsignment()
        Gets the value of the referencedConsignment property.
        Returns:
        possible object is ConsignmentType
      • setReferencedConsignment

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