Class Diversion

  • All Implemented Interfaces:
    Serializable

    public class Diversion
    extends Advice
    implements Serializable
    Supplementary diversion advice.

    Java class for Diversion complex type.

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

     <complexType name="Diversion">
       <complexContent>
         <extension base="{http://datex2.eu/schema/1_0/1_0}Advice">
           <sequence>
             <element name="diversionAdvice" type="{http://datex2.eu/schema/1_0/1_0}DiversionAdviceEnum"/>
             <element name="diversionExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Diversion

        public Diversion()
    • Method Detail

      • setDiversionAdvice

        public void setDiversionAdvice​(DiversionAdviceEnum value)
        Sets the value of the diversionAdvice property.
        Parameters:
        value - allowed object is DiversionAdviceEnum
      • getDiversionExtension

        public ExtensionType getDiversionExtension()
        Gets the value of the diversionExtension property.
        Returns:
        possible object is ExtensionType
      • setDiversionExtension

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