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.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 GLOBALTIMETYPE complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType name="GLOBALTIMETYPE"&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 = "GLOBALTIMETYPE", propOrder = {
54      "time"
55  })
56  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
57  public class GLOBALTIMETYPE
58      implements Serializable
59  {
60  
61      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
62      private final static long serialVersionUID = 10102L;
63      @XmlElement(name = "TIME", required = true)
64      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
65      protected List<GLOBALTIMETYPE.TIME> time;
66  
67      /**
68       * Gets the value of the time property.
69       * 
70       * <p>
71       * This accessor method returns a reference to the live list,
72       * not a snapshot. Therefore any modification you make to the
73       * returned list will be present inside the JAXB object.
74       * This is why there is not a <CODE>set</CODE> method for the time property.
75       * 
76       * <p>
77       * For example, to add a new item, do as follows:
78       * <pre>
79       *    getTIME().add(newItem);
80       * </pre>
81       * 
82       * 
83       * <p>
84       * Objects of the following type(s) are allowed in the list
85       * {@link GLOBALTIMETYPE.TIME }
86       * 
87       * 
88       */
89      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
90      public List<GLOBALTIMETYPE.TIME> getTIME() {
91          if (time == null) {
92              time = new ArrayList<GLOBALTIMETYPE.TIME>();
93          }
94          return this.time;
95      }
96  
97  
98      /**
99       * <p>Java class for anonymous complex type.
100      * 
101      * <p>The following schema fragment specifies the expected content contained within this class.
102      * 
103      * <pre>
104      * &lt;complexType&gt;
105      *   &lt;complexContent&gt;
106      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
107      *       &lt;attribute name="VALUE" use="required" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
108      *     &lt;/restriction&gt;
109      *   &lt;/complexContent&gt;
110      * &lt;/complexType&gt;
111      * </pre>
112      * 
113      * 
114      */
115     @XmlAccessorType(XmlAccessType.FIELD)
116     @XmlType(name = "")
117     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
118     public static class TIME
119         implements Serializable
120     {
121 
122         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
123         private final static long serialVersionUID = 10102L;
124         @XmlAttribute(name = "VALUE", required = true)
125         @XmlJavaTypeAdapter(TimeAdapter.class)
126         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
127         protected Time value;
128 
129         /**
130          * Gets the value of the value property.
131          * 
132          * @return
133          *     possible object is
134          *     {@link String }
135          *     
136          */
137         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
138         public Time getVALUE() {
139             return value;
140         }
141 
142         /**
143          * Sets the value of the value property.
144          * 
145          * @param value
146          *     allowed object is
147          *     {@link String }
148          *     
149          */
150         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
151         public void setVALUE(Time value) {
152             this.value = value;
153         }
154 
155     }
156 
157 }