LINKTYPE.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.01.24 at 05:08:34 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}COMPATIBILITY" maxOccurs="unbounded"/&gt;
  30.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0"/&gt;
  31.  *       &lt;/sequence&gt;
  32.  *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  33.  *       &lt;attribute name="PARENT" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  34.  *       &lt;attribute name="DEFAULT" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
  35.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
  36.  *     &lt;/restriction&gt;
  37.  *   &lt;/complexContent&gt;
  38.  * &lt;/complexType&gt;
  39.  * </pre>
  40.  *
  41.  *
  42.  */
  43. @XmlAccessorType(XmlAccessType.FIELD)
  44. @XmlType(name = "", propOrder = {
  45.     "compatibility",
  46.     "speedlimit"
  47. })
  48. @XmlRootElement(name = "LINKTYPE")
  49. @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  50. public class LINKTYPE
  51.     implements Serializable
  52. {

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

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

  103.     /**
  104.      * Gets the value of the speedlimit property.
  105.      *
  106.      * <p>
  107.      * This accessor method returns a reference to the live list,
  108.      * not a snapshot. Therefore any modification you make to the
  109.      * returned list will be present inside the JAXB object.
  110.      * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
  111.      *
  112.      * <p>
  113.      * For example, to add a new item, do as follows:
  114.      * <pre>
  115.      *    getSPEEDLIMIT().add(newItem);
  116.      * </pre>
  117.      *
  118.      *
  119.      * <p>
  120.      * Objects of the following type(s) are allowed in the list
  121.      * {@link SPEEDLIMIT }
  122.      *
  123.      *
  124.      */
  125.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  126.     public List<SPEEDLIMIT> getSPEEDLIMIT() {
  127.         if (speedlimit == null) {
  128.             speedlimit = new ArrayList<SPEEDLIMIT>();
  129.         }
  130.         return this.speedlimit;
  131.     }

  132.     /**
  133.      * Gets the value of the id property.
  134.      *
  135.      * @return
  136.      *     possible object is
  137.      *     {@link String }
  138.      *    
  139.      */
  140.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  141.     public String getID() {
  142.         return id;
  143.     }

  144.     /**
  145.      * Sets the value of the id property.
  146.      *
  147.      * @param value
  148.      *     allowed object is
  149.      *     {@link String }
  150.      *    
  151.      */
  152.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  153.     public void setID(String value) {
  154.         this.id = value;
  155.     }

  156.     /**
  157.      * Gets the value of the parent property.
  158.      *
  159.      * @return
  160.      *     possible object is
  161.      *     {@link String }
  162.      *    
  163.      */
  164.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  165.     public String getPARENT() {
  166.         return parent;
  167.     }

  168.     /**
  169.      * Sets the value of the parent property.
  170.      *
  171.      * @param value
  172.      *     allowed object is
  173.      *     {@link String }
  174.      *    
  175.      */
  176.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  177.     public void setPARENT(String value) {
  178.         this.parent = value;
  179.     }

  180.     /**
  181.      * Gets the value of the default property.
  182.      *
  183.      * @return
  184.      *     possible object is
  185.      *     {@link Boolean }
  186.      *    
  187.      */
  188.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  189.     public boolean isDEFAULT() {
  190.         if (_default == null) {
  191.             return false;
  192.         } else {
  193.             return _default;
  194.         }
  195.     }

  196.     /**
  197.      * Sets the value of the default property.
  198.      *
  199.      * @param value
  200.      *     allowed object is
  201.      *     {@link Boolean }
  202.      *    
  203.      */
  204.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  205.     public void setDEFAULT(Boolean value) {
  206.         this._default = value;
  207.     }

  208.     /**
  209.      * Gets the value of the base property.
  210.      *
  211.      * @return
  212.      *     possible object is
  213.      *     {@link String }
  214.      *    
  215.      */
  216.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  217.     public String getBase() {
  218.         return base;
  219.     }

  220.     /**
  221.      * Sets the value of the base property.
  222.      *
  223.      * @param value
  224.      *     allowed object is
  225.      *     {@link String }
  226.      *    
  227.      */
  228.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  229.     public void setBase(String value) {
  230.         this.base = value;
  231.     }

  232. }