Class ServiceDisruption

  • All Implemented Interfaces:
    Serializable

    public class ServiceDisruption
    extends NonRoadEventInformation
    implements Serializable
    Details of disruption to normal services (e.g. specific services at a service areas).

    Java class for ServiceDisruption complex type.

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

     <complexType name="ServiceDisruption">
       <complexContent>
         <extension base="{http://datex2.eu/schema/1_0/1_0}NonRoadEventInformation">
           <sequence>
             <element name="serviceDisruptionType" type="{http://datex2.eu/schema/1_0/1_0}ServiceDisruptionTypeEnum" maxOccurs="unbounded"/>
             <element name="serviceDisruptionExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceDisruption

        public ServiceDisruption()
    • Method Detail

      • getServiceDisruptionTypes

        public List<ServiceDisruptionTypeEnum> getServiceDisruptionTypes()
        Gets the value of the serviceDisruptionTypes 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 serviceDisruptionTypes property.

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

            getServiceDisruptionTypes().add(newItem);
         

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

      • getServiceDisruptionExtension

        public ExtensionType getServiceDisruptionExtension()
        Gets the value of the serviceDisruptionExtension property.
        Returns:
        possible object is ExtensionType
      • setServiceDisruptionExtension

        public void setServiceDisruptionExtension​(ExtensionType value)
        Sets the value of the serviceDisruptionExtension property.
        Parameters:
        value - allowed object is ExtensionType