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.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  
23  
24  /**
25   * <p>Java class for anonymous complex type.
26   * 
27   * <p>The following schema fragment specifies the expected content contained within this class.
28   * 
29   * <pre>
30   * &lt;complexType&gt;
31   *   &lt;complexContent&gt;
32   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
33   *       &lt;sequence&gt;
34   *         &lt;element name="GTUTEMPLATE" maxOccurs="unbounded"&gt;
35   *           &lt;complexType&gt;
36   *             &lt;complexContent&gt;
37   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
38   *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
39   *                 &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
40   *               &lt;/restriction&gt;
41   *             &lt;/complexContent&gt;
42   *           &lt;/complexType&gt;
43   *         &lt;/element&gt;
44   *       &lt;/sequence&gt;
45   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
46   *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="generation" /&gt;
47   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&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      "gtutemplate"
58  })
59  @XmlRootElement(name = "GTUTEMPLATEMIX")
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 GTUTEMPLATEMIX
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      @XmlElement(name = "GTUTEMPLATE", required = true)
68      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
69      protected List<GTUTEMPLATEMIX.GTUTEMPLATE> gtutemplate;
70      @XmlAttribute(name = "ID", required = true)
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
72      protected String id;
73      @XmlAttribute(name = "RANDOMSTREAM")
74      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
75      protected String randomstream;
76      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
77      @XmlSchemaType(name = "anyURI")
78      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
79      protected String base;
80  
81      /**
82       * Gets the value of the gtutemplate property.
83       * 
84       * <p>
85       * This accessor method returns a reference to the live list,
86       * not a snapshot. Therefore any modification you make to the
87       * returned list will be present inside the JAXB object.
88       * This is why there is not a <CODE>set</CODE> method for the gtutemplate property.
89       * 
90       * <p>
91       * For example, to add a new item, do as follows:
92       * <pre>
93       *    getGTUTEMPLATE().add(newItem);
94       * </pre>
95       * 
96       * 
97       * <p>
98       * Objects of the following type(s) are allowed in the list
99       * {@link GTUTEMPLATEMIX.GTUTEMPLATE }
100      * 
101      * 
102      */
103     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
104     public List<GTUTEMPLATEMIX.GTUTEMPLATE> getGTUTEMPLATE() {
105         if (gtutemplate == null) {
106             gtutemplate = new ArrayList<GTUTEMPLATEMIX.GTUTEMPLATE>();
107         }
108         return this.gtutemplate;
109     }
110 
111     /**
112      * Gets the value of the id property.
113      * 
114      * @return
115      *     possible object is
116      *     {@link String }
117      *     
118      */
119     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
120     public String getID() {
121         return id;
122     }
123 
124     /**
125      * Sets the value of the id property.
126      * 
127      * @param value
128      *     allowed object is
129      *     {@link String }
130      *     
131      */
132     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
133     public void setID(String value) {
134         this.id = value;
135     }
136 
137     /**
138      * Gets the value of the randomstream property.
139      * 
140      * @return
141      *     possible object is
142      *     {@link String }
143      *     
144      */
145     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
146     public String getRANDOMSTREAM() {
147         if (randomstream == null) {
148             return "generation";
149         } else {
150             return randomstream;
151         }
152     }
153 
154     /**
155      * Sets the value of the randomstream property.
156      * 
157      * @param value
158      *     allowed object is
159      *     {@link String }
160      *     
161      */
162     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
163     public void setRANDOMSTREAM(String value) {
164         this.randomstream = value;
165     }
166 
167     /**
168      * Gets the value of the base property.
169      * 
170      * @return
171      *     possible object is
172      *     {@link String }
173      *     
174      */
175     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
176     public String getBase() {
177         return base;
178     }
179 
180     /**
181      * Sets the value of the base property.
182      * 
183      * @param value
184      *     allowed object is
185      *     {@link String }
186      *     
187      */
188     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
189     public void setBase(String value) {
190         this.base = value;
191     }
192 
193 
194     /**
195      * <p>Java class for anonymous complex type.
196      * 
197      * <p>The following schema fragment specifies the expected content contained within this class.
198      * 
199      * <pre>
200      * &lt;complexType&gt;
201      *   &lt;complexContent&gt;
202      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
203      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
204      *       &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
205      *     &lt;/restriction&gt;
206      *   &lt;/complexContent&gt;
207      * &lt;/complexType&gt;
208      * </pre>
209      * 
210      * 
211      */
212     @XmlAccessorType(XmlAccessType.FIELD)
213     @XmlType(name = "")
214     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
215     public static class GTUTEMPLATE
216         implements Serializable
217     {
218 
219         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
220         private final static long serialVersionUID = 10102L;
221         @XmlAttribute(name = "ID", required = true)
222         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
223         protected String id;
224         @XmlAttribute(name = "WEIGHT", required = true)
225         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
226         protected double weight;
227 
228         /**
229          * Gets the value of the id property.
230          * 
231          * @return
232          *     possible object is
233          *     {@link String }
234          *     
235          */
236         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
237         public String getID() {
238             return id;
239         }
240 
241         /**
242          * Sets the value of the id property.
243          * 
244          * @param value
245          *     allowed object is
246          *     {@link String }
247          *     
248          */
249         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
250         public void setID(String value) {
251             this.id = value;
252         }
253 
254         /**
255          * Gets the value of the weight property.
256          * 
257          */
258         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
259         public double getWEIGHT() {
260             return weight;
261         }
262 
263         /**
264          * Sets the value of the weight property.
265          * 
266          */
267         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
268         public void setWEIGHT(double value) {
269             this.weight = value;
270         }
271 
272     }
273 
274 }