Class GeneralObstruction

  • All Implemented Interfaces:
    Serializable

    public class GeneralObstruction
    extends Obstruction
    implements Serializable
    Any stationary or moving obstacle of a physical nature, other than of an animal, vehicle, environmental, or damaged equipment nature.

    Java class for GeneralObstruction complex type.

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

     <complexType name="GeneralObstruction">
       <complexContent>
         <extension base="{http://datex2.eu/schema/1_0/1_0}Obstruction">
           <sequence>
             <element name="obstructionType" type="{http://datex2.eu/schema/1_0/1_0}ObstructionTypeEnum" maxOccurs="unbounded"/>
             <element name="generalObstructionExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • GeneralObstruction

        public GeneralObstruction()
    • Method Detail

      • getObstructionTypes

        public List<ObstructionTypeEnum> getObstructionTypes()
        Gets the value of the obstructionTypes 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 obstructionTypes property.

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

            getObstructionTypes().add(newItem);
         

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

      • getGeneralObstructionExtension

        public ExtensionType getGeneralObstructionExtension()
        Gets the value of the generalObstructionExtension property.
        Returns:
        possible object is ExtensionType
      • setGeneralObstructionExtension

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