Class Roadworks

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    ConstructionWorks, MaintenanceWorks

    public abstract class Roadworks
    extends OperatorAction
    implements Serializable
    Highway maintenance, installation and construction activities that may potentially affect traffic operations.

    Java class for Roadworks complex type.

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

     <complexType name="Roadworks">
       <complexContent>
         <extension base="{http://datex2.eu/schema/1_0/1_0}OperatorAction">
           <sequence>
             <element name="effectOnRoadLayout" type="{http://datex2.eu/schema/1_0/1_0}EffectOnRoadLayoutEnum" maxOccurs="unbounded"/>
             <element name="roadworksDuration" type="{http://datex2.eu/schema/1_0/1_0}RoadworksDurationEnum" minOccurs="0"/>
             <element name="roadworksScale" type="{http://datex2.eu/schema/1_0/1_0}RoadworksScaleEnum" minOccurs="0"/>
             <element name="underTraffic" type="{http://datex2.eu/schema/1_0/1_0}Boolean" minOccurs="0"/>
             <element name="urgentRoadworks" type="{http://datex2.eu/schema/1_0/1_0}Boolean" minOccurs="0"/>
             <element name="mobility" type="{http://datex2.eu/schema/1_0/1_0}Mobility" minOccurs="0"/>
             <element name="subjectTypeOfWorks" type="{http://datex2.eu/schema/1_0/1_0}SubjectTypeOfWorks" minOccurs="0"/>
             <element name="associatedMaintenanceVehicles" type="{http://datex2.eu/schema/1_0/1_0}AssociatedMaintenanceVehicles" minOccurs="0"/>
             <element name="roadworksExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Roadworks

        public Roadworks()
    • Method Detail

      • getEffectOnRoadLayouts

        public List<EffectOnRoadLayoutEnum> getEffectOnRoadLayouts()
        Gets the value of the effectOnRoadLayouts 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 effectOnRoadLayouts property.

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

            getEffectOnRoadLayouts().add(newItem);
         

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

      • setRoadworksScale

        public void setRoadworksScale​(RoadworksScaleEnum value)
        Sets the value of the roadworksScale property.
        Parameters:
        value - allowed object is RoadworksScaleEnum
      • isUnderTraffic

        public Boolean isUnderTraffic()
        Gets the value of the underTraffic property.
        Returns:
        possible object is Boolean
      • setUnderTraffic

        public void setUnderTraffic​(Boolean value)
        Sets the value of the underTraffic property.
        Parameters:
        value - allowed object is Boolean
      • isUrgentRoadworks

        public Boolean isUrgentRoadworks()
        Gets the value of the urgentRoadworks property.
        Returns:
        possible object is Boolean
      • setUrgentRoadworks

        public void setUrgentRoadworks​(Boolean value)
        Sets the value of the urgentRoadworks property.
        Parameters:
        value - allowed object is Boolean
      • getMobility

        public Mobility getMobility()
        Gets the value of the mobility property.
        Returns:
        possible object is Mobility
      • setMobility

        public void setMobility​(Mobility value)
        Sets the value of the mobility property.
        Parameters:
        value - allowed object is Mobility
      • setSubjectTypeOfWorks

        public void setSubjectTypeOfWorks​(SubjectTypeOfWorks value)
        Sets the value of the subjectTypeOfWorks property.
        Parameters:
        value - allowed object is SubjectTypeOfWorks
      • getRoadworksExtension

        public ExtensionType getRoadworksExtension()
        Gets the value of the roadworksExtension property.
        Returns:
        possible object is ExtensionType
      • setRoadworksExtension

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