Class TransportMeansType


  • public class TransportMeansType
    extends Object

    Java class for TransportMeansType complex type.

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

     <complexType name="TransportMeansType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}JourneyID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationNationalityID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationNationality" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DirectionCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportMeansTypeCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TradeServiceCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Stowage" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AirTransport" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RoadTransport" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RailTransport" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MaritimeTransport" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OwnerParty" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TransportMeansType

        public TransportMeansType()
    • Method Detail

      • getJourneyID

        public JourneyIDType getJourneyID()
        Gets the value of the journeyID property.
        Returns:
        possible object is JourneyIDType
      • setJourneyID

        public void setJourneyID​(JourneyIDType value)
        Sets the value of the journeyID property.
        Parameters:
        value - allowed object is JourneyIDType
      • getRegistrationNationality

        public List<RegistrationNationalityType> getRegistrationNationality()
        Gets the value of the registrationNationality 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 registrationNationality property.

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

            getRegistrationNationality().add(newItem);
         

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

      • setDirectionCode

        public void setDirectionCode​(DirectionCodeType value)
        Sets the value of the directionCode property.
        Parameters:
        value - allowed object is DirectionCodeType
      • getStowage

        public StowageType getStowage()
        Gets the value of the stowage property.
        Returns:
        possible object is StowageType
      • setStowage

        public void setStowage​(StowageType value)
        Sets the value of the stowage property.
        Parameters:
        value - allowed object is StowageType
      • setAirTransport

        public void setAirTransport​(AirTransportType value)
        Sets the value of the airTransport property.
        Parameters:
        value - allowed object is AirTransportType
      • setRoadTransport

        public void setRoadTransport​(RoadTransportType value)
        Sets the value of the roadTransport property.
        Parameters:
        value - allowed object is RoadTransportType
      • setRailTransport

        public void setRailTransport​(RailTransportType value)
        Sets the value of the railTransport property.
        Parameters:
        value - allowed object is RailTransportType
      • getOwnerParty

        public PartyType getOwnerParty()
        Gets the value of the ownerParty property.
        Returns:
        possible object is PartyType
      • setOwnerParty

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