Package uk.org.siri.siri13
Class AffectedRoadsStructure
- java.lang.Object
-
- uk.org.siri.siri13.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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AffectedRoadStructure>affectedRoadsprotected GroupOfLocationsdatex2Locations
-
Constructor Summary
Constructors Constructor Description AffectedRoadsStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AffectedRoadStructure>getAffectedRoads()Gets the value of the affectedRoads property.GroupOfLocationsgetDatex2Locations()Gets the value of the datex2Locations property.voidsetDatex2Locations(GroupOfLocations value)Sets the value of the datex2Locations property.
-
-
-
Field Detail
-
datex2Locations
protected GroupOfLocations datex2Locations
-
affectedRoads
protected List<AffectedRoadStructure> affectedRoads
-
-
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 isGroupOfLocations
-
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
setmethod 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
-
-