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.XmlAttribute;
18  import javax.xml.bind.annotation.XmlElement;
19  import javax.xml.bind.annotation.XmlRootElement;
20  import javax.xml.bind.annotation.XmlType;
21  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22  import org.opentrafficsim.xml.bindings.DoublePositiveInclusiveAdapter;
23  import org.opentrafficsim.xml.bindings.types.DoubleType;
24  
25  
26  /**
27   * <p>Java class for anonymous complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType&gt;
33   *   &lt;complexContent&gt;
34   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35   *       &lt;sequence&gt;
36   *         &lt;element name="GtuTemplate" maxOccurs="unbounded"&gt;
37   *           &lt;complexType&gt;
38   *             &lt;complexContent&gt;
39   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
40   *                 &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
41   *                 &lt;attribute name="Weight" use="required" type="{http://www.opentrafficsim.org/ots}DoublePositiveInclusive" /&gt;
42   *               &lt;/restriction&gt;
43   *             &lt;/complexContent&gt;
44   *           &lt;/complexType&gt;
45   *         &lt;/element&gt;
46   *         &lt;element name="RandomStream" type="{http://www.opentrafficsim.org/ots}RandomStreamSource" minOccurs="0"/&gt;
47   *       &lt;/sequence&gt;
48   *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
49   *     &lt;/restriction&gt;
50   *   &lt;/complexContent&gt;
51   * &lt;/complexType&gt;
52   * </pre>
53   * 
54   * 
55   */
56  @XmlAccessorType(XmlAccessType.FIELD)
57  @XmlType(name = "", propOrder = {
58      "gtuTemplate",
59      "randomStream"
60  })
61  @XmlRootElement(name = "GtuTemplateMix")
62  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
63  public class GtuTemplateMix
64      implements Serializable
65  {
66  
67      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68      private final static long serialVersionUID = 10102L;
69      @XmlElement(name = "GtuTemplate", required = true)
70      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71      protected List<GtuTemplateMix.GtuTemplate> gtuTemplate;
72      @XmlElement(name = "RandomStream")
73      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
74      protected RandomStreamSource randomStream;
75      @XmlAttribute(name = "Id", required = true)
76      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77      protected String id;
78  
79      /**
80       * Gets the value of the gtuTemplate property.
81       * 
82       * <p>
83       * This accessor method returns a reference to the live list,
84       * not a snapshot. Therefore any modification you make to the
85       * returned list will be present inside the JAXB object.
86       * This is why there is not a <CODE>set</CODE> method for the gtuTemplate property.
87       * 
88       * <p>
89       * For example, to add a new item, do as follows:
90       * <pre>
91       *    getGtuTemplate().add(newItem);
92       * </pre>
93       * 
94       * 
95       * <p>
96       * Objects of the following type(s) are allowed in the list
97       * {@link GtuTemplateMix.GtuTemplate }
98       * 
99       * 
100      */
101     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
102     public List<GtuTemplateMix.GtuTemplate> getGtuTemplate() {
103         if (gtuTemplate == null) {
104             gtuTemplate = new ArrayList<GtuTemplateMix.GtuTemplate>();
105         }
106         return this.gtuTemplate;
107     }
108 
109     /**
110      * Gets the value of the randomStream property.
111      * 
112      * @return
113      *     possible object is
114      *     {@link RandomStreamSource }
115      *     
116      */
117     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
118     public RandomStreamSource getRandomStream() {
119         return randomStream;
120     }
121 
122     /**
123      * Sets the value of the randomStream property.
124      * 
125      * @param value
126      *     allowed object is
127      *     {@link RandomStreamSource }
128      *     
129      */
130     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
131     public void setRandomStream(RandomStreamSource value) {
132         this.randomStream = value;
133     }
134 
135     /**
136      * Gets the value of the id property.
137      * 
138      * @return
139      *     possible object is
140      *     {@link String }
141      *     
142      */
143     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
144     public String getId() {
145         return id;
146     }
147 
148     /**
149      * Sets the value of the id property.
150      * 
151      * @param value
152      *     allowed object is
153      *     {@link String }
154      *     
155      */
156     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
157     public void setId(String value) {
158         this.id = value;
159     }
160 
161 
162     /**
163      * <p>Java class for anonymous complex type.
164      * 
165      * <p>The following schema fragment specifies the expected content contained within this class.
166      * 
167      * <pre>
168      * &lt;complexType&gt;
169      *   &lt;complexContent&gt;
170      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
171      *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
172      *       &lt;attribute name="Weight" use="required" type="{http://www.opentrafficsim.org/ots}DoublePositiveInclusive" /&gt;
173      *     &lt;/restriction&gt;
174      *   &lt;/complexContent&gt;
175      * &lt;/complexType&gt;
176      * </pre>
177      * 
178      * 
179      */
180     @XmlAccessorType(XmlAccessType.FIELD)
181     @XmlType(name = "")
182     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
183     public static class GtuTemplate
184         implements Serializable
185     {
186 
187         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
188         private final static long serialVersionUID = 10102L;
189         @XmlAttribute(name = "Id", required = true)
190         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
191         protected String id;
192         @XmlAttribute(name = "Weight", required = true)
193         @XmlJavaTypeAdapter(DoublePositiveInclusiveAdapter.class)
194         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
195         protected DoubleType weight;
196 
197         /**
198          * Gets the value of the id property.
199          * 
200          * @return
201          *     possible object is
202          *     {@link String }
203          *     
204          */
205         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
206         public String getId() {
207             return id;
208         }
209 
210         /**
211          * Sets the value of the id property.
212          * 
213          * @param value
214          *     allowed object is
215          *     {@link String }
216          *     
217          */
218         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
219         public void setId(String value) {
220             this.id = value;
221         }
222 
223         /**
224          * Gets the value of the weight property.
225          * 
226          * @return
227          *     possible object is
228          *     {@link String }
229          *     
230          */
231         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
232         public DoubleType getWeight() {
233             return weight;
234         }
235 
236         /**
237          * Sets the value of the weight property.
238          * 
239          * @param value
240          *     allowed object is
241          *     {@link String }
242          *     
243          */
244         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
245         public void setWeight(DoubleType value) {
246             this.weight = value;
247         }
248 
249     }
250 
251 }