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: 2019.03.16 at 06:21:55 PM CET 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.math.BigInteger;
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.XmlAttribute;
18  import javax.xml.bind.annotation.XmlElement;
19  import javax.xml.bind.annotation.XmlRootElement;
20  import javax.xml.bind.annotation.XmlSchemaType;
21  import javax.xml.bind.annotation.XmlType;
22  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
23  import org.djunits.value.vdouble.scalar.Duration;
24  import org.djunits.value.vdouble.scalar.Time;
25  import org.opentrafficsim.xml.bindings.DurationAdapter;
26  import org.opentrafficsim.xml.bindings.TimeAdapter;
27  
28  
29  /**
30   * <p>Java class for anonymous complex type.
31   * 
32   * <p>The following schema fragment specifies the expected content contained within this class.
33   * 
34   * <pre>
35   * &lt;complexType&gt;
36   *   &lt;complexContent&gt;
37   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
38   *       &lt;sequence&gt;
39   *         &lt;element name="SEED" maxOccurs="unbounded" minOccurs="0"&gt;
40   *           &lt;complexType&gt;
41   *             &lt;complexContent&gt;
42   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
43   *                 &lt;attribute name="STREAMNAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
44   *                 &lt;attribute name="SEEEDVALUE" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
45   *               &lt;/restriction&gt;
46   *             &lt;/complexContent&gt;
47   *           &lt;/complexType&gt;
48   *         &lt;/element&gt;
49   *       &lt;/sequence&gt;
50   *       &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" default="0s" /&gt;
51   *       &lt;attribute name="WARMUPPERIOD" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" default="0s" /&gt;
52   *       &lt;attribute name="RUNLENGTH" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
53   *       &lt;attribute name="NUMBERREPLICATIONS" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" /&gt;
54   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
55   *     &lt;/restriction&gt;
56   *   &lt;/complexContent&gt;
57   * &lt;/complexType&gt;
58   * </pre>
59   * 
60   * 
61   */
62  @XmlAccessorType(XmlAccessType.FIELD)
63  @XmlType(name = "", propOrder = {
64      "seed"
65  })
66  @XmlRootElement(name = "RUN")
67  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
68  public class RUN {
69  
70      @XmlElement(name = "SEED")
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
72      protected List<RUN.SEED> seed;
73      @XmlAttribute(name = "STARTTIME")
74      @XmlJavaTypeAdapter(TimeAdapter.class)
75      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
76      protected Time starttime;
77      @XmlAttribute(name = "WARMUPPERIOD")
78      @XmlJavaTypeAdapter(DurationAdapter.class)
79      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
80      protected Duration warmupperiod;
81      @XmlAttribute(name = "RUNLENGTH", required = true)
82      @XmlJavaTypeAdapter(DurationAdapter.class)
83      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
84      protected Duration runlength;
85      @XmlAttribute(name = "NUMBERREPLICATIONS")
86      @XmlSchemaType(name = "unsignedInt")
87      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
88      protected Long numberreplications;
89      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
90      @XmlSchemaType(name = "anyURI")
91      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
92      protected String base;
93  
94      /**
95       * Gets the value of the seed property.
96       * 
97       * <p>
98       * This accessor method returns a reference to the live list,
99       * not a snapshot. Therefore any modification you make to the
100      * returned list will be present inside the JAXB object.
101      * This is why there is not a <CODE>set</CODE> method for the seed property.
102      * 
103      * <p>
104      * For example, to add a new item, do as follows:
105      * <pre>
106      *    getSEED().add(newItem);
107      * </pre>
108      * 
109      * 
110      * <p>
111      * Objects of the following type(s) are allowed in the list
112      * {@link RUN.SEED }
113      * 
114      * 
115      */
116     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
117     public List<RUN.SEED> getSEED() {
118         if (seed == null) {
119             seed = new ArrayList<RUN.SEED>();
120         }
121         return this.seed;
122     }
123 
124     /**
125      * Gets the value of the starttime property.
126      * 
127      * @return
128      *     possible object is
129      *     {@link String }
130      *     
131      */
132     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
133     public Time getSTARTTIME() {
134         if (starttime == null) {
135             return new TimeAdapter().unmarshal("0s");
136         } else {
137             return starttime;
138         }
139     }
140 
141     /**
142      * Sets the value of the starttime property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      *     
148      */
149     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
150     public void setSTARTTIME(Time value) {
151         this.starttime = value;
152     }
153 
154     /**
155      * Gets the value of the warmupperiod property.
156      * 
157      * @return
158      *     possible object is
159      *     {@link String }
160      *     
161      */
162     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
163     public Duration getWARMUPPERIOD() {
164         if (warmupperiod == null) {
165             return new DurationAdapter().unmarshal("0s");
166         } else {
167             return warmupperiod;
168         }
169     }
170 
171     /**
172      * Sets the value of the warmupperiod property.
173      * 
174      * @param value
175      *     allowed object is
176      *     {@link String }
177      *     
178      */
179     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
180     public void setWARMUPPERIOD(Duration value) {
181         this.warmupperiod = value;
182     }
183 
184     /**
185      * Gets the value of the runlength property.
186      * 
187      * @return
188      *     possible object is
189      *     {@link String }
190      *     
191      */
192     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
193     public Duration getRUNLENGTH() {
194         return runlength;
195     }
196 
197     /**
198      * Sets the value of the runlength property.
199      * 
200      * @param value
201      *     allowed object is
202      *     {@link String }
203      *     
204      */
205     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
206     public void setRUNLENGTH(Duration value) {
207         this.runlength = value;
208     }
209 
210     /**
211      * Gets the value of the numberreplications property.
212      * 
213      * @return
214      *     possible object is
215      *     {@link Long }
216      *     
217      */
218     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
219     public long getNUMBERREPLICATIONS() {
220         if (numberreplications == null) {
221             return  1L;
222         } else {
223             return numberreplications;
224         }
225     }
226 
227     /**
228      * Sets the value of the numberreplications property.
229      * 
230      * @param value
231      *     allowed object is
232      *     {@link Long }
233      *     
234      */
235     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
236     public void setNUMBERREPLICATIONS(Long value) {
237         this.numberreplications = value;
238     }
239 
240     /**
241      * Gets the value of the base property.
242      * 
243      * @return
244      *     possible object is
245      *     {@link String }
246      *     
247      */
248     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
249     public String getBase() {
250         return base;
251     }
252 
253     /**
254      * Sets the value of the base property.
255      * 
256      * @param value
257      *     allowed object is
258      *     {@link String }
259      *     
260      */
261     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
262     public void setBase(String value) {
263         this.base = value;
264     }
265 
266 
267     /**
268      * <p>Java class for anonymous complex type.
269      * 
270      * <p>The following schema fragment specifies the expected content contained within this class.
271      * 
272      * <pre>
273      * &lt;complexType&gt;
274      *   &lt;complexContent&gt;
275      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
276      *       &lt;attribute name="STREAMNAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
277      *       &lt;attribute name="SEEEDVALUE" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
278      *     &lt;/restriction&gt;
279      *   &lt;/complexContent&gt;
280      * &lt;/complexType&gt;
281      * </pre>
282      * 
283      * 
284      */
285     @XmlAccessorType(XmlAccessType.FIELD)
286     @XmlType(name = "")
287     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
288     public static class SEED {
289 
290         @XmlAttribute(name = "STREAMNAME", required = true)
291         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
292         protected String streamname;
293         @XmlAttribute(name = "SEEEDVALUE", required = true)
294         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
295         protected BigInteger seeedvalue;
296 
297         /**
298          * Gets the value of the streamname property.
299          * 
300          * @return
301          *     possible object is
302          *     {@link String }
303          *     
304          */
305         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
306         public String getSTREAMNAME() {
307             return streamname;
308         }
309 
310         /**
311          * Sets the value of the streamname property.
312          * 
313          * @param value
314          *     allowed object is
315          *     {@link String }
316          *     
317          */
318         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
319         public void setSTREAMNAME(String value) {
320             this.streamname = value;
321         }
322 
323         /**
324          * Gets the value of the seeedvalue property.
325          * 
326          * @return
327          *     possible object is
328          *     {@link BigInteger }
329          *     
330          */
331         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
332         public BigInteger getSEEEDVALUE() {
333             return seeedvalue;
334         }
335 
336         /**
337          * Sets the value of the seeedvalue property.
338          * 
339          * @param value
340          *     allowed object is
341          *     {@link BigInteger }
342          *     
343          */
344         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
345         public void setSEEEDVALUE(BigInteger value) {
346             this.seeedvalue = value;
347         }
348 
349     }
350 
351 }