Class 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 Detail

      • trafficViewTime

        protected DateTime trafficViewTime
      • predefinedLocationSetReference

        protected String predefinedLocationSetReference
      • trafficViewExtension

        protected ExtensionType trafficViewExtension
    • Constructor Detail

      • TrafficView

        public TrafficView()
    • 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 is DateTime
      • 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 is String
      • 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 Jakarta XML Binding object. This is why there is not a set method 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 is ExtensionType
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String