Class TrafficView
- java.lang.Object
-
- eu.datex2.siri21.schema._2_0rc1._2_0.TrafficView
-
- All Implemented Interfaces:
Serializable
public class TrafficView extends Object implements Serializable
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/2_0RC1/2_0}DateTime"/> <element name="predefinedLocationSetReference" type="{http://datex2.eu/schema/2_0RC1/2_0}Reference"/> <element name="linearTrafficView" type="{http://datex2.eu/schema/2_0RC1/2_0}LinearTrafficView" maxOccurs="unbounded"/> <element name="trafficViewExtension" type="{http://datex2.eu/schema/2_0RC1/2_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 ZonedDateTimetrafficViewTime
-
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.ZonedDateTimegetTrafficViewTime()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(ZonedDateTime value)Sets the value of the trafficViewTime property.
-
-
-
Field Detail
-
trafficViewTime
protected ZonedDateTime trafficViewTime
-
predefinedLocationSetReference
protected String predefinedLocationSetReference
-
linearTrafficViews
protected List<LinearTrafficView> linearTrafficViews
-
trafficViewExtension
protected ExtensionType trafficViewExtension
-
id
protected String id
-
-
Method Detail
-
getTrafficViewTime
public ZonedDateTime getTrafficViewTime()
Gets the value of the trafficViewTime property.- Returns:
- possible object is
String
-
setTrafficViewTime
public void setTrafficViewTime(ZonedDateTime value)
Sets the value of the trafficViewTime property.- Parameters:
value- allowed object isString
-
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
-
-