SPEEDLIMIT.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 javax.annotation.Generated;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlRootElement;
  14. import javax.xml.bind.annotation.XmlType;
  15. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  16. import org.djunits.value.vdouble.scalar.Speed;
  17. import org.opentrafficsim.xml.bindings.SpeedAdapter;


  18. /**
  19.  * <p>Java class for anonymous complex type.
  20.  *
  21.  * <p>The following schema fragment specifies the expected content contained within this class.
  22.  *
  23.  * <pre>
  24.  * &lt;complexType&gt;
  25.  *   &lt;complexContent&gt;
  26.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  27.  *       &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  28.  *       &lt;attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" /&gt;
  29.  *     &lt;/restriction&gt;
  30.  *   &lt;/complexContent&gt;
  31.  * &lt;/complexType&gt;
  32.  * </pre>
  33.  *
  34.  *
  35.  */
  36. @XmlAccessorType(XmlAccessType.FIELD)
  37. @XmlType(name = "")
  38. @XmlRootElement(name = "SPEEDLIMIT")
  39. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  40. public class SPEEDLIMIT
  41.     implements Serializable
  42. {

  43.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  44.     private final static long serialVersionUID = 10102L;
  45.     @XmlAttribute(name = "GTUTYPE", required = true)
  46.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  47.     protected String gtutype;
  48.     @XmlAttribute(name = "LEGALSPEEDLIMIT")
  49.     @XmlJavaTypeAdapter(SpeedAdapter.class)
  50.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  51.     protected Speed legalspeedlimit;

  52.     /**
  53.      * Gets the value of the gtutype property.
  54.      *
  55.      * @return
  56.      *     possible object is
  57.      *     {@link String }
  58.      *    
  59.      */
  60.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  61.     public String getGTUTYPE() {
  62.         return gtutype;
  63.     }

  64.     /**
  65.      * Sets the value of the gtutype property.
  66.      *
  67.      * @param value
  68.      *     allowed object is
  69.      *     {@link String }
  70.      *    
  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 void setGTUTYPE(String value) {
  74.         this.gtutype = value;
  75.     }

  76.     /**
  77.      * Gets the value of the legalspeedlimit property.
  78.      *
  79.      * @return
  80.      *     possible object is
  81.      *     {@link String }
  82.      *    
  83.      */
  84.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  85.     public Speed getLEGALSPEEDLIMIT() {
  86.         return legalspeedlimit;
  87.     }

  88.     /**
  89.      * Sets the value of the legalspeedlimit property.
  90.      *
  91.      * @param value
  92.      *     allowed object is
  93.      *     {@link String }
  94.      *    
  95.      */
  96.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  97.     public void setLEGALSPEEDLIMIT(Speed value) {
  98.         this.legalspeedlimit = value;
  99.     }

  100. }