SHORTESTROUTEMIX.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2016.11.03 at 01:02:34 PM CET
  6. //

  7. package org.opentrafficsim.road.network.factory.vissim.xsd;

  8. import java.util.ArrayList;
  9. import java.util.List;

  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlElement;
  14. import javax.xml.bind.annotation.XmlRootElement;
  15. import javax.xml.bind.annotation.XmlSchemaType;
  16. import javax.xml.bind.annotation.XmlType;

  17. /**
  18.  * <p>
  19.  * Java class for anonymous complex type.
  20.  * <p>
  21.  * The following schema fragment specifies the expected content contained within this class.
  22.  *
  23.  * <pre>
  24.  * &lt;complexType>
  25.  *   &lt;complexContent>
  26.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  27.  *       &lt;sequence>
  28.  *         &lt;element name="SHORTESTROUTE" maxOccurs="unbounded">
  29.  *           &lt;complexType>
  30.  *             &lt;complexContent>
  31.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  32.  *                 &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
  33.  *                 &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
  34.  *               &lt;/restriction>
  35.  *             &lt;/complexContent>
  36.  *           &lt;/complexType>
  37.  *         &lt;/element>
  38.  *       &lt;/sequence>
  39.  *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
  40.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
  41.  *     &lt;/restriction>
  42.  *   &lt;/complexContent>
  43.  * &lt;/complexType>
  44.  * </pre>
  45.  */
  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "", propOrder = { "shortestroute" })
  48. @XmlRootElement(name = "SHORTESTROUTEMIX")
  49. public class SHORTESTROUTEMIX
  50. {

  51.     @XmlElement(name = "SHORTESTROUTE", required = true)
  52.     protected List<SHORTESTROUTEMIX.SHORTESTROUTE> shortestroute;

  53.     @XmlAttribute(name = "NAME", required = true)
  54.     protected String name;

  55.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  56.     @XmlSchemaType(name = "anyURI")
  57.     protected String base;

  58.     /**
  59.      * Gets the value of the shortestroute property.
  60.      * <p>
  61.      * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
  62.      * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the
  63.      * shortestroute property.
  64.      * <p>
  65.      * For example, to add a new item, do as follows:
  66.      *
  67.      * <pre>
  68.      * getSHORTESTROUTE().add(newItem);
  69.      * </pre>
  70.      * <p>
  71.      * Objects of the following type(s) are allowed in the list {@link SHORTESTROUTEMIX.SHORTESTROUTE }
  72.      */
  73.     public List<SHORTESTROUTEMIX.SHORTESTROUTE> getSHORTESTROUTE()
  74.     {
  75.         if (shortestroute == null)
  76.         {
  77.             shortestroute = new ArrayList<SHORTESTROUTEMIX.SHORTESTROUTE>();
  78.         }
  79.         return this.shortestroute;
  80.     }

  81.     /**
  82.      * Gets the value of the name property.
  83.      * @return possible object is {@link String }
  84.      */
  85.     public String getNAME()
  86.     {
  87.         return name;
  88.     }

  89.     /**
  90.      * Sets the value of the name property.
  91.      * @param value String; allowed object is {@link String }
  92.      */
  93.     public void setNAME(String value)
  94.     {
  95.         this.name = value;
  96.     }

  97.     /**
  98.      * Gets the value of the base property.
  99.      * @return possible object is {@link String }
  100.      */
  101.     public String getBase()
  102.     {
  103.         return base;
  104.     }

  105.     /**
  106.      * Sets the value of the base property.
  107.      * @param value String; allowed object is {@link String }
  108.      */
  109.     public void setBase(String value)
  110.     {
  111.         this.base = value;
  112.     }

  113.     /**
  114.      * <p>
  115.      * Java class for anonymous complex type.
  116.      * <p>
  117.      * The following schema fragment specifies the expected content contained within this class.
  118.      *
  119.      * <pre>
  120.      * &lt;complexType>
  121.      *   &lt;complexContent>
  122.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  123.      *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
  124.      *       &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
  125.      *     &lt;/restriction>
  126.      *   &lt;/complexContent>
  127.      * &lt;/complexType>
  128.      * </pre>
  129.      */
  130.     @XmlAccessorType(XmlAccessType.FIELD)
  131.     @XmlType(name = "")
  132.     public static class SHORTESTROUTE
  133.     {

  134.         @XmlAttribute(name = "NAME", required = true)
  135.         protected String name;

  136.         @XmlAttribute(name = "WEIGHT", required = true)
  137.         protected double weight;

  138.         /**
  139.          * Gets the value of the name property.
  140.          * @return possible object is {@link String }
  141.          */
  142.         public String getNAME()
  143.         {
  144.             return name;
  145.         }

  146.         /**
  147.          * Sets the value of the name property.
  148.          * @param value String; allowed object is {@link String }
  149.          */
  150.         public void setNAME(String value)
  151.         {
  152.             this.name = value;
  153.         }

  154.         /**
  155.          * Gets the value of the weight property.
  156.          */
  157.         public double getWEIGHT()
  158.         {
  159.             return weight;
  160.         }

  161.         /**
  162.          * Sets the value of the weight property.
  163.          */
  164.         public void setWEIGHT(double value)
  165.         {
  166.             this.weight = value;
  167.         }

  168.     }

  169. }