Class DistributorDepartureCancellationStructure

  • All Implemented Interfaces:
    Serializable

    public class DistributorDepartureCancellationStructure
    extends AbstractDistributorItemStructure
    implements Serializable
    Type for Cancellation of a Distributor VEHICLE JOURNEY from a connection.

    Java class for DistributorDepartureCancellationStructure complex type.

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

     <complexType name="DistributorDepartureCancellationStructure">
       <complexContent>
         <extension base="{http://www.siri.org.uk/siri}AbstractDistributorItemStructure">
           <sequence>
             <element name="Reason" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • DistributorDepartureCancellationStructure

        public DistributorDepartureCancellationStructure()
    • Method Detail

      • getReasons

        public List<NaturalLanguageStringStructure> getReasons()
        Gets the value of the reasons 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 Jakarta XML Binding object. This is why there is not a set method for the reasons property.

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

            getReasons().add(newItem);
         

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

      • getExtensions

        public Extensions getExtensions()
        Gets the value of the extensions property.
        Returns:
        possible object is Extensions
      • setExtensions

        public void setExtensions​(Extensions value)
        Sets the value of the extensions property.
        Parameters:
        value - allowed object is Extensions