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: 2019.03.16 at 06:21:55 PM CET
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.util.ArrayList;
  9. import java.util.List;
  10. import javax.annotation.Generated;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlElement;
  15. import javax.xml.bind.annotation.XmlRootElement;
  16. import javax.xml.bind.annotation.XmlSchemaType;
  17. import javax.xml.bind.annotation.XmlType;
  18. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  19. import org.opentrafficsim.xml.bindings.DrivingDirectionAdapter;
  20. import org.opentrafficsim.xml.bindings.types.DrivingDirectionType;


  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="COMPATIBILITY" maxOccurs="unbounded" minOccurs="0"&gt;
  32.  *           &lt;complexType&gt;
  33.  *             &lt;complexContent&gt;
  34.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  35.  *                 &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  36.  *                 &lt;attribute name="DIRECTION" type="{http://www.opentrafficsim.org/ots}DRIVINGDIRECTIONTYPE" /&gt;
  37.  *               &lt;/restriction&gt;
  38.  *             &lt;/complexContent&gt;
  39.  *           &lt;/complexType&gt;
  40.  *         &lt;/element&gt;
  41.  *       &lt;/sequence&gt;
  42.  *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  43.  *       &lt;attribute name="PARENT" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  44.  *       &lt;attribute name="DEFAULT" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
  45.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
  46.  *     &lt;/restriction&gt;
  47.  *   &lt;/complexContent&gt;
  48.  * &lt;/complexType&gt;
  49.  * </pre>
  50.  *
  51.  *
  52.  */
  53. @XmlAccessorType(XmlAccessType.FIELD)
  54. @XmlType(name = "", propOrder = {
  55.     "compatibility"
  56. })
  57. @XmlRootElement(name = "LINKTYPE")
  58. @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  59. public class LINKTYPE {

  60.     @XmlElement(name = "COMPATIBILITY")
  61.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  62.     protected List<LINKTYPE.COMPATIBILITY> compatibility;
  63.     @XmlAttribute(name = "NAME", required = true)
  64.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  65.     protected String name;
  66.     @XmlAttribute(name = "PARENT")
  67.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  68.     protected String parent;
  69.     @XmlAttribute(name = "DEFAULT")
  70.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  71.     protected Boolean _default;
  72.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  73.     @XmlSchemaType(name = "anyURI")
  74.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  75.     protected String base;

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

  105.     /**
  106.      * Gets the value of the name property.
  107.      *
  108.      * @return
  109.      *     possible object is
  110.      *     {@link String }
  111.      *    
  112.      */
  113.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  114.     public String getNAME() {
  115.         return name;
  116.     }

  117.     /**
  118.      * Sets the value of the name property.
  119.      *
  120.      * @param value
  121.      *     allowed object is
  122.      *     {@link String }
  123.      *    
  124.      */
  125.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  126.     public void setNAME(String value) {
  127.         this.name = value;
  128.     }

  129.     /**
  130.      * Gets the value of the parent property.
  131.      *
  132.      * @return
  133.      *     possible object is
  134.      *     {@link String }
  135.      *    
  136.      */
  137.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  138.     public String getPARENT() {
  139.         return parent;
  140.     }

  141.     /**
  142.      * Sets the value of the parent property.
  143.      *
  144.      * @param value
  145.      *     allowed object is
  146.      *     {@link String }
  147.      *    
  148.      */
  149.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  150.     public void setPARENT(String value) {
  151.         this.parent = value;
  152.     }

  153.     /**
  154.      * Gets the value of the default property.
  155.      *
  156.      * @return
  157.      *     possible object is
  158.      *     {@link Boolean }
  159.      *    
  160.      */
  161.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  162.     public boolean isDEFAULT() {
  163.         if (_default == null) {
  164.             return false;
  165.         } else {
  166.             return _default;
  167.         }
  168.     }

  169.     /**
  170.      * Sets the value of the default property.
  171.      *
  172.      * @param value
  173.      *     allowed object is
  174.      *     {@link Boolean }
  175.      *    
  176.      */
  177.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  178.     public void setDEFAULT(Boolean value) {
  179.         this._default = value;
  180.     }

  181.     /**
  182.      * Gets the value of the base property.
  183.      *
  184.      * @return
  185.      *     possible object is
  186.      *     {@link String }
  187.      *    
  188.      */
  189.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  190.     public String getBase() {
  191.         return base;
  192.     }

  193.     /**
  194.      * Sets the value of the base property.
  195.      *
  196.      * @param value
  197.      *     allowed object is
  198.      *     {@link String }
  199.      *    
  200.      */
  201.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  202.     public void setBase(String value) {
  203.         this.base = value;
  204.     }


  205.     /**
  206.      * <p>Java class for anonymous complex type.
  207.      *
  208.      * <p>The following schema fragment specifies the expected content contained within this class.
  209.      *
  210.      * <pre>
  211.      * &lt;complexType&gt;
  212.      *   &lt;complexContent&gt;
  213.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  214.      *       &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  215.      *       &lt;attribute name="DIRECTION" type="{http://www.opentrafficsim.org/ots}DRIVINGDIRECTIONTYPE" /&gt;
  216.      *     &lt;/restriction&gt;
  217.      *   &lt;/complexContent&gt;
  218.      * &lt;/complexType&gt;
  219.      * </pre>
  220.      *
  221.      *
  222.      */
  223.     @XmlAccessorType(XmlAccessType.FIELD)
  224.     @XmlType(name = "")
  225.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  226.     public static class COMPATIBILITY {

  227.         @XmlAttribute(name = "GTUTYPE", required = true)
  228.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  229.         protected String gtutype;
  230.         @XmlAttribute(name = "DIRECTION")
  231.         @XmlJavaTypeAdapter(DrivingDirectionAdapter.class)
  232.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  233.         protected DrivingDirectionType direction;

  234.         /**
  235.          * Gets the value of the gtutype property.
  236.          *
  237.          * @return
  238.          *     possible object is
  239.          *     {@link String }
  240.          *    
  241.          */
  242.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  243.         public String getGTUTYPE() {
  244.             return gtutype;
  245.         }

  246.         /**
  247.          * Sets the value of the gtutype property.
  248.          *
  249.          * @param value
  250.          *     allowed object is
  251.          *     {@link String }
  252.          *    
  253.          */
  254.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  255.         public void setGTUTYPE(String value) {
  256.             this.gtutype = value;
  257.         }

  258.         /**
  259.          * Gets the value of the direction property.
  260.          *
  261.          * @return
  262.          *     possible object is
  263.          *     {@link String }
  264.          *    
  265.          */
  266.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  267.         public DrivingDirectionType getDIRECTION() {
  268.             return direction;
  269.         }

  270.         /**
  271.          * Sets the value of the direction property.
  272.          *
  273.          * @param value
  274.          *     allowed object is
  275.          *     {@link String }
  276.          *    
  277.          */
  278.         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
  279.         public void setDIRECTION(DrivingDirectionType value) {
  280.             this.direction = value;
  281.         }

  282.     }

  283. }