CONTROL.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
  3. // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2019.03.16 at 06:21:55 PM CET
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.util.ArrayList;
  9. import java.util.List;
  10. import javax.annotation.Generated;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlElement;
  15. import javax.xml.bind.annotation.XmlRootElement;
  16. import javax.xml.bind.annotation.XmlType;
  17. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  18. import org.djunits.value.vdouble.scalar.Duration;
  19. import org.djunits.value.vdouble.scalar.Time;
  20. import org.opentrafficsim.xml.bindings.DurationAdapter;
  21. import org.opentrafficsim.xml.bindings.TimeAdapter;


  22. /**
  23.  * <p>Java class for anonymous complex type.
  24.  *
  25.  * <p>The following schema fragment specifies the expected content contained within this class.
  26.  *
  27.  * <pre>
  28.  * &lt;complexType&gt;
  29.  *   &lt;complexContent&gt;
  30.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  31.  *       &lt;sequence&gt;
  32.  *         &lt;element name="FIXEDTIME" maxOccurs="unbounded" minOccurs="0"&gt;
  33.  *           &lt;complexType&gt;
  34.  *             &lt;complexContent&gt;
  35.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  36.  *                 &lt;sequence&gt;
  37.  *                   &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&gt;
  38.  *                     &lt;complexType&gt;
  39.  *                       &lt;complexContent&gt;
  40.  *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  41.  *                           &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  42.  *                           &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  43.  *                           &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  44.  *                           &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  45.  *                           &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  46.  *                         &lt;/restriction&gt;
  47.  *                       &lt;/complexContent&gt;
  48.  *                     &lt;/complexType&gt;
  49.  *                   &lt;/element&gt;
  50.  *                 &lt;/sequence&gt;
  51.  *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  52.  *                 &lt;attribute name="CYCLETIME" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  53.  *                 &lt;attribute name="OFFSET" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  54.  *                 &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  55.  *                 &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  56.  *               &lt;/restriction&gt;
  57.  *             &lt;/complexContent&gt;
  58.  *           &lt;/complexType&gt;
  59.  *         &lt;/element&gt;
  60.  *       &lt;/sequence&gt;
  61.  *     &lt;/restriction&gt;
  62.  *   &lt;/complexContent&gt;
  63.  * &lt;/complexType&gt;
  64.  * </pre>
  65.  *
  66.  *
  67.  */
  68. @XmlAccessorType(XmlAccessType.FIELD)
  69. @XmlType(name = "", propOrder = {
  70.     "fixedtime"
  71. })
  72. @XmlRootElement(name = "CONTROL")
  73. @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  74. public class CONTROL {

  75.     @XmlElement(name = "FIXEDTIME")
  76.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  77.     protected List<CONTROL.FIXEDTIME> fixedtime;

  78.     /**
  79.      * Gets the value of the fixedtime property.
  80.      *
  81.      * <p>
  82.      * This accessor method returns a reference to the live list,
  83.      * not a snapshot. Therefore any modification you make to the
  84.      * returned list will be present inside the JAXB object.
  85.      * This is why there is not a <CODE>set</CODE> method for the fixedtime property.
  86.      *
  87.      * <p>
  88.      * For example, to add a new item, do as follows:
  89.      * <pre>
  90.      *    getFIXEDTIME().add(newItem);
  91.      * </pre>
  92.      *
  93.      *
  94.      * <p>
  95.      * Objects of the following type(s) are allowed in the list
  96.      * {@link CONTROL.FIXEDTIME }
  97.      *
  98.      *
  99.      */
  100.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  101.     public List<CONTROL.FIXEDTIME> getFIXEDTIME() {
  102.         if (fixedtime == null) {
  103.             fixedtime = new ArrayList<CONTROL.FIXEDTIME>();
  104.         }
  105.         return this.fixedtime;
  106.     }


  107.     /**
  108.      * <p>Java class for anonymous complex type.
  109.      *
  110.      * <p>The following schema fragment specifies the expected content contained within this class.
  111.      *
  112.      * <pre>
  113.      * &lt;complexType&gt;
  114.      *   &lt;complexContent&gt;
  115.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  116.      *       &lt;sequence&gt;
  117.      *         &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&gt;
  118.      *           &lt;complexType&gt;
  119.      *             &lt;complexContent&gt;
  120.      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  121.      *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  122.      *                 &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  123.      *                 &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  124.      *                 &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  125.      *                 &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  126.      *               &lt;/restriction&gt;
  127.      *             &lt;/complexContent&gt;
  128.      *           &lt;/complexType&gt;
  129.      *         &lt;/element&gt;
  130.      *       &lt;/sequence&gt;
  131.      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  132.      *       &lt;attribute name="CYCLETIME" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  133.      *       &lt;attribute name="OFFSET" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  134.      *       &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  135.      *       &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  136.      *     &lt;/restriction&gt;
  137.      *   &lt;/complexContent&gt;
  138.      * &lt;/complexType&gt;
  139.      * </pre>
  140.      *
  141.      *
  142.      */
  143.     @XmlAccessorType(XmlAccessType.FIELD)
  144.     @XmlType(name = "", propOrder = {
  145.         "signalgroup"
  146.     })
  147.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  148.     public static class FIXEDTIME {

  149.         @XmlElement(name = "SIGNALGROUP", required = true)
  150.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  151.         protected List<CONTROL.FIXEDTIME.SIGNALGROUP> signalgroup;
  152.         @XmlAttribute(name = "ID", required = true)
  153.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  154.         protected String id;
  155.         @XmlAttribute(name = "CYCLETIME", required = true)
  156.         @XmlJavaTypeAdapter(DurationAdapter.class)
  157.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  158.         protected Duration cycletime;
  159.         @XmlAttribute(name = "OFFSET")
  160.         @XmlJavaTypeAdapter(DurationAdapter.class)
  161.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  162.         protected Duration offset;
  163.         @XmlAttribute(name = "STARTTIME")
  164.         @XmlJavaTypeAdapter(TimeAdapter.class)
  165.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  166.         protected Time starttime;
  167.         @XmlAttribute(name = "ENDTIME")
  168.         @XmlJavaTypeAdapter(TimeAdapter.class)
  169.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  170.         protected Time endtime;

  171.         /**
  172.          * Gets the value of the signalgroup property.
  173.          *
  174.          * <p>
  175.          * This accessor method returns a reference to the live list,
  176.          * not a snapshot. Therefore any modification you make to the
  177.          * returned list will be present inside the JAXB object.
  178.          * This is why there is not a <CODE>set</CODE> method for the signalgroup property.
  179.          *
  180.          * <p>
  181.          * For example, to add a new item, do as follows:
  182.          * <pre>
  183.          *    getSIGNALGROUP().add(newItem);
  184.          * </pre>
  185.          *
  186.          *
  187.          * <p>
  188.          * Objects of the following type(s) are allowed in the list
  189.          * {@link CONTROL.FIXEDTIME.SIGNALGROUP }
  190.          *
  191.          *
  192.          */
  193.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  194.         public List<CONTROL.FIXEDTIME.SIGNALGROUP> getSIGNALGROUP() {
  195.             if (signalgroup == null) {
  196.                 signalgroup = new ArrayList<CONTROL.FIXEDTIME.SIGNALGROUP>();
  197.             }
  198.             return this.signalgroup;
  199.         }

  200.         /**
  201.          * Gets the value of the id property.
  202.          *
  203.          * @return
  204.          *     possible object is
  205.          *     {@link String }
  206.          *    
  207.          */
  208.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  209.         public String getID() {
  210.             return id;
  211.         }

  212.         /**
  213.          * Sets the value of the id property.
  214.          *
  215.          * @param value
  216.          *     allowed object is
  217.          *     {@link String }
  218.          *    
  219.          */
  220.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  221.         public void setID(String value) {
  222.             this.id = value;
  223.         }

  224.         /**
  225.          * Gets the value of the cycletime property.
  226.          *
  227.          * @return
  228.          *     possible object is
  229.          *     {@link String }
  230.          *    
  231.          */
  232.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  233.         public Duration getCYCLETIME() {
  234.             return cycletime;
  235.         }

  236.         /**
  237.          * Sets the value of the cycletime property.
  238.          *
  239.          * @param value
  240.          *     allowed object is
  241.          *     {@link String }
  242.          *    
  243.          */
  244.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  245.         public void setCYCLETIME(Duration value) {
  246.             this.cycletime = value;
  247.         }

  248.         /**
  249.          * Gets the value of the offset property.
  250.          *
  251.          * @return
  252.          *     possible object is
  253.          *     {@link String }
  254.          *    
  255.          */
  256.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  257.         public Duration getOFFSET() {
  258.             return offset;
  259.         }

  260.         /**
  261.          * Sets the value of the offset property.
  262.          *
  263.          * @param value
  264.          *     allowed object is
  265.          *     {@link String }
  266.          *    
  267.          */
  268.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  269.         public void setOFFSET(Duration value) {
  270.             this.offset = value;
  271.         }

  272.         /**
  273.          * Gets the value of the starttime property.
  274.          *
  275.          * @return
  276.          *     possible object is
  277.          *     {@link String }
  278.          *    
  279.          */
  280.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  281.         public Time getSTARTTIME() {
  282.             return starttime;
  283.         }

  284.         /**
  285.          * Sets the value of the starttime property.
  286.          *
  287.          * @param value
  288.          *     allowed object is
  289.          *     {@link String }
  290.          *    
  291.          */
  292.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  293.         public void setSTARTTIME(Time value) {
  294.             this.starttime = value;
  295.         }

  296.         /**
  297.          * Gets the value of the endtime property.
  298.          *
  299.          * @return
  300.          *     possible object is
  301.          *     {@link String }
  302.          *    
  303.          */
  304.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  305.         public Time getENDTIME() {
  306.             return endtime;
  307.         }

  308.         /**
  309.          * Sets the value of the endtime property.
  310.          *
  311.          * @param value
  312.          *     allowed object is
  313.          *     {@link String }
  314.          *    
  315.          */
  316.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  317.         public void setENDTIME(Time value) {
  318.             this.endtime = value;
  319.         }


  320.         /**
  321.          * <p>Java class for anonymous complex type.
  322.          *
  323.          * <p>The following schema fragment specifies the expected content contained within this class.
  324.          *
  325.          * <pre>
  326.          * &lt;complexType&gt;
  327.          *   &lt;complexContent&gt;
  328.          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  329.          *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  330.          *       &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  331.          *       &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  332.          *       &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  333.          *       &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
  334.          *     &lt;/restriction&gt;
  335.          *   &lt;/complexContent&gt;
  336.          * &lt;/complexType&gt;
  337.          * </pre>
  338.          *
  339.          *
  340.          */
  341.         @XmlAccessorType(XmlAccessType.FIELD)
  342.         @XmlType(name = "")
  343.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  344.         public static class SIGNALGROUP {

  345.             @XmlAttribute(name = "ID", required = true)
  346.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  347.             protected String id;
  348.             @XmlAttribute(name = "OFFSET", required = true)
  349.             @XmlJavaTypeAdapter(DurationAdapter.class)
  350.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  351.             protected Duration offset;
  352.             @XmlAttribute(name = "PREGREEN")
  353.             @XmlJavaTypeAdapter(DurationAdapter.class)
  354.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  355.             protected Duration pregreen;
  356.             @XmlAttribute(name = "GREEN", required = true)
  357.             @XmlJavaTypeAdapter(DurationAdapter.class)
  358.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  359.             protected Duration green;
  360.             @XmlAttribute(name = "YELLOW", required = true)
  361.             @XmlJavaTypeAdapter(DurationAdapter.class)
  362.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  363.             protected Duration yellow;

  364.             /**
  365.              * Gets the value of the id property.
  366.              *
  367.              * @return
  368.              *     possible object is
  369.              *     {@link String }
  370.              *    
  371.              */
  372.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  373.             public String getID() {
  374.                 return id;
  375.             }

  376.             /**
  377.              * Sets the value of the id property.
  378.              *
  379.              * @param value
  380.              *     allowed object is
  381.              *     {@link String }
  382.              *    
  383.              */
  384.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  385.             public void setID(String value) {
  386.                 this.id = value;
  387.             }

  388.             /**
  389.              * Gets the value of the offset property.
  390.              *
  391.              * @return
  392.              *     possible object is
  393.              *     {@link String }
  394.              *    
  395.              */
  396.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  397.             public Duration getOFFSET() {
  398.                 return offset;
  399.             }

  400.             /**
  401.              * Sets the value of the offset property.
  402.              *
  403.              * @param value
  404.              *     allowed object is
  405.              *     {@link String }
  406.              *    
  407.              */
  408.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  409.             public void setOFFSET(Duration value) {
  410.                 this.offset = value;
  411.             }

  412.             /**
  413.              * Gets the value of the pregreen property.
  414.              *
  415.              * @return
  416.              *     possible object is
  417.              *     {@link String }
  418.              *    
  419.              */
  420.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  421.             public Duration getPREGREEN() {
  422.                 return pregreen;
  423.             }

  424.             /**
  425.              * Sets the value of the pregreen property.
  426.              *
  427.              * @param value
  428.              *     allowed object is
  429.              *     {@link String }
  430.              *    
  431.              */
  432.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  433.             public void setPREGREEN(Duration value) {
  434.                 this.pregreen = value;
  435.             }

  436.             /**
  437.              * Gets the value of the green property.
  438.              *
  439.              * @return
  440.              *     possible object is
  441.              *     {@link String }
  442.              *    
  443.              */
  444.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  445.             public Duration getGREEN() {
  446.                 return green;
  447.             }

  448.             /**
  449.              * Sets the value of the green property.
  450.              *
  451.              * @param value
  452.              *     allowed object is
  453.              *     {@link String }
  454.              *    
  455.              */
  456.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  457.             public void setGREEN(Duration value) {
  458.                 this.green = value;
  459.             }

  460.             /**
  461.              * Gets the value of the yellow property.
  462.              *
  463.              * @return
  464.              *     possible object is
  465.              *     {@link String }
  466.              *    
  467.              */
  468.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  469.             public Duration getYELLOW() {
  470.                 return yellow;
  471.             }

  472.             /**
  473.              * Sets the value of the yellow property.
  474.              *
  475.              * @param value
  476.              *     allowed object is
  477.              *     {@link String }
  478.              *    
  479.              */
  480.             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  481.             public void setYELLOW(Duration value) {
  482.                 this.yellow = value;
  483.             }

  484.         }

  485.     }

  486. }