Class AffectedRoadsStructure

  • All Implemented Interfaces:
    Serializable

    public class AffectedRoadsStructure
    extends Object
    implements Serializable
    Type for Location model for scope of situation or effect.

    Java class for AffectedRoadsStructure complex type.

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

     <complexType name="AffectedRoadsStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Datex2Locations" type="{http://datex2.eu/schema/1_0/1_0}GroupOfLocations" minOccurs="0"/>
             <element name="AffectedRoad" type="{http://www.siri.org.uk/siri}AffectedRoadStructure" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • AffectedRoadsStructure

        public AffectedRoadsStructure()
    • Method Detail

      • getDatex2Locations

        public GroupOfLocations getDatex2Locations()
        Gets the value of the datex2Locations property.
        Returns:
        possible object is GroupOfLocations
      • setDatex2Locations

        public void setDatex2Locations​(GroupOfLocations value)
        Sets the value of the datex2Locations property.
        Parameters:
        value - allowed object is GroupOfLocations
      • getAffectedRoads

        public List<AffectedRoadStructure> getAffectedRoads()
        Gets the value of the affectedRoads 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 affectedRoads property.

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

            getAffectedRoads().add(newItem);
         

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