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", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") 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.w3.org/2001/XMLSchema}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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CONTROL.FIXEDTIME.CYCLE
Java class for anonymous complex type.-
Nested classes/interfaces inherited from class org.opentrafficsim.xml.generated.CONTROLTYPE
CONTROLTYPE.SIGNALGROUP
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CONTROL.FIXEDTIME.CYCLE>
cycle
protected Duration
cycletime
protected Duration
offset
-
Fields inherited from class org.opentrafficsim.xml.generated.CONTROLTYPE
endtime, id, signalgroup, starttime
-
-
Constructor Summary
Constructors Constructor Description FIXEDTIME()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CONTROL.FIXEDTIME.CYCLE>
getCYCLE()
Gets the value of the cycle property.Duration
getCYCLETIME()
Gets the value of the cycletime property.Duration
getOFFSET()
Gets the value of the offset property.void
setCYCLETIME(Duration value)
Sets the value of the cycletime property.void
setOFFSET(Duration 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 Detail
-
cycle
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") protected List<CONTROL.FIXEDTIME.CYCLE> cycle
-
cycletime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") protected Duration cycletime
-
offset
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") protected Duration offset
-
-
Method Detail
-
getCYCLE
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") 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", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") public Duration getCYCLETIME()
Gets the value of the cycletime property.- Returns:
- possible object is
String
-
setCYCLETIME
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") public void setCYCLETIME(Duration value)
Sets the value of the cycletime property.- Parameters:
value
- allowed object isString
-
getOFFSET
@Generated(value="com.sun.tools.xjc.Driver", date="2020-11-01T07:11:19+01:00", comments="JAXB RI v2.3.0") public Duration getOFFSET()
Gets the value of the offset property.- Returns:
- possible object is
String
-
-