GLOBALTIMETYPE.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.6
  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.05.19 at 12:55:27 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import java.util.ArrayList;
  10. import java.util.List;
  11. import javax.annotation.Generated;
  12. import javax.xml.bind.annotation.XmlAccessType;
  13. import javax.xml.bind.annotation.XmlAccessorType;
  14. import javax.xml.bind.annotation.XmlAttribute;
  15. import javax.xml.bind.annotation.XmlElement;
  16. import javax.xml.bind.annotation.XmlType;
  17. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  18. import org.djunits.value.vdouble.scalar.Time;
  19. import org.opentrafficsim.xml.bindings.TimeAdapter;


  20. /**
  21.  * <p>Java class for GLOBALTIMETYPE complex type.
  22.  *
  23.  * <p>The following schema fragment specifies the expected content contained within this class.
  24.  *
  25.  * <pre>
  26.  * &lt;complexType name="GLOBALTIMETYPE"&gt;
  27.  *   &lt;complexContent&gt;
  28.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  29.  *       &lt;sequence&gt;
  30.  *         &lt;element name="TIME" maxOccurs="unbounded" minOccurs="2"&gt;
  31.  *           &lt;complexType&gt;
  32.  *             &lt;complexContent&gt;
  33.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  34.  *                 &lt;attribute name="VALUE" use="required" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  35.  *               &lt;/restriction&gt;
  36.  *             &lt;/complexContent&gt;
  37.  *           &lt;/complexType&gt;
  38.  *         &lt;/element&gt;
  39.  *       &lt;/sequence&gt;
  40.  *     &lt;/restriction&gt;
  41.  *   &lt;/complexContent&gt;
  42.  * &lt;/complexType&gt;
  43.  * </pre>
  44.  *
  45.  *
  46.  */
  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "GLOBALTIMETYPE", propOrder = {
  49.     "time"
  50. })
  51. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  52. public class GLOBALTIMETYPE
  53.     implements Serializable
  54. {

  55.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  56.     private final static long serialVersionUID = 10102L;
  57.     @XmlElement(name = "TIME", required = true)
  58.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  59.     protected List<GLOBALTIMETYPE.TIME> time;

  60.     /**
  61.      * Gets the value of the time property.
  62.      *
  63.      * <p>
  64.      * This accessor method returns a reference to the live list,
  65.      * not a snapshot. Therefore any modification you make to the
  66.      * returned list will be present inside the JAXB object.
  67.      * This is why there is not a <CODE>set</CODE> method for the time property.
  68.      *
  69.      * <p>
  70.      * For example, to add a new item, do as follows:
  71.      * <pre>
  72.      *    getTIME().add(newItem);
  73.      * </pre>
  74.      *
  75.      *
  76.      * <p>
  77.      * Objects of the following type(s) are allowed in the list
  78.      * {@link GLOBALTIMETYPE.TIME }
  79.      *
  80.      *
  81.      */
  82.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  83.     public List<GLOBALTIMETYPE.TIME> getTIME() {
  84.         if (time == null) {
  85.             time = new ArrayList<GLOBALTIMETYPE.TIME>();
  86.         }
  87.         return this.time;
  88.     }


  89.     /**
  90.      * <p>Java class for anonymous complex type.
  91.      *
  92.      * <p>The following schema fragment specifies the expected content contained within this class.
  93.      *
  94.      * <pre>
  95.      * &lt;complexType&gt;
  96.      *   &lt;complexContent&gt;
  97.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  98.      *       &lt;attribute name="VALUE" use="required" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
  99.      *     &lt;/restriction&gt;
  100.      *   &lt;/complexContent&gt;
  101.      * &lt;/complexType&gt;
  102.      * </pre>
  103.      *
  104.      *
  105.      */
  106.     @XmlAccessorType(XmlAccessType.FIELD)
  107.     @XmlType(name = "")
  108.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  109.     public static class TIME
  110.         implements Serializable
  111.     {

  112.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  113.         private final static long serialVersionUID = 10102L;
  114.         @XmlAttribute(name = "VALUE", required = true)
  115.         @XmlJavaTypeAdapter(TimeAdapter.class)
  116.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  117.         protected Time value;

  118.         /**
  119.          * Gets the value of the value property.
  120.          *
  121.          * @return
  122.          *     possible object is
  123.          *     {@link String }
  124.          *    
  125.          */
  126.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  127.         public Time getVALUE() {
  128.             return value;
  129.         }

  130.         /**
  131.          * Sets the value of the value property.
  132.          *
  133.          * @param value
  134.          *     allowed object is
  135.          *     {@link String }
  136.          *    
  137.          */
  138.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  139.         public void setVALUE(Time value) {
  140.             this.value = value;
  141.         }

  142.     }

  143. }