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.04.20 at 02:12:22 AM 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.XmlElements;
19  import javax.xml.bind.annotation.XmlRootElement;
20  import javax.xml.bind.annotation.XmlType;
21  
22  
23  /**
24   * <p>Java class for anonymous complex type.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;complexType&gt;
30   *   &lt;complexContent&gt;
31   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32   *       &lt;sequence&gt;
33   *         &lt;choice maxOccurs="unbounded"&gt;
34   *           &lt;element name="STRING" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPESTRING"/&gt;
35   *           &lt;element name="ACCELERATION" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEACCELERATION"/&gt;
36   *           &lt;element name="BOOLEAN" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEBOOLEAN"/&gt;
37   *           &lt;element name="CLASS" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPECLASS"/&gt;
38   *           &lt;element name="DOUBLE" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEDOUBLE"/&gt;
39   *           &lt;element name="DURATION" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEDURATION"/&gt;
40   *           &lt;element name="FRACTION" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEFRACTION"/&gt;
41   *           &lt;element name="FREQUENCY" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEFREQUENCY"/&gt;
42   *           &lt;element name="INTEGER" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPEINTEGER"/&gt;
43   *           &lt;element name="LENGTH" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPELENGTH"/&gt;
44   *           &lt;element name="LINEARDENSITY" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPELINEARDENSITY"/&gt;
45   *           &lt;element name="SPEED" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPESPEED"/&gt;
46   *         &lt;/choice&gt;
47   *       &lt;/sequence&gt;
48   *     &lt;/restriction&gt;
49   *   &lt;/complexContent&gt;
50   * &lt;/complexType&gt;
51   * </pre>
52   * 
53   * 
54   */
55  @XmlAccessorType(XmlAccessType.FIELD)
56  @XmlType(name = "", propOrder = {
57      "stringOrACCELERATIONOrBOOLEAN"
58  })
59  @XmlRootElement(name = "PARAMETERS")
60  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
61  public class PARAMETERS
62      implements Serializable
63  {
64  
65      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
66      private final static long serialVersionUID = 10102L;
67      @XmlElements({
68          @XmlElement(name = "STRING", type = PARAMETERTYPESTRING.class),
69          @XmlElement(name = "ACCELERATION", type = PARAMETERTYPEACCELERATION.class),
70          @XmlElement(name = "BOOLEAN", type = PARAMETERTYPEBOOLEAN.class),
71          @XmlElement(name = "CLASS", type = PARAMETERTYPECLASS.class),
72          @XmlElement(name = "DOUBLE", type = PARAMETERTYPEDOUBLE.class),
73          @XmlElement(name = "DURATION", type = PARAMETERTYPEDURATION.class),
74          @XmlElement(name = "FRACTION", type = PARAMETERTYPEFRACTION.class),
75          @XmlElement(name = "FREQUENCY", type = PARAMETERTYPEFREQUENCY.class),
76          @XmlElement(name = "INTEGER", type = PARAMETERTYPEINTEGER.class),
77          @XmlElement(name = "LENGTH", type = PARAMETERTYPELENGTH.class),
78          @XmlElement(name = "LINEARDENSITY", type = PARAMETERTYPELINEARDENSITY.class),
79          @XmlElement(name = "SPEED", type = PARAMETERTYPESPEED.class)
80      })
81      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
82      protected List<PARAMETERTYPE> stringOrACCELERATIONOrBOOLEAN;
83  
84      /**
85       * Gets the value of the stringOrACCELERATIONOrBOOLEAN property.
86       * 
87       * <p>
88       * This accessor method returns a reference to the live list,
89       * not a snapshot. Therefore any modification you make to the
90       * returned list will be present inside the JAXB object.
91       * This is why there is not a <CODE>set</CODE> method for the stringOrACCELERATIONOrBOOLEAN property.
92       * 
93       * <p>
94       * For example, to add a new item, do as follows:
95       * <pre>
96       *    getSTRINGOrACCELERATIONOrBOOLEAN().add(newItem);
97       * </pre>
98       * 
99       * 
100      * <p>
101      * Objects of the following type(s) are allowed in the list
102      * {@link PARAMETERTYPESTRING }
103      * {@link PARAMETERTYPEACCELERATION }
104      * {@link PARAMETERTYPEBOOLEAN }
105      * {@link PARAMETERTYPECLASS }
106      * {@link PARAMETERTYPEDOUBLE }
107      * {@link PARAMETERTYPEDURATION }
108      * {@link PARAMETERTYPEFRACTION }
109      * {@link PARAMETERTYPEFREQUENCY }
110      * {@link PARAMETERTYPEINTEGER }
111      * {@link PARAMETERTYPELENGTH }
112      * {@link PARAMETERTYPELINEARDENSITY }
113      * {@link PARAMETERTYPESPEED }
114      * 
115      * 
116      */
117     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
118     public List<PARAMETERTYPE> getSTRINGOrACCELERATIONOrBOOLEAN() {
119         if (stringOrACCELERATIONOrBOOLEAN == null) {
120             stringOrACCELERATIONOrBOOLEAN = new ArrayList<PARAMETERTYPE>();
121         }
122         return this.stringOrACCELERATIONOrBOOLEAN;
123     }
124 
125 }