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.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="Model" type="{http://www.opentrafficsim.org/ots}ModelType" maxOccurs="unbounded"/&gt;
33   *       &lt;/sequence&gt;
34   *     &lt;/restriction&gt;
35   *   &lt;/complexContent&gt;
36   * &lt;/complexType&gt;
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "", propOrder = {
43      "model"
44  })
45  @XmlRootElement(name = "Models")
46  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
47  public class Models
48      implements Serializable
49  {
50  
51      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
52      private final static long serialVersionUID = 10102L;
53      @XmlElement(name = "Model", required = true)
54      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
55      protected List<ModelType> model;
56  
57      /**
58       * Gets the value of the model property.
59       * 
60       * <p>
61       * This accessor method returns a reference to the live list,
62       * not a snapshot. Therefore any modification you make to the
63       * returned list will be present inside the JAXB object.
64       * This is why there is not a <CODE>set</CODE> method for the model property.
65       * 
66       * <p>
67       * For example, to add a new item, do as follows:
68       * <pre>
69       *    getModel().add(newItem);
70       * </pre>
71       * 
72       * 
73       * <p>
74       * Objects of the following type(s) are allowed in the list
75       * {@link ModelType }
76       * 
77       * 
78       */
79      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
80      public List<ModelType> getModel() {
81          if (model == null) {
82              model = new ArrayList<ModelType>();
83          }
84          return this.model;
85      }
86  
87  }