Ots.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
  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: 2024.05.19 at 03:25:58 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import javax.annotation.Generated;
  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.XmlType;
  16. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  17. import org.opentrafficsim.xml.bindings.SpaceAdapter;
  18. import org.opentrafficsim.xml.bindings.types.StringType;


  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}Definitions"/&gt;
  30.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Network"/&gt;
  31.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Demand" minOccurs="0"/&gt;
  32.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Control" minOccurs="0"/&gt;
  33.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Models" minOccurs="0"/&gt;
  34.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Scenarios" minOccurs="0"/&gt;
  35.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Run"/&gt;
  36.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}Animation" minOccurs="0"/&gt;
  37.  *       &lt;/sequence&gt;
  38.  *       &lt;attribute name="Space" type="{http://www.opentrafficsim.org/ots}space" default="preserve" /&gt;
  39.  *     &lt;/restriction&gt;
  40.  *   &lt;/complexContent&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  *
  45.  */
  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "", propOrder = {
  48.     "definitions",
  49.     "network",
  50.     "demand",
  51.     "control",
  52.     "models",
  53.     "scenarios",
  54.     "run",
  55.     "animation"
  56. })
  57. @XmlRootElement(name = "Ots")
  58. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  59. public class Ots
  60.     implements Serializable
  61. {

  62.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  63.     private final static long serialVersionUID = 10102L;
  64.     @XmlElement(name = "Definitions", required = true)
  65.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  66.     protected Definitions definitions;
  67.     @XmlElement(name = "Network", required = true)
  68.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  69.     protected Network network;
  70.     @XmlElement(name = "Demand")
  71.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  72.     protected Demand demand;
  73.     @XmlElement(name = "Control")
  74.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  75.     protected Control control;
  76.     @XmlElement(name = "Models")
  77.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  78.     protected Models models;
  79.     @XmlElement(name = "Scenarios")
  80.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  81.     protected Scenarios scenarios;
  82.     @XmlElement(name = "Run", required = true)
  83.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  84.     protected Run run;
  85.     @XmlElement(name = "Animation")
  86.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  87.     protected Animation animation;
  88.     @XmlAttribute(name = "Space")
  89.     @XmlJavaTypeAdapter(SpaceAdapter.class)
  90.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  91.     protected StringType space;

  92.     /**
  93.      * Gets the value of the definitions property.
  94.      *
  95.      * @return
  96.      *     possible object is
  97.      *     {@link Definitions }
  98.      *    
  99.      */
  100.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  101.     public Definitions getDefinitions() {
  102.         return definitions;
  103.     }

  104.     /**
  105.      * Sets the value of the definitions property.
  106.      *
  107.      * @param value
  108.      *     allowed object is
  109.      *     {@link Definitions }
  110.      *    
  111.      */
  112.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  113.     public void setDefinitions(Definitions value) {
  114.         this.definitions = value;
  115.     }

  116.     /**
  117.      * Gets the value of the network property.
  118.      *
  119.      * @return
  120.      *     possible object is
  121.      *     {@link Network }
  122.      *    
  123.      */
  124.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  125.     public Network getNetwork() {
  126.         return network;
  127.     }

  128.     /**
  129.      * Sets the value of the network property.
  130.      *
  131.      * @param value
  132.      *     allowed object is
  133.      *     {@link Network }
  134.      *    
  135.      */
  136.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  137.     public void setNetwork(Network value) {
  138.         this.network = value;
  139.     }

  140.     /**
  141.      * Gets the value of the demand property.
  142.      *
  143.      * @return
  144.      *     possible object is
  145.      *     {@link Demand }
  146.      *    
  147.      */
  148.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  149.     public Demand getDemand() {
  150.         return demand;
  151.     }

  152.     /**
  153.      * Sets the value of the demand property.
  154.      *
  155.      * @param value
  156.      *     allowed object is
  157.      *     {@link Demand }
  158.      *    
  159.      */
  160.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  161.     public void setDemand(Demand value) {
  162.         this.demand = value;
  163.     }

  164.     /**
  165.      * Gets the value of the control property.
  166.      *
  167.      * @return
  168.      *     possible object is
  169.      *     {@link Control }
  170.      *    
  171.      */
  172.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  173.     public Control getControl() {
  174.         return control;
  175.     }

  176.     /**
  177.      * Sets the value of the control property.
  178.      *
  179.      * @param value
  180.      *     allowed object is
  181.      *     {@link Control }
  182.      *    
  183.      */
  184.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  185.     public void setControl(Control value) {
  186.         this.control = value;
  187.     }

  188.     /**
  189.      * Gets the value of the models property.
  190.      *
  191.      * @return
  192.      *     possible object is
  193.      *     {@link Models }
  194.      *    
  195.      */
  196.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  197.     public Models getModels() {
  198.         return models;
  199.     }

  200.     /**
  201.      * Sets the value of the models property.
  202.      *
  203.      * @param value
  204.      *     allowed object is
  205.      *     {@link Models }
  206.      *    
  207.      */
  208.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  209.     public void setModels(Models value) {
  210.         this.models = value;
  211.     }

  212.     /**
  213.      * Gets the value of the scenarios property.
  214.      *
  215.      * @return
  216.      *     possible object is
  217.      *     {@link Scenarios }
  218.      *    
  219.      */
  220.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  221.     public Scenarios getScenarios() {
  222.         return scenarios;
  223.     }

  224.     /**
  225.      * Sets the value of the scenarios property.
  226.      *
  227.      * @param value
  228.      *     allowed object is
  229.      *     {@link Scenarios }
  230.      *    
  231.      */
  232.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  233.     public void setScenarios(Scenarios value) {
  234.         this.scenarios = value;
  235.     }

  236.     /**
  237.      * Gets the value of the run property.
  238.      *
  239.      * @return
  240.      *     possible object is
  241.      *     {@link Run }
  242.      *    
  243.      */
  244.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  245.     public Run getRun() {
  246.         return run;
  247.     }

  248.     /**
  249.      * Sets the value of the run property.
  250.      *
  251.      * @param value
  252.      *     allowed object is
  253.      *     {@link Run }
  254.      *    
  255.      */
  256.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  257.     public void setRun(Run value) {
  258.         this.run = value;
  259.     }

  260.     /**
  261.      * Gets the value of the animation property.
  262.      *
  263.      * @return
  264.      *     possible object is
  265.      *     {@link Animation }
  266.      *    
  267.      */
  268.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  269.     public Animation getAnimation() {
  270.         return animation;
  271.     }

  272.     /**
  273.      * Sets the value of the animation property.
  274.      *
  275.      * @param value
  276.      *     allowed object is
  277.      *     {@link Animation }
  278.      *    
  279.      */
  280.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  281.     public void setAnimation(Animation value) {
  282.         this.animation = value;
  283.     }

  284.     /**
  285.      * Gets the value of the space property.
  286.      *
  287.      * @return
  288.      *     possible object is
  289.      *     {@link String }
  290.      *    
  291.      */
  292.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  293.     public StringType getSpace() {
  294.         if (space == null) {
  295.             return new SpaceAdapter().unmarshal("preserve");
  296.         } else {
  297.             return space;
  298.         }
  299.     }

  300.     /**
  301.      * Sets the value of the space property.
  302.      *
  303.      * @param value
  304.      *     allowed object is
  305.      *     {@link String }
  306.      *    
  307.      */
  308.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  309.     public void setSpace(StringType value) {
  310.         this.space = value;
  311.     }

  312. }