Class RailTransportType


  • public class RailTransportType
    extends Object

    Java class for RailTransportType complex type.

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

     <complexType name="RailTransportType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TrainID"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RailCarID" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • RailTransportType

        public RailTransportType()
    • Method Detail

      • getTrainID

        public TrainIDType getTrainID()
        Gets the value of the trainID property.
        Returns:
        possible object is TrainIDType
      • setTrainID

        public void setTrainID​(TrainIDType value)
        Sets the value of the trainID property.
        Parameters:
        value - allowed object is TrainIDType
      • getRailCarID

        public RailCarIDType getRailCarID()
        Gets the value of the railCarID property.
        Returns:
        possible object is RailCarIDType
      • setRailCarID

        public void setRailCarID​(RailCarIDType value)
        Sets the value of the railCarID property.
        Parameters:
        value - allowed object is RailCarIDType