Route.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
  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: 2024.05.19 at 03:25:58 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.XmlRootElement;
  17. import javax.xml.bind.annotation.XmlType;
  18. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  19. import org.opentrafficsim.xml.bindings.StringAdapter;
  20. import org.opentrafficsim.xml.bindings.types.StringType;


  21. /**
  22.  * <p>Java class for anonymous complex type.
  23.  *
  24.  * <p>The following schema fragment specifies the expected content contained within this class.
  25.  *
  26.  * <pre>
  27.  * &lt;complexType&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="Node" type="{http://www.opentrafficsim.org/ots}string" maxOccurs="unbounded" minOccurs="2"/&gt;
  32.  *       &lt;/sequence&gt;
  33.  *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
  34.  *       &lt;attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
  35.  *     &lt;/restriction&gt;
  36.  *   &lt;/complexContent&gt;
  37.  * &lt;/complexType&gt;
  38.  * </pre>
  39.  *
  40.  *
  41.  */
  42. @XmlAccessorType(XmlAccessType.FIELD)
  43. @XmlType(name = "", propOrder = {
  44.     "node"
  45. })
  46. @XmlRootElement(name = "Route")
  47. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  48. public class Route
  49.     implements Serializable
  50. {

  51.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  52.     private final static long serialVersionUID = 10102L;
  53.     @XmlElement(name = "Node", required = true, type = String.class)
  54.     @XmlJavaTypeAdapter(StringAdapter.class)
  55.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  56.     protected List<StringType> node;
  57.     @XmlAttribute(name = "Id", required = true)
  58.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  59.     protected String id;
  60.     @XmlAttribute(name = "GtuType", required = true)
  61.     @XmlJavaTypeAdapter(StringAdapter.class)
  62.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  63.     protected StringType gtuType;

  64.     /**
  65.      * Gets the value of the node property.
  66.      *
  67.      * <p>
  68.      * This accessor method returns a reference to the live list,
  69.      * not a snapshot. Therefore any modification you make to the
  70.      * returned list will be present inside the JAXB object.
  71.      * This is why there is not a <CODE>set</CODE> method for the node property.
  72.      *
  73.      * <p>
  74.      * For example, to add a new item, do as follows:
  75.      * <pre>
  76.      *    getNode().add(newItem);
  77.      * </pre>
  78.      *
  79.      *
  80.      * <p>
  81.      * Objects of the following type(s) are allowed in the list
  82.      * {@link String }
  83.      *
  84.      *
  85.      */
  86.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  87.     public List<StringType> getNode() {
  88.         if (node == null) {
  89.             node = new ArrayList<StringType>();
  90.         }
  91.         return this.node;
  92.     }

  93.     /**
  94.      * Gets the value of the id property.
  95.      *
  96.      * @return
  97.      *     possible object is
  98.      *     {@link String }
  99.      *    
  100.      */
  101.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  102.     public String getId() {
  103.         return id;
  104.     }

  105.     /**
  106.      * Sets the value of the id property.
  107.      *
  108.      * @param value
  109.      *     allowed object is
  110.      *     {@link String }
  111.      *    
  112.      */
  113.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  114.     public void setId(String value) {
  115.         this.id = value;
  116.     }

  117.     /**
  118.      * Gets the value of the gtuType property.
  119.      *
  120.      * @return
  121.      *     possible object is
  122.      *     {@link String }
  123.      *    
  124.      */
  125.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  126.     public StringType getGtuType() {
  127.         return gtuType;
  128.     }

  129.     /**
  130.      * Sets the value of the gtuType property.
  131.      *
  132.      * @param value
  133.      *     allowed object is
  134.      *     {@link String }
  135.      *    
  136.      */
  137.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  138.     public void setGtuType(StringType value) {
  139.         this.gtuType = value;
  140.     }

  141. }