Class LinearTrafficView
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.LinearTrafficView
-
- All Implemented Interfaces:
Serializable
public class LinearTrafficView extends Object implements Serializable
An identifiable instance of a linear traffic view at a single point in time relating to a linear section of road, comprising one or more traffic view records.Java class for LinearTrafficView complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LinearTrafficView"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="linearPredefinedLocationReference" type="{http://datex2.eu/schema/1_0/1_0}Reference"/> <element name="trafficViewRecord" type="{http://datex2.eu/schema/1_0/1_0}TrafficViewRecord" maxOccurs="unbounded"/> <element name="linearTrafficViewExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringidprotected StringlinearPredefinedLocationReferenceprotected ExtensionTypelinearTrafficViewExtensionprotected List<TrafficViewRecord>trafficViewRecords
-
Constructor Summary
Constructors Constructor Description LinearTrafficView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.StringgetLinearPredefinedLocationReference()Gets the value of the linearPredefinedLocationReference property.ExtensionTypegetLinearTrafficViewExtension()Gets the value of the linearTrafficViewExtension property.List<TrafficViewRecord>getTrafficViewRecords()Gets the value of the trafficViewRecords property.voidsetId(String value)Sets the value of the id property.voidsetLinearPredefinedLocationReference(String value)Sets the value of the linearPredefinedLocationReference property.voidsetLinearTrafficViewExtension(ExtensionType value)Sets the value of the linearTrafficViewExtension property.
-
-
-
Field Detail
-
linearPredefinedLocationReference
protected String linearPredefinedLocationReference
-
trafficViewRecords
protected List<TrafficViewRecord> trafficViewRecords
-
linearTrafficViewExtension
protected ExtensionType linearTrafficViewExtension
-
id
protected String id
-
-
Method Detail
-
getLinearPredefinedLocationReference
public String getLinearPredefinedLocationReference()
Gets the value of the linearPredefinedLocationReference property.- Returns:
- possible object is
String
-
setLinearPredefinedLocationReference
public void setLinearPredefinedLocationReference(String value)
Sets the value of the linearPredefinedLocationReference property.- Parameters:
value- allowed object isString
-
getTrafficViewRecords
public List<TrafficViewRecord> getTrafficViewRecords()
Gets the value of the trafficViewRecords 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
setmethod for the trafficViewRecords property.For example, to add a new item, do as follows:
getTrafficViewRecords().add(newItem);Objects of the following type(s) are allowed in the list
TrafficViewRecord
-
getLinearTrafficViewExtension
public ExtensionType getLinearTrafficViewExtension()
Gets the value of the linearTrafficViewExtension property.- Returns:
- possible object is
ExtensionType
-
setLinearTrafficViewExtension
public void setLinearTrafficViewExtension(ExtensionType value)
Sets the value of the linearTrafficViewExtension property.- Parameters:
value- allowed object isExtensionType
-
-