OTS.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.6
  3. // See https://eclipse-ee4j.github.io/jaxb-ri
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2022.09.04 at 02:31:11 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. import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
  20. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


  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 ref="{http://www.opentrafficsim.org/ots}DEFINITIONS"/&gt;
  32.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORK"/&gt;
  33.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORKDEMAND" maxOccurs="unbounded" minOccurs="0"/&gt;
  34.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}CONTROL" maxOccurs="unbounded" minOccurs="0"/&gt;
  35.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}MODEL" maxOccurs="unbounded" minOccurs="0"/&gt;
  36.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}SCENARIO" maxOccurs="unbounded"/&gt;
  37.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}RUN"/&gt;
  38.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}ANIMATION" minOccurs="0"/&gt;
  39.  *       &lt;/sequence&gt;
  40.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
  41.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}space default="preserve""/&gt;
  42.  *     &lt;/restriction&gt;
  43.  *   &lt;/complexContent&gt;
  44.  * &lt;/complexType&gt;
  45.  * </pre>
  46.  *
  47.  *
  48.  */
  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "", propOrder = {
  51.     "definitions",
  52.     "network",
  53.     "networkdemand",
  54.     "control",
  55.     "model",
  56.     "scenario",
  57.     "run",
  58.     "animation"
  59. })
  60. @XmlRootElement(name = "OTS")
  61. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  62. public class OTS
  63.     implements Serializable
  64. {

  65.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  66.     private final static long serialVersionUID = 10102L;
  67.     @XmlElement(name = "DEFINITIONS", required = true)
  68.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  69.     protected DEFINITIONS definitions;
  70.     @XmlElement(name = "NETWORK", required = true)
  71.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  72.     protected NETWORK network;
  73.     @XmlElement(name = "NETWORKDEMAND")
  74.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  75.     protected List<NETWORKDEMAND> networkdemand;
  76.     @XmlElement(name = "CONTROL")
  77.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  78.     protected List<CONTROL> control;
  79.     @XmlElement(name = "MODEL")
  80.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  81.     protected List<MODELTYPE> model;
  82.     @XmlElement(name = "SCENARIO", required = true)
  83.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  84.     protected List<SCENARIO> scenario;
  85.     @XmlElement(name = "RUN", required = true)
  86.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  87.     protected RUN run;
  88.     @XmlElement(name = "ANIMATION")
  89.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  90.     protected ANIMATION animation;
  91.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  92.     @XmlSchemaType(name = "anyURI")
  93.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  94.     protected String base;
  95.     @XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace")
  96.     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  97.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  98.     protected String space;

  99.     /**
  100.      * Gets the value of the definitions property.
  101.      *
  102.      * @return
  103.      *     possible object is
  104.      *     {@link DEFINITIONS }
  105.      *    
  106.      */
  107.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  108.     public DEFINITIONS getDEFINITIONS() {
  109.         return definitions;
  110.     }

  111.     /**
  112.      * Sets the value of the definitions property.
  113.      *
  114.      * @param value
  115.      *     allowed object is
  116.      *     {@link DEFINITIONS }
  117.      *    
  118.      */
  119.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  120.     public void setDEFINITIONS(DEFINITIONS value) {
  121.         this.definitions = value;
  122.     }

  123.     /**
  124.      * Gets the value of the network property.
  125.      *
  126.      * @return
  127.      *     possible object is
  128.      *     {@link NETWORK }
  129.      *    
  130.      */
  131.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  132.     public NETWORK getNETWORK() {
  133.         return network;
  134.     }

  135.     /**
  136.      * Sets the value of the network property.
  137.      *
  138.      * @param value
  139.      *     allowed object is
  140.      *     {@link NETWORK }
  141.      *    
  142.      */
  143.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  144.     public void setNETWORK(NETWORK value) {
  145.         this.network = value;
  146.     }

  147.     /**
  148.      * Gets the value of the networkdemand property.
  149.      *
  150.      * <p>
  151.      * This accessor method returns a reference to the live list,
  152.      * not a snapshot. Therefore any modification you make to the
  153.      * returned list will be present inside the JAXB object.
  154.      * This is why there is not a <CODE>set</CODE> method for the networkdemand property.
  155.      *
  156.      * <p>
  157.      * For example, to add a new item, do as follows:
  158.      * <pre>
  159.      *    getNETWORKDEMAND().add(newItem);
  160.      * </pre>
  161.      *
  162.      *
  163.      * <p>
  164.      * Objects of the following type(s) are allowed in the list
  165.      * {@link NETWORKDEMAND }
  166.      *
  167.      *
  168.      */
  169.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  170.     public List<NETWORKDEMAND> getNETWORKDEMAND() {
  171.         if (networkdemand == null) {
  172.             networkdemand = new ArrayList<NETWORKDEMAND>();
  173.         }
  174.         return this.networkdemand;
  175.     }

  176.     /**
  177.      * Gets the value of the control property.
  178.      *
  179.      * <p>
  180.      * This accessor method returns a reference to the live list,
  181.      * not a snapshot. Therefore any modification you make to the
  182.      * returned list will be present inside the JAXB object.
  183.      * This is why there is not a <CODE>set</CODE> method for the control property.
  184.      *
  185.      * <p>
  186.      * For example, to add a new item, do as follows:
  187.      * <pre>
  188.      *    getCONTROL().add(newItem);
  189.      * </pre>
  190.      *
  191.      *
  192.      * <p>
  193.      * Objects of the following type(s) are allowed in the list
  194.      * {@link CONTROL }
  195.      *
  196.      *
  197.      */
  198.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  199.     public List<CONTROL> getCONTROL() {
  200.         if (control == null) {
  201.             control = new ArrayList<CONTROL>();
  202.         }
  203.         return this.control;
  204.     }

  205.     /**
  206.      * Gets the value of the model property.
  207.      *
  208.      * <p>
  209.      * This accessor method returns a reference to the live list,
  210.      * not a snapshot. Therefore any modification you make to the
  211.      * returned list will be present inside the JAXB object.
  212.      * This is why there is not a <CODE>set</CODE> method for the model property.
  213.      *
  214.      * <p>
  215.      * For example, to add a new item, do as follows:
  216.      * <pre>
  217.      *    getMODEL().add(newItem);
  218.      * </pre>
  219.      *
  220.      *
  221.      * <p>
  222.      * Objects of the following type(s) are allowed in the list
  223.      * {@link MODELTYPE }
  224.      *
  225.      *
  226.      */
  227.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  228.     public List<MODELTYPE> getMODEL() {
  229.         if (model == null) {
  230.             model = new ArrayList<MODELTYPE>();
  231.         }
  232.         return this.model;
  233.     }

  234.     /**
  235.      * Gets the value of the scenario property.
  236.      *
  237.      * <p>
  238.      * This accessor method returns a reference to the live list,
  239.      * not a snapshot. Therefore any modification you make to the
  240.      * returned list will be present inside the JAXB object.
  241.      * This is why there is not a <CODE>set</CODE> method for the scenario property.
  242.      *
  243.      * <p>
  244.      * For example, to add a new item, do as follows:
  245.      * <pre>
  246.      *    getSCENARIO().add(newItem);
  247.      * </pre>
  248.      *
  249.      *
  250.      * <p>
  251.      * Objects of the following type(s) are allowed in the list
  252.      * {@link SCENARIO }
  253.      *
  254.      *
  255.      */
  256.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  257.     public List<SCENARIO> getSCENARIO() {
  258.         if (scenario == null) {
  259.             scenario = new ArrayList<SCENARIO>();
  260.         }
  261.         return this.scenario;
  262.     }

  263.     /**
  264.      * Gets the value of the run property.
  265.      *
  266.      * @return
  267.      *     possible object is
  268.      *     {@link RUN }
  269.      *    
  270.      */
  271.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  272.     public RUN getRUN() {
  273.         return run;
  274.     }

  275.     /**
  276.      * Sets the value of the run property.
  277.      *
  278.      * @param value
  279.      *     allowed object is
  280.      *     {@link RUN }
  281.      *    
  282.      */
  283.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  284.     public void setRUN(RUN value) {
  285.         this.run = value;
  286.     }

  287.     /**
  288.      * Gets the value of the animation property.
  289.      *
  290.      * @return
  291.      *     possible object is
  292.      *     {@link ANIMATION }
  293.      *    
  294.      */
  295.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  296.     public ANIMATION getANIMATION() {
  297.         return animation;
  298.     }

  299.     /**
  300.      * Sets the value of the animation property.
  301.      *
  302.      * @param value
  303.      *     allowed object is
  304.      *     {@link ANIMATION }
  305.      *    
  306.      */
  307.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  308.     public void setANIMATION(ANIMATION value) {
  309.         this.animation = value;
  310.     }

  311.     /**
  312.      * Gets the value of the base property.
  313.      *
  314.      * @return
  315.      *     possible object is
  316.      *     {@link String }
  317.      *    
  318.      */
  319.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  320.     public String getBase() {
  321.         return base;
  322.     }

  323.     /**
  324.      * Sets the value of the base property.
  325.      *
  326.      * @param value
  327.      *     allowed object is
  328.      *     {@link String }
  329.      *    
  330.      */
  331.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  332.     public void setBase(String value) {
  333.         this.base = value;
  334.     }

  335.     /**
  336.      * Gets the value of the space property.
  337.      *
  338.      * @return
  339.      *     possible object is
  340.      *     {@link String }
  341.      *    
  342.      */
  343.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  344.     public String getSpace() {
  345.         if (space == null) {
  346.             return "preserve";
  347.         } else {
  348.             return space;
  349.         }
  350.     }

  351.     /**
  352.      * Sets the value of the space property.
  353.      *
  354.      * @param value
  355.      *     allowed object is
  356.      *     {@link String }
  357.      *    
  358.      */
  359.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2022-09-04T02:31:11+02:00")
  360.     public void setSpace(String value) {
  361.         this.space = value;
  362.     }

  363. }