SINK.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.opentrafficsim.xml.bindings.LengthBeginEndAdapter;
  17. import org.opentrafficsim.xml.bindings.types.LengthBeginEnd;


  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="LINK" 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="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}GTUDIRECTIONTYPE" /&gt;
  30.  *       &lt;attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" /&gt;
  31.  *     &lt;/restriction&gt;
  32.  *   &lt;/complexContent&gt;
  33.  * &lt;/complexType&gt;
  34.  * </pre>
  35.  *
  36.  *
  37.  */
  38. @XmlAccessorType(XmlAccessType.FIELD)
  39. @XmlType(name = "")
  40. @XmlRootElement(name = "SINK")
  41. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  42. public class SINK
  43.     implements Serializable
  44. {

  45.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  46.     private final static long serialVersionUID = 10102L;
  47.     @XmlAttribute(name = "LINK", required = true)
  48.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  49.     protected String link;
  50.     @XmlAttribute(name = "LANE", required = true)
  51.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  52.     protected String lane;
  53.     @XmlAttribute(name = "DIRECTION", required = true)
  54.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  55.     protected String direction;
  56.     @XmlAttribute(name = "POSITION", required = true)
  57.     @XmlJavaTypeAdapter(LengthBeginEndAdapter.class)
  58.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  59.     protected LengthBeginEnd position;

  60.     /**
  61.      * Gets the value of the link property.
  62.      *
  63.      * @return
  64.      *     possible object is
  65.      *     {@link String }
  66.      *    
  67.      */
  68.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  69.     public String getLINK() {
  70.         return link;
  71.     }

  72.     /**
  73.      * Sets the value of the link property.
  74.      *
  75.      * @param value
  76.      *     allowed object is
  77.      *     {@link String }
  78.      *    
  79.      */
  80.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  81.     public void setLINK(String value) {
  82.         this.link = value;
  83.     }

  84.     /**
  85.      * Gets the value of the lane property.
  86.      *
  87.      * @return
  88.      *     possible object is
  89.      *     {@link String }
  90.      *    
  91.      */
  92.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  93.     public String getLANE() {
  94.         return lane;
  95.     }

  96.     /**
  97.      * Sets the value of the lane property.
  98.      *
  99.      * @param value
  100.      *     allowed object is
  101.      *     {@link String }
  102.      *    
  103.      */
  104.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  105.     public void setLANE(String value) {
  106.         this.lane = value;
  107.     }

  108.     /**
  109.      * Gets the value of the direction property.
  110.      *
  111.      * @return
  112.      *     possible object is
  113.      *     {@link String }
  114.      *    
  115.      */
  116.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  117.     public String getDIRECTION() {
  118.         return direction;
  119.     }

  120.     /**
  121.      * Sets the value of the direction property.
  122.      *
  123.      * @param value
  124.      *     allowed object is
  125.      *     {@link String }
  126.      *    
  127.      */
  128.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  129.     public void setDIRECTION(String value) {
  130.         this.direction = value;
  131.     }

  132.     /**
  133.      * Gets the value of the position property.
  134.      *
  135.      * @return
  136.      *     possible object is
  137.      *     {@link String }
  138.      *    
  139.      */
  140.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  141.     public LengthBeginEnd getPOSITION() {
  142.         return position;
  143.     }

  144.     /**
  145.      * Sets the value of the position property.
  146.      *
  147.      * @param value
  148.      *     allowed object is
  149.      *     {@link String }
  150.      *    
  151.      */
  152.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  153.     public void setPOSITION(LengthBeginEnd value) {
  154.         this.position = value;
  155.     }

  156. }