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.util.ArrayList;
12  import java.util.List;
13  import javax.annotation.Generated;
14  import javax.xml.bind.annotation.XmlAccessType;
15  import javax.xml.bind.annotation.XmlAccessorType;
16  import javax.xml.bind.annotation.XmlAttribute;
17  import javax.xml.bind.annotation.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21  import org.djunits.value.vdouble.scalar.Time;
22  import org.opentrafficsim.xml.bindings.TimeAdapter;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34   *       &lt;sequence&gt;
35   *         &lt;element name="TIME" maxOccurs="unbounded" minOccurs="2"&gt;
36   *           &lt;complexType&gt;
37   *             &lt;complexContent&gt;
38   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
39   *                 &lt;attribute name="VALUE" use="required" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
40   *               &lt;/restriction&gt;
41   *             &lt;/complexContent&gt;
42   *           &lt;/complexType&gt;
43   *         &lt;/element&gt;
44   *       &lt;/sequence&gt;
45   *     &lt;/restriction&gt;
46   *   &lt;/complexContent&gt;
47   * &lt;/complexType&gt;
48   * </pre>
49   * 
50   * 
51   */
52  @XmlAccessorType(XmlAccessType.FIELD)
53  @XmlType(name = "", propOrder = {
54      "time"
55  })
56  @XmlRootElement(name = "GLOBALTIME")
57  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
58  public class GLOBALTIME {
59  
60      @XmlElement(name = "TIME", required = true)
61      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
62      protected List<GLOBALTIME.TIME> time;
63  
64      /**
65       * Gets the value of the time property.
66       * 
67       * <p>
68       * This accessor method returns a reference to the live list,
69       * not a snapshot. Therefore any modification you make to the
70       * returned list will be present inside the JAXB object.
71       * This is why there is not a <CODE>set</CODE> method for the time property.
72       * 
73       * <p>
74       * For example, to add a new item, do as follows:
75       * <pre>
76       *    getTIME().add(newItem);
77       * </pre>
78       * 
79       * 
80       * <p>
81       * Objects of the following type(s) are allowed in the list
82       * {@link GLOBALTIME.TIME }
83       * 
84       * 
85       */
86      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
87      public List<GLOBALTIME.TIME> getTIME() {
88          if (time == null) {
89              time = new ArrayList<GLOBALTIME.TIME>();
90          }
91          return this.time;
92      }
93  
94  
95      /**
96       * <p>Java class for anonymous complex type.
97       * 
98       * <p>The following schema fragment specifies the expected content contained within this class.
99       * 
100      * <pre>
101      * &lt;complexType&gt;
102      *   &lt;complexContent&gt;
103      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
104      *       &lt;attribute name="VALUE" use="required" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
105      *     &lt;/restriction&gt;
106      *   &lt;/complexContent&gt;
107      * &lt;/complexType&gt;
108      * </pre>
109      * 
110      * 
111      */
112     @XmlAccessorType(XmlAccessType.FIELD)
113     @XmlType(name = "")
114     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
115     public static class TIME {
116 
117         @XmlAttribute(name = "VALUE", required = true)
118         @XmlJavaTypeAdapter(TimeAdapter.class)
119         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
120         protected Time value;
121 
122         /**
123          * Gets the value of the value property.
124          * 
125          * @return
126          *     possible object is
127          *     {@link String }
128          *     
129          */
130         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
131         public Time getVALUE() {
132             return value;
133         }
134 
135         /**
136          * Sets the value of the value property.
137          * 
138          * @param value
139          *     allowed object is
140          *     {@link String }
141          *     
142          */
143         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
144         public void setVALUE(Time value) {
145             this.value = value;
146         }
147 
148     }
149 
150 }