Class Control
- All Implemented Interfaces:
Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="FixedTime" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.opentrafficsim.org/ots}ControlType">
<sequence>
<element name="Cycle" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="SignalGroupId" use="required" type="{http://www.opentrafficsim.org/ots}string" />
<attribute name="Offset" use="required" type="{http://www.opentrafficsim.org/ots}DurationType" />
<attribute name="PreGreen" type="{http://www.opentrafficsim.org/ots}DurationType" />
<attribute name="Green" use="required" type="{http://www.opentrafficsim.org/ots}DurationType" />
<attribute name="Yellow" use="required" type="{http://www.opentrafficsim.org/ots}DurationType" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="CycleTime" use="required" type="{http://www.opentrafficsim.org/ots}DurationType" />
<attribute name="Offset" type="{http://www.opentrafficsim.org/ots}DurationType" default="0.0 s" />
</extension>
</complexContent>
</complexType>
</element>
<element name="TrafCod" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.opentrafficsim.org/ots}ResponsiveControlType">
<sequence>
<choice>
<element name="Program">
<complexType>
<simpleContent>
<extension base="<http://www.opentrafficsim.org/ots>MultiLineString">
<attribute name="Space" type="{http://www.opentrafficsim.org/ots}space" default="preserve" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="ProgramFile" type="{http://www.opentrafficsim.org/ots}anyURI"/>
</choice>
<element name="Console">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="Map">
<complexType>
<simpleContent>
<extension base="<http://www.opentrafficsim.org/ots>MultiLineString">
<attribute name="Type" type="{http://www.opentrafficsim.org/ots}GraphicsType" />
<attribute name="Encoding" type="{http://www.opentrafficsim.org/ots}EncodingType" />
<attribute name="Space" type="{http://www.opentrafficsim.org/ots}space" default="preserve" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="MapFile" type="{http://www.opentrafficsim.org/ots}anyURI"/>
</choice>
<choice>
<element name="Coordinates" type="{http://www.opentrafficsim.org/ots}TrafCodCoordinatesType"/>
<element name="CoordinatesFile" type="{http://www.opentrafficsim.org/ots}anyURI"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Control.FixedTime>protected List<Control.TrafCod> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the fixedTime property.Gets the value of the trafCod property.
-
Field Details
-
fixedTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<Control.FixedTime> fixedTime -
trafCod
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<Control.TrafCod> trafCod
-
-
Constructor Details
-
Control
public Control()
-
-
Method Details
-
getFixedTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public List<Control.FixedTime> getFixedTime()Gets the value of the fixedTime 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 fixedTime property.For example, to add a new item, do as follows:
getFixedTime().add(newItem);Objects of the following type(s) are allowed in the list
Control.FixedTime -
getTrafCod
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public List<Control.TrafCod> getTrafCod()Gets the value of the trafCod 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 trafCod property.For example, to add a new item, do as follows:
getTrafCod().add(newItem);Objects of the following type(s) are allowed in the list
Control.TrafCod
-