Class CompoundTrain

  • All Implemented Interfaces:
    Serializable

    public class CompoundTrain
    extends Object
    implements Serializable
    Type for COMPOUND TRAIN. +SIRI v2.1

    Java class for CompoundTrainStructure complex type.

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

     <complexType name="CompoundTrainStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="CompoundTrainCode" type="{http://www.siri.org.uk/siri}CompoundTrainCodeType" minOccurs="0"/>
             <group ref="{http://www.siri.org.uk/siri}VehicleTypeGroup"/>
             <element name="TrainsInCompoundTrain" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice maxOccurs="unbounded">
                       <element ref="{http://www.siri.org.uk/siri}TrainInCompoundTrainRef"/>
                       <element ref="{http://www.siri.org.uk/siri}TrainInCompoundTrain"/>
                     </choice>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form