Package org.opentrafficsim.xml.generated
Class Control.FixedTime
java.lang.Object
org.opentrafficsim.xml.generated.ControlType
org.opentrafficsim.xml.generated.Control.FixedTime
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Control
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v2.3.7",
date="2024-08-29T18:50:16+02:00")
public static class Control.FixedTime
extends ControlType
implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Java class for anonymous complex type.Nested classes/interfaces inherited from class org.opentrafficsim.xml.generated.ControlType
ControlType.SignalGroup
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<Control.FixedTime.Cycle>
protected DurationType
protected DurationType
Fields inherited from class org.opentrafficsim.xml.generated.ControlType
endTime, id, signalGroup, startTime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCycle()
Gets the value of the cycle property.Gets the value of the cycleTime property.Gets the value of the offset property.void
setCycleTime
(DurationType value) Sets the value of the cycleTime property.void
setOffset
(DurationType value) Sets the value of the offset property.Methods inherited from class org.opentrafficsim.xml.generated.ControlType
getEndTime, getId, getSignalGroup, getStartTime, setEndTime, setId, setStartTime
-
Field Details
-
cycle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<Control.FixedTime.Cycle> cycle -
cycleTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected DurationType cycleTime -
offset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected DurationType offset
-
-
Constructor Details
-
FixedTime
public FixedTime()
-
-
Method Details
-
getCycle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Control.FixedTime.Cycle> getCycle()Gets the value of the cycle 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
set
method for the cycle property.For example, to add a new item, do as follows:
getCycle().add(newItem);
Objects of the following type(s) are allowed in the list
Control.FixedTime.Cycle
-
getCycleTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public DurationType getCycleTime()Gets the value of the cycleTime property.- Returns:
- possible object is
String
-
setCycleTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setCycleTime(DurationType value) Sets the value of the cycleTime property.- Parameters:
value
- allowed object isString
-
getOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public DurationType getOffset()Gets the value of the offset property.- Returns:
- possible object is
String
-
setOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setOffset(DurationType value) Sets the value of the offset property.- Parameters:
value
- allowed object isString
-