View Javadoc
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: 2020.11.01 at 07:11:19 PM CET 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import javax.annotation.Generated;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlRootElement;
18  import javax.xml.bind.annotation.XmlSchemaType;
19  import javax.xml.bind.annotation.XmlType;
20  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21  import org.djunits.value.vdouble.scalar.Duration;
22  import org.djunits.value.vdouble.scalar.Time;
23  import org.opentrafficsim.xml.bindings.DurationAdapter;
24  import org.opentrafficsim.xml.bindings.TimeAdapter;
25  
26  
27  /**
28   * <p>Java class for anonymous complex type.
29   * 
30   * <p>The following schema fragment specifies the expected content contained within this class.
31   * 
32   * <pre>
33   * &lt;complexType&gt;
34   *   &lt;complexContent&gt;
35   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
36   *       &lt;sequence&gt;
37   *         &lt;element name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" minOccurs="0"/&gt;
38   *         &lt;element name="WARMUPPERIOD" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" minOccurs="0"/&gt;
39   *         &lt;element name="RUNLENGTH" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE"/&gt;
40   *         &lt;element name="NUMBERREPLICATIONS" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/&gt;
41   *         &lt;element ref="{http://www.opentrafficsim.org/ots}RANDOMSTREAMS" minOccurs="0"/&gt;
42   *       &lt;/sequence&gt;
43   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
44   *     &lt;/restriction&gt;
45   *   &lt;/complexContent&gt;
46   * &lt;/complexType&gt;
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "", propOrder = {
53      "starttime",
54      "warmupperiod",
55      "runlength",
56      "numberreplications",
57      "randomstreams"
58  })
59  @XmlRootElement(name = "RUN")
60  @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
61  public class RUN
62      implements Serializable
63  {
64  
65      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
66      private final static long serialVersionUID = 10102L;
67      @XmlElement(name = "STARTTIME", type = String.class, defaultValue = "0s")
68      @XmlJavaTypeAdapter(TimeAdapter.class)
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
70      protected Time starttime;
71      @XmlElement(name = "WARMUPPERIOD", type = String.class, defaultValue = "0s")
72      @XmlJavaTypeAdapter(DurationAdapter.class)
73      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
74      protected Duration warmupperiod;
75      @XmlElement(name = "RUNLENGTH", required = true, type = String.class)
76      @XmlJavaTypeAdapter(DurationAdapter.class)
77      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
78      protected Duration runlength;
79      @XmlElement(name = "NUMBERREPLICATIONS", defaultValue = "1")
80      @XmlSchemaType(name = "unsignedInt")
81      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
82      protected Long numberreplications;
83      @XmlElement(name = "RANDOMSTREAMS")
84      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
85      protected RANDOMSTREAMS randomstreams;
86      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
87      @XmlSchemaType(name = "anyURI")
88      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
89      protected String base;
90  
91      /**
92       * Gets the value of the starttime property.
93       * 
94       * @return
95       *     possible object is
96       *     {@link String }
97       *     
98       */
99      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
100     public Time getSTARTTIME() {
101         return starttime;
102     }
103 
104     /**
105      * Sets the value of the starttime property.
106      * 
107      * @param value
108      *     allowed object is
109      *     {@link String }
110      *     
111      */
112     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
113     public void setSTARTTIME(Time value) {
114         this.starttime = value;
115     }
116 
117     /**
118      * Gets the value of the warmupperiod property.
119      * 
120      * @return
121      *     possible object is
122      *     {@link String }
123      *     
124      */
125     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
126     public Duration getWARMUPPERIOD() {
127         return warmupperiod;
128     }
129 
130     /**
131      * Sets the value of the warmupperiod property.
132      * 
133      * @param value
134      *     allowed object is
135      *     {@link String }
136      *     
137      */
138     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
139     public void setWARMUPPERIOD(Duration value) {
140         this.warmupperiod = value;
141     }
142 
143     /**
144      * Gets the value of the runlength property.
145      * 
146      * @return
147      *     possible object is
148      *     {@link String }
149      *     
150      */
151     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
152     public Duration getRUNLENGTH() {
153         return runlength;
154     }
155 
156     /**
157      * Sets the value of the runlength property.
158      * 
159      * @param value
160      *     allowed object is
161      *     {@link String }
162      *     
163      */
164     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
165     public void setRUNLENGTH(Duration value) {
166         this.runlength = value;
167     }
168 
169     /**
170      * Gets the value of the numberreplications property.
171      * 
172      * @return
173      *     possible object is
174      *     {@link Long }
175      *     
176      */
177     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
178     public Long getNUMBERREPLICATIONS() {
179         return numberreplications;
180     }
181 
182     /**
183      * Sets the value of the numberreplications property.
184      * 
185      * @param value
186      *     allowed object is
187      *     {@link Long }
188      *     
189      */
190     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
191     public void setNUMBERREPLICATIONS(Long value) {
192         this.numberreplications = value;
193     }
194 
195     /**
196      * Gets the value of the randomstreams property.
197      * 
198      * @return
199      *     possible object is
200      *     {@link RANDOMSTREAMS }
201      *     
202      */
203     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
204     public RANDOMSTREAMS getRANDOMSTREAMS() {
205         return randomstreams;
206     }
207 
208     /**
209      * Sets the value of the randomstreams property.
210      * 
211      * @param value
212      *     allowed object is
213      *     {@link RANDOMSTREAMS }
214      *     
215      */
216     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
217     public void setRANDOMSTREAMS(RANDOMSTREAMS value) {
218         this.randomstreams = value;
219     }
220 
221     /**
222      * Gets the value of the base property.
223      * 
224      * @return
225      *     possible object is
226      *     {@link String }
227      *     
228      */
229     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
230     public String getBase() {
231         return base;
232     }
233 
234     /**
235      * Sets the value of the base property.
236      * 
237      * @param value
238      *     allowed object is
239      *     {@link String }
240      *     
241      */
242     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
243     public void setBase(String value) {
244         this.base = value;
245     }
246 
247 }