View Javadoc
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.08.29 at 06:50:16 PM CEST 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import java.util.ArrayList;
13  import java.util.List;
14  import javax.annotation.Generated;
15  import javax.xml.bind.annotation.XmlAccessType;
16  import javax.xml.bind.annotation.XmlAccessorType;
17  import javax.xml.bind.annotation.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="DefaultInputParameters" type="{http://www.opentrafficsim.org/ots}InputParameters" minOccurs="0"/&gt;
33   *         &lt;element name="Scenario" type="{http://www.opentrafficsim.org/ots}ScenarioType" maxOccurs="unbounded"/&gt;
34   *       &lt;/sequence&gt;
35   *     &lt;/restriction&gt;
36   *   &lt;/complexContent&gt;
37   * &lt;/complexType&gt;
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "defaultInputParameters",
45      "scenario"
46  })
47  @XmlRootElement(name = "Scenarios")
48  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
49  public class Scenarios
50      implements Serializable
51  {
52  
53      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
54      private final static long serialVersionUID = 10102L;
55      @XmlElement(name = "DefaultInputParameters")
56      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
57      protected InputParameters defaultInputParameters;
58      @XmlElement(name = "Scenario", required = true)
59      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60      protected List<ScenarioType> scenario;
61  
62      /**
63       * Gets the value of the defaultInputParameters property.
64       * 
65       * @return
66       *     possible object is
67       *     {@link InputParameters }
68       *     
69       */
70      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71      public InputParameters getDefaultInputParameters() {
72          return defaultInputParameters;
73      }
74  
75      /**
76       * Sets the value of the defaultInputParameters property.
77       * 
78       * @param value
79       *     allowed object is
80       *     {@link InputParameters }
81       *     
82       */
83      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84      public void setDefaultInputParameters(InputParameters value) {
85          this.defaultInputParameters = value;
86      }
87  
88      /**
89       * Gets the value of the scenario property.
90       * 
91       * <p>
92       * This accessor method returns a reference to the live list,
93       * not a snapshot. Therefore any modification you make to the
94       * returned list will be present inside the JAXB object.
95       * This is why there is not a <CODE>set</CODE> method for the scenario property.
96       * 
97       * <p>
98       * For example, to add a new item, do as follows:
99       * <pre>
100      *    getScenario().add(newItem);
101      * </pre>
102      * 
103      * 
104      * <p>
105      * Objects of the following type(s) are allowed in the list
106      * {@link ScenarioType }
107      * 
108      * 
109      */
110     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
111     public List<ScenarioType> getScenario() {
112         if (scenario == null) {
113             scenario = new ArrayList<ScenarioType>();
114         }
115         return this.scenario;
116     }
117 
118 }