TRAFFICLIGHTTYPE.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 javax.annotation.Generated;
  9. import javax.xml.bind.annotation.XmlAccessType;
  10. import javax.xml.bind.annotation.XmlAccessorType;
  11. import javax.xml.bind.annotation.XmlAttribute;
  12. import javax.xml.bind.annotation.XmlSeeAlso;
  13. import javax.xml.bind.annotation.XmlType;
  14. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  15. import org.opentrafficsim.xml.bindings.ClassNameAdapter;
  16. import org.opentrafficsim.xml.bindings.LengthBeginEndAdapter;
  17. import org.opentrafficsim.xml.bindings.types.LengthBeginEnd;


  18. /**
  19.  * <p>Java class for TRAFFICLIGHTTYPE complex type.
  20.  *
  21.  * <p>The following schema fragment specifies the expected content contained within this class.
  22.  *
  23.  * <pre>
  24.  * &lt;complexType name="TRAFFICLIGHTTYPE"&gt;
  25.  *   &lt;complexContent&gt;
  26.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  27.  *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  28.  *       &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  29.  *       &lt;attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" /&gt;
  30.  *       &lt;attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" /&gt;
  31.  *       &lt;attribute name="CONTROLLER" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  32.  *     &lt;/restriction&gt;
  33.  *   &lt;/complexContent&gt;
  34.  * &lt;/complexType&gt;
  35.  * </pre>
  36.  *
  37.  *
  38.  */
  39. @XmlAccessorType(XmlAccessType.FIELD)
  40. @XmlType(name = "TRAFFICLIGHTTYPE")
  41. @XmlSeeAlso({
  42.     SIGNALGROUPTRAFFICLIGHTTYPE.class
  43. })
  44. @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  45. public class TRAFFICLIGHTTYPE {

  46.     @XmlAttribute(name = "NAME", required = true)
  47.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  48.     protected String name;
  49.     @XmlAttribute(name = "LANE", required = true)
  50.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  51.     protected String lane;
  52.     @XmlAttribute(name = "POSITION", required = true)
  53.     @XmlJavaTypeAdapter(LengthBeginEndAdapter.class)
  54.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  55.     protected LengthBeginEnd position;
  56.     @XmlAttribute(name = "CLASS", required = true)
  57.     @XmlJavaTypeAdapter(ClassNameAdapter.class)
  58.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  59.     protected Class _class;
  60.     @XmlAttribute(name = "CONTROLLER", required = true)
  61.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  62.     protected String controller;

  63.     /**
  64.      * Gets the value of the name property.
  65.      *
  66.      * @return
  67.      *     possible object is
  68.      *     {@link String }
  69.      *    
  70.      */
  71.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  72.     public String getNAME() {
  73.         return name;
  74.     }

  75.     /**
  76.      * Sets the value of the name property.
  77.      *
  78.      * @param value
  79.      *     allowed object is
  80.      *     {@link String }
  81.      *    
  82.      */
  83.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  84.     public void setNAME(String value) {
  85.         this.name = value;
  86.     }

  87.     /**
  88.      * Gets the value of the lane property.
  89.      *
  90.      * @return
  91.      *     possible object is
  92.      *     {@link String }
  93.      *    
  94.      */
  95.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  96.     public String getLANE() {
  97.         return lane;
  98.     }

  99.     /**
  100.      * Sets the value of the lane property.
  101.      *
  102.      * @param value
  103.      *     allowed object is
  104.      *     {@link String }
  105.      *    
  106.      */
  107.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  108.     public void setLANE(String value) {
  109.         this.lane = value;
  110.     }

  111.     /**
  112.      * Gets the value of the position property.
  113.      *
  114.      * @return
  115.      *     possible object is
  116.      *     {@link String }
  117.      *    
  118.      */
  119.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  120.     public LengthBeginEnd getPOSITION() {
  121.         return position;
  122.     }

  123.     /**
  124.      * Sets the value of the position property.
  125.      *
  126.      * @param value
  127.      *     allowed object is
  128.      *     {@link String }
  129.      *    
  130.      */
  131.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  132.     public void setPOSITION(LengthBeginEnd value) {
  133.         this.position = value;
  134.     }

  135.     /**
  136.      * Gets the value of the class property.
  137.      *
  138.      * @return
  139.      *     possible object is
  140.      *     {@link String }
  141.      *    
  142.      */
  143.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  144.     public Class getCLASS() {
  145.         return _class;
  146.     }

  147.     /**
  148.      * Sets the value of the class property.
  149.      *
  150.      * @param value
  151.      *     allowed object is
  152.      *     {@link String }
  153.      *    
  154.      */
  155.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  156.     public void setCLASS(Class value) {
  157.         this._class = value;
  158.     }

  159.     /**
  160.      * Gets the value of the controller property.
  161.      *
  162.      * @return
  163.      *     possible object is
  164.      *     {@link String }
  165.      *    
  166.      */
  167.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  168.     public String getCONTROLLER() {
  169.         return controller;
  170.     }

  171.     /**
  172.      * Sets the value of the controller property.
  173.      *
  174.      * @param value
  175.      *     allowed object is
  176.      *     {@link String }
  177.      *    
  178.      */
  179.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  180.     public void setCONTROLLER(String value) {
  181.         this.controller = value;
  182.     }

  183. }