LANETYPE.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.08.12 at 04:40:29 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.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}COMPATIBILITY" maxOccurs="unbounded"/&gt;
  30.  *       &lt;/sequence&gt;
  31.  *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  32.  *       &lt;attribute name="PARENT" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  33.  *       &lt;attribute name="DEFAULT" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
  34.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&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.     "compatibility"
  45. })
  46. @XmlRootElement(name = "LANETYPE")
  47. @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  48. public class LANETYPE
  49.     implements Serializable
  50. {

  51.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  52.     private final static long serialVersionUID = 10102L;
  53.     @XmlElement(name = "COMPATIBILITY", required = true)
  54.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  55.     protected List<COMPATIBILITY> compatibility;
  56.     @XmlAttribute(name = "ID", required = true)
  57.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  58.     protected String id;
  59.     @XmlAttribute(name = "PARENT")
  60.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  61.     protected String parent;
  62.     @XmlAttribute(name = "DEFAULT")
  63.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  64.     protected Boolean _default;
  65.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  66.     @XmlSchemaType(name = "anyURI")
  67.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  68.     protected String base;

  69.     /**
  70.      * Gets the value of the compatibility property.
  71.      *
  72.      * <p>
  73.      * This accessor method returns a reference to the live list,
  74.      * not a snapshot. Therefore any modification you make to the
  75.      * returned list will be present inside the JAXB object.
  76.      * This is why there is not a <CODE>set</CODE> method for the compatibility property.
  77.      *
  78.      * <p>
  79.      * For example, to add a new item, do as follows:
  80.      * <pre>
  81.      *    getCOMPATIBILITY().add(newItem);
  82.      * </pre>
  83.      *
  84.      *
  85.      * <p>
  86.      * Objects of the following type(s) are allowed in the list
  87.      * {@link COMPATIBILITY }
  88.      *
  89.      *
  90.      */
  91.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  92.     public List<COMPATIBILITY> getCOMPATIBILITY() {
  93.         if (compatibility == null) {
  94.             compatibility = new ArrayList<COMPATIBILITY>();
  95.         }
  96.         return this.compatibility;
  97.     }

  98.     /**
  99.      * Gets the value of the id property.
  100.      *
  101.      * @return
  102.      *     possible object is
  103.      *     {@link String }
  104.      *    
  105.      */
  106.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  107.     public String getID() {
  108.         return id;
  109.     }

  110.     /**
  111.      * Sets the value of the id property.
  112.      *
  113.      * @param value
  114.      *     allowed object is
  115.      *     {@link String }
  116.      *    
  117.      */
  118.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  119.     public void setID(String value) {
  120.         this.id = value;
  121.     }

  122.     /**
  123.      * Gets the value of the parent property.
  124.      *
  125.      * @return
  126.      *     possible object is
  127.      *     {@link String }
  128.      *    
  129.      */
  130.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  131.     public String getPARENT() {
  132.         return parent;
  133.     }

  134.     /**
  135.      * Sets the value of the parent property.
  136.      *
  137.      * @param value
  138.      *     allowed object is
  139.      *     {@link String }
  140.      *    
  141.      */
  142.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  143.     public void setPARENT(String value) {
  144.         this.parent = value;
  145.     }

  146.     /**
  147.      * Gets the value of the default property.
  148.      *
  149.      * @return
  150.      *     possible object is
  151.      *     {@link Boolean }
  152.      *    
  153.      */
  154.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  155.     public boolean isDEFAULT() {
  156.         if (_default == null) {
  157.             return false;
  158.         } else {
  159.             return _default;
  160.         }
  161.     }

  162.     /**
  163.      * Sets the value of the default property.
  164.      *
  165.      * @param value
  166.      *     allowed object is
  167.      *     {@link Boolean }
  168.      *    
  169.      */
  170.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  171.     public void setDEFAULT(Boolean value) {
  172.         this._default = value;
  173.     }

  174.     /**
  175.      * Gets the value of the base property.
  176.      *
  177.      * @return
  178.      *     possible object is
  179.      *     {@link String }
  180.      *    
  181.      */
  182.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  183.     public String getBase() {
  184.         return base;
  185.     }

  186.     /**
  187.      * Sets the value of the base property.
  188.      *
  189.      * @param value
  190.      *     allowed object is
  191.      *     {@link String }
  192.      *    
  193.      */
  194.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
  195.     public void setBase(String value) {
  196.         this.base = value;
  197.     }

  198. }