Class TrafficView
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.TrafficView
-
- All Implemented Interfaces:
Serializable
public class TrafficView extends Object implements Serializable
An identifiable instance of a traffic view at a single point in time relating to a predefined location set, comprising one or more linear traffic views each of which comprise one or more traffic view records.Java class for TrafficView complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrafficView"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="trafficViewTime" type="{http://datex2.eu/schema/1_0/1_0}DateTime"/> <element name="predefinedLocationSetReference" type="{http://datex2.eu/schema/1_0/1_0}Reference"/> <element name="linearTrafficView" type="{http://datex2.eu/schema/1_0/1_0}LinearTrafficView" maxOccurs="unbounded"/> <element name="trafficViewExtension" 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 List<LinearTrafficView>linearTrafficViewsprotected StringpredefinedLocationSetReferenceprotected ExtensionTypetrafficViewExtensionprotected DateTimetrafficViewTime
-
Constructor Summary
Constructors Constructor Description TrafficView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.List<LinearTrafficView>getLinearTrafficViews()Gets the value of the linearTrafficViews property.StringgetPredefinedLocationSetReference()Gets the value of the predefinedLocationSetReference property.ExtensionTypegetTrafficViewExtension()Gets the value of the trafficViewExtension property.DateTimegetTrafficViewTime()Gets the value of the trafficViewTime property.voidsetId(String value)Sets the value of the id property.voidsetPredefinedLocationSetReference(String value)Sets the value of the predefinedLocationSetReference property.voidsetTrafficViewExtension(ExtensionType value)Sets the value of the trafficViewExtension property.voidsetTrafficViewTime(DateTime value)Sets the value of the trafficViewTime property.
-
-
-
Field Detail
-
trafficViewTime
protected DateTime trafficViewTime
-
predefinedLocationSetReference
protected String predefinedLocationSetReference
-
linearTrafficViews
protected List<LinearTrafficView> linearTrafficViews
-
trafficViewExtension
protected ExtensionType trafficViewExtension
-
id
protected String id
-
-
Method Detail
-
getTrafficViewTime
public DateTime getTrafficViewTime()
Gets the value of the trafficViewTime property.- Returns:
- possible object is
DateTime
-
setTrafficViewTime
public void setTrafficViewTime(DateTime value)
Sets the value of the trafficViewTime property.- Parameters:
value- allowed object isDateTime
-
getPredefinedLocationSetReference
public String getPredefinedLocationSetReference()
Gets the value of the predefinedLocationSetReference property.- Returns:
- possible object is
String
-
setPredefinedLocationSetReference
public void setPredefinedLocationSetReference(String value)
Sets the value of the predefinedLocationSetReference property.- Parameters:
value- allowed object isString
-
getLinearTrafficViews
public List<LinearTrafficView> getLinearTrafficViews()
Gets the value of the linearTrafficViews 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 linearTrafficViews property.For example, to add a new item, do as follows:
getLinearTrafficViews().add(newItem);Objects of the following type(s) are allowed in the list
LinearTrafficView
-
getTrafficViewExtension
public ExtensionType getTrafficViewExtension()
Gets the value of the trafficViewExtension property.- Returns:
- possible object is
ExtensionType
-
setTrafficViewExtension
public void setTrafficViewExtension(ExtensionType value)
Sets the value of the trafficViewExtension property.- Parameters:
value- allowed object isExtensionType
-
-