CONTROLTYPE.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.6
  3. // See https://eclipse-ee4j.github.io/jaxb-ri
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2022.09.04 at 02:31:11 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

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


  21. /**
  22.  * <p>Java class for CONTROLTYPE complex type.
  23.  *
  24.  * <p>The following schema fragment specifies the expected content contained within this class.
  25.  *
  26.  * <pre>
  27.  * &lt;complexType name="CONTROLTYPE"&gt;
  28.  *   &lt;complexContent&gt;
  29.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  30.  *       &lt;sequence&gt;
  31.  *         &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&gt;
  32.  *           &lt;complexType&gt;
  33.  *             &lt;complexContent&gt;
  34.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  35.  *                 &lt;sequence&gt;
  36.  *                   &lt;element name="TRAFFICLIGHT" maxOccurs="unbounded"&gt;
  37.  *                     &lt;complexType&gt;
  38.  *                       &lt;complexContent&gt;
  39.  *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  40.  *                           &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  41.  *                           &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  42.  *                           &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  43.  *                         &lt;/restriction&gt;
  44.  *                       &lt;/complexContent&gt;
  45.  *                     &lt;/complexType&gt;
  46.  *                   &lt;/element&gt;
  47.  *                 &lt;/sequence&gt;
  48.  *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  49.  *               &lt;/restriction&gt;
  50.  *             &lt;/complexContent&gt;
  51.  *           &lt;/complexType&gt;
  52.  *         &lt;/element&gt;
  53.  *       &lt;/sequence&gt;
  54.  *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  55.  *       &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  56.  *       &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  57.  *     &lt;/restriction&gt;
  58.  *   &lt;/complexContent&gt;
  59.  * &lt;/complexType&gt;
  60.  * </pre>
  61.  *
  62.  *
  63.  */
  64. @XmlAccessorType(XmlAccessType.FIELD)
  65. @XmlType(name = "CONTROLTYPE", propOrder = {
  66.     "signalgroup"
  67. })
  68. @XmlSeeAlso({
  69.     org.opentrafficsim.xml.generated.CONTROL.FIXEDTIME.class,
  70.     RESPONSIVECONTROLTYPE.class
  71. })
  72. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  73. public class CONTROLTYPE
  74.     implements Serializable
  75. {

  76.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  77.     private final static long serialVersionUID = 10102L;
  78.     @XmlElement(name = "SIGNALGROUP", required = true)
  79.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  80.     protected List<CONTROLTYPE.SIGNALGROUP> signalgroup;
  81.     @XmlAttribute(name = "ID", required = true)
  82.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  83.     protected String id;
  84.     @XmlAttribute(name = "STARTTIME")
  85.     @XmlJavaTypeAdapter(TimeAdapter.class)
  86.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  87.     protected Time starttime;
  88.     @XmlAttribute(name = "ENDTIME")
  89.     @XmlJavaTypeAdapter(TimeAdapter.class)
  90.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  91.     protected Time endtime;

  92.     /**
  93.      * Gets the value of the signalgroup property.
  94.      *
  95.      * <p>
  96.      * This accessor method returns a reference to the live list,
  97.      * not a snapshot. Therefore any modification you make to the
  98.      * returned list will be present inside the JAXB object.
  99.      * This is why there is not a <CODE>set</CODE> method for the signalgroup property.
  100.      *
  101.      * <p>
  102.      * For example, to add a new item, do as follows:
  103.      * <pre>
  104.      *    getSIGNALGROUP().add(newItem);
  105.      * </pre>
  106.      *
  107.      *
  108.      * <p>
  109.      * Objects of the following type(s) are allowed in the list
  110.      * {@link CONTROLTYPE.SIGNALGROUP }
  111.      *
  112.      *
  113.      */
  114.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  115.     public List<CONTROLTYPE.SIGNALGROUP> getSIGNALGROUP() {
  116.         if (signalgroup == null) {
  117.             signalgroup = new ArrayList<CONTROLTYPE.SIGNALGROUP>();
  118.         }
  119.         return this.signalgroup;
  120.     }

  121.     /**
  122.      * Gets the value of the id property.
  123.      *
  124.      * @return
  125.      *     possible object is
  126.      *     {@link String }
  127.      *    
  128.      */
  129.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  130.     public String getID() {
  131.         return id;
  132.     }

  133.     /**
  134.      * Sets the value of the id property.
  135.      *
  136.      * @param value
  137.      *     allowed object is
  138.      *     {@link String }
  139.      *    
  140.      */
  141.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  142.     public void setID(String value) {
  143.         this.id = value;
  144.     }

  145.     /**
  146.      * Gets the value of the starttime property.
  147.      *
  148.      * @return
  149.      *     possible object is
  150.      *     {@link String }
  151.      *    
  152.      */
  153.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  154.     public Time getSTARTTIME() {
  155.         return starttime;
  156.     }

  157.     /**
  158.      * Sets the value of the starttime property.
  159.      *
  160.      * @param value
  161.      *     allowed object is
  162.      *     {@link String }
  163.      *    
  164.      */
  165.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  166.     public void setSTARTTIME(Time value) {
  167.         this.starttime = value;
  168.     }

  169.     /**
  170.      * Gets the value of the endtime property.
  171.      *
  172.      * @return
  173.      *     possible object is
  174.      *     {@link String }
  175.      *    
  176.      */
  177.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  178.     public Time getENDTIME() {
  179.         return endtime;
  180.     }

  181.     /**
  182.      * Sets the value of the endtime property.
  183.      *
  184.      * @param value
  185.      *     allowed object is
  186.      *     {@link String }
  187.      *    
  188.      */
  189.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  190.     public void setENDTIME(Time value) {
  191.         this.endtime = value;
  192.     }


  193.     /**
  194.      * <p>Java class for anonymous complex type.
  195.      *
  196.      * <p>The following schema fragment specifies the expected content contained within this class.
  197.      *
  198.      * <pre>
  199.      * &lt;complexType&gt;
  200.      *   &lt;complexContent&gt;
  201.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  202.      *       &lt;sequence&gt;
  203.      *         &lt;element name="TRAFFICLIGHT" maxOccurs="unbounded"&gt;
  204.      *           &lt;complexType&gt;
  205.      *             &lt;complexContent&gt;
  206.      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  207.      *                 &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  208.      *                 &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  209.      *                 &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  210.      *               &lt;/restriction&gt;
  211.      *             &lt;/complexContent&gt;
  212.      *           &lt;/complexType&gt;
  213.      *         &lt;/element&gt;
  214.      *       &lt;/sequence&gt;
  215.      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  216.      *     &lt;/restriction&gt;
  217.      *   &lt;/complexContent&gt;
  218.      * &lt;/complexType&gt;
  219.      * </pre>
  220.      *
  221.      *
  222.      */
  223.     @XmlAccessorType(XmlAccessType.FIELD)
  224.     @XmlType(name = "", propOrder = {
  225.         "trafficlight"
  226.     })
  227.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  228.     public static class SIGNALGROUP
  229.         implements Serializable
  230.     {

  231.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  232.         private final static long serialVersionUID = 10102L;
  233.         @XmlElement(name = "TRAFFICLIGHT", required = true)
  234.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  235.         protected List<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT> trafficlight;
  236.         @XmlAttribute(name = "ID", required = true)
  237.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  238.         protected String id;

  239.         /**
  240.          * Gets the value of the trafficlight property.
  241.          *
  242.          * <p>
  243.          * This accessor method returns a reference to the live list,
  244.          * not a snapshot. Therefore any modification you make to the
  245.          * returned list will be present inside the JAXB object.
  246.          * This is why there is not a <CODE>set</CODE> method for the trafficlight property.
  247.          *
  248.          * <p>
  249.          * For example, to add a new item, do as follows:
  250.          * <pre>
  251.          *    getTRAFFICLIGHT().add(newItem);
  252.          * </pre>
  253.          *
  254.          *
  255.          * <p>
  256.          * Objects of the following type(s) are allowed in the list
  257.          * {@link CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT }
  258.          *
  259.          *
  260.          */
  261.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  262.         public List<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT> getTRAFFICLIGHT() {
  263.             if (trafficlight == null) {
  264.                 trafficlight = new ArrayList<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT>();
  265.             }
  266.             return this.trafficlight;
  267.         }

  268.         /**
  269.          * Gets the value of the id property.
  270.          *
  271.          * @return
  272.          *     possible object is
  273.          *     {@link String }
  274.          *    
  275.          */
  276.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  277.         public String getID() {
  278.             return id;
  279.         }

  280.         /**
  281.          * Sets the value of the id property.
  282.          *
  283.          * @param value
  284.          *     allowed object is
  285.          *     {@link String }
  286.          *    
  287.          */
  288.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  289.         public void setID(String value) {
  290.             this.id = value;
  291.         }


  292.         /**
  293.          * <p>Java class for anonymous complex type.
  294.          *
  295.          * <p>The following schema fragment specifies the expected content contained within this class.
  296.          *
  297.          * <pre>
  298.          * &lt;complexType&gt;
  299.          *   &lt;complexContent&gt;
  300.          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  301.          *       &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  302.          *       &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  303.          *       &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  304.          *     &lt;/restriction&gt;
  305.          *   &lt;/complexContent&gt;
  306.          * &lt;/complexType&gt;
  307.          * </pre>
  308.          *
  309.          *
  310.          */
  311.         @XmlAccessorType(XmlAccessType.FIELD)
  312.         @XmlType(name = "")
  313.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  314.         public static class TRAFFICLIGHT
  315.             implements Serializable
  316.         {

  317.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  318.             private final static long serialVersionUID = 10102L;
  319.             @XmlAttribute(name = "LINK", required = true)
  320.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  321.             protected String link;
  322.             @XmlAttribute(name = "LANE", required = true)
  323.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  324.             protected String lane;
  325.             @XmlAttribute(name = "TRAFFICLIGHTID", required = true)
  326.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  327.             protected String trafficlightid;

  328.             /**
  329.              * Gets the value of the link property.
  330.              *
  331.              * @return
  332.              *     possible object is
  333.              *     {@link String }
  334.              *    
  335.              */
  336.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  337.             public String getLINK() {
  338.                 return link;
  339.             }

  340.             /**
  341.              * Sets the value of the link property.
  342.              *
  343.              * @param value
  344.              *     allowed object is
  345.              *     {@link String }
  346.              *    
  347.              */
  348.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  349.             public void setLINK(String value) {
  350.                 this.link = value;
  351.             }

  352.             /**
  353.              * Gets the value of the lane property.
  354.              *
  355.              * @return
  356.              *     possible object is
  357.              *     {@link String }
  358.              *    
  359.              */
  360.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  361.             public String getLANE() {
  362.                 return lane;
  363.             }

  364.             /**
  365.              * Sets the value of the lane property.
  366.              *
  367.              * @param value
  368.              *     allowed object is
  369.              *     {@link String }
  370.              *    
  371.              */
  372.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  373.             public void setLANE(String value) {
  374.                 this.lane = value;
  375.             }

  376.             /**
  377.              * Gets the value of the trafficlightid property.
  378.              *
  379.              * @return
  380.              *     possible object is
  381.              *     {@link String }
  382.              *    
  383.              */
  384.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  385.             public String getTRAFFICLIGHTID() {
  386.                 return trafficlightid;
  387.             }

  388.             /**
  389.              * Sets the value of the trafficlightid property.
  390.              *
  391.              * @param value
  392.              *     allowed object is
  393.              *     {@link String }
  394.              *    
  395.              */
  396.             @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  397.             public void setTRAFFICLIGHTID(String value) {
  398.                 this.trafficlightid = value;
  399.             }

  400.         }

  401.     }

  402. }