Class CONTROL

java.lang.Object
org.opentrafficsim.xml.generated.CONTROL
All Implemented Interfaces:
java.io.Serializable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2020-01-23T12:43:16+01:00",
           comments="JAXB RI v2.3.0")
public class CONTROL
extends java.lang.Object
implements java.io.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>
         <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.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>
         </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.w3.org/2001/XMLSchema>string">
                             <attribute ref="{http://www.w3.org/XML/1998/namespace}space default="preserve""/>
                           </extension>
                         </simpleContent>
                       </complexType>
                     </element>
                     <element name="PROGRAMFILE" type="{http://www.w3.org/2001/XMLSchema}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.w3.org/2001/XMLSchema>string">
                                       <attribute name="TYPE" type="{http://www.opentrafficsim.org/ots}GRAPHICSTYPE" />
                                       <attribute name="ENCODING" type="{http://www.opentrafficsim.org/ots}ENCODINGTYPE" />
                                       <attribute ref="{http://www.w3.org/XML/1998/namespace}space default="preserve""/>
                                     </extension>
                                   </simpleContent>
                                 </complexType>
                               </element>
                               <element name="MAPFILE" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
                             </choice>
                             <choice>
                               <element name="COORDINATES" type="{http://www.opentrafficsim.org/ots}TRAFCODCOORDINATESTYPE"/>
                               <element name="COORDINATESFILE" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
                             </choice>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </extension>
             </complexContent>
           </complexType>
         </element>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  CONTROL.FIXEDTIME
    Java class for anonymous complex type.
    static class  CONTROL.TRAFCOD
    Java class for anonymous complex type.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.List<CONTROL.FIXEDTIME> fixedtime  
    protected java.util.List<CONTROL.TRAFCOD> trafcod  
  • Constructor Summary

    Constructors 
    Constructor Description
    CONTROL()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<CONTROL.FIXEDTIME> getFIXEDTIME()
    Gets the value of the fixedtime property.
    java.util.List<CONTROL.TRAFCOD> getTRAFCOD()
    Gets the value of the trafcod property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fixedtime

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.util.List<CONTROL.FIXEDTIME> fixedtime
    • trafcod

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.util.List<CONTROL.TRAFCOD> trafcod
  • Constructor Details

  • Method Details

    • getFIXEDTIME

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.util.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 set method 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", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.util.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 set method 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