GTUTYPES.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: 2020.11.01 at 07:11:19 PM CET
  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.XmlSchemaType;
  18. import javax.xml.bind.annotation.XmlType;


  19. /**
  20.  * <p>Java class for anonymous complex type.
  21.  *
  22.  * <p>The following schema fragment specifies the expected content contained within this class.
  23.  *
  24.  * <pre>
  25.  * &lt;complexType&gt;
  26.  *   &lt;complexContent&gt;
  27.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  28.  *       &lt;sequence&gt;
  29.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}GTUTYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
  30.  *       &lt;/sequence&gt;
  31.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&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 = "", propOrder = {
  41.     "gtutype"
  42. })
  43. @XmlRootElement(name = "GTUTYPES")
  44. @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  45. public class GTUTYPES implements Serializable
  46. {

  47.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  48.     private final static long serialVersionUID = 10102L;
  49.     @XmlElement(name = "GTUTYPE")
  50.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  51.     protected List<GTUTYPE> gtutype;
  52.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  53.     @XmlSchemaType(name = "anyURI")
  54.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  55.     protected String base;

  56.     /**
  57.      * Gets the value of the gtutype property.
  58.      *
  59.      * <p>
  60.      * This accessor method returns a reference to the live list,
  61.      * not a snapshot. Therefore any modification you make to the
  62.      * returned list will be present inside the JAXB object.
  63.      * This is why there is not a <CODE>set</CODE> method for the gtutype property.
  64.      *
  65.      * <p>
  66.      * For example, to add a new item, do as follows:
  67.      * <pre>
  68.      *    getGTUTYPE().add(newItem);
  69.      * </pre>
  70.      *
  71.      *
  72.      * <p>
  73.      * Objects of the following type(s) are allowed in the list
  74.      * {@link GTUTYPE }
  75.      *
  76.      *
  77.      */
  78.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  79.     public List<GTUTYPE> getGTUTYPE() {
  80.         if (gtutype == null) {
  81.             gtutype = new ArrayList<GTUTYPE>();
  82.         }
  83.         return this.gtutype;
  84.     }

  85.     /**
  86.      * Gets the value of the base property.
  87.      *
  88.      * @return
  89.      *     possible object is
  90.      *     {@link String }
  91.      *    
  92.      */
  93.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  94.     public String getBase() {
  95.         return base;
  96.     }

  97.     /**
  98.      * Sets the value of the base property.
  99.      *
  100.      * @param value
  101.      *     allowed object is
  102.      *     {@link String }
  103.      *    
  104.      */
  105.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
  106.     public void setBase(String value) {
  107.         this.base = value;
  108.     }

  109. }