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.opentrafficsim.xml.bindings.ClassNameAdapter;
22  
23  
24  /**
25   * <p>Java class for GTUCOLORERTYPE complex type.
26   * 
27   * <p>The following schema fragment specifies the expected content contained within this class.
28   * 
29   * <pre>
30   * &lt;complexType name="GTUCOLORERTYPE"&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="PARAMETER" type="{http://www.opentrafficsim.org/ots}PARAMETERTYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
35   *       &lt;/sequence&gt;
36   *       &lt;attribute name="ID" default="DEFAULT"&gt;
37   *         &lt;simpleType&gt;
38   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
39   *             &lt;pattern value="(\ {0})DEFAULT|ID|SPEED|ACCELERATION"/&gt;
40   *           &lt;/restriction&gt;
41   *         &lt;/simpleType&gt;
42   *       &lt;/attribute&gt;
43   *       &lt;attribute name="CLASS" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" /&gt;
44   *     &lt;/restriction&gt;
45   *   &lt;/complexContent&gt;
46   * &lt;/complexType&gt;
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "GTUCOLORERTYPE", propOrder = {
53      "parameter"
54  })
55  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
56  public class GTUCOLORERTYPE
57      implements Serializable
58  {
59  
60      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
61      private final static long serialVersionUID = 10102L;
62      @XmlElement(name = "PARAMETER")
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
64      protected List<PARAMETERTYPE> parameter;
65      @XmlAttribute(name = "ID")
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67      protected String id;
68      @XmlAttribute(name = "CLASS")
69      @XmlJavaTypeAdapter(ClassNameAdapter.class)
70      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
71      protected Class _class;
72  
73      /**
74       * Gets the value of the parameter property.
75       * 
76       * <p>
77       * This accessor method returns a reference to the live list,
78       * not a snapshot. Therefore any modification you make to the
79       * returned list will be present inside the JAXB object.
80       * This is why there is not a <CODE>set</CODE> method for the parameter property.
81       * 
82       * <p>
83       * For example, to add a new item, do as follows:
84       * <pre>
85       *    getPARAMETER().add(newItem);
86       * </pre>
87       * 
88       * 
89       * <p>
90       * Objects of the following type(s) are allowed in the list
91       * {@link PARAMETERTYPE }
92       * 
93       * 
94       */
95      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
96      public List<PARAMETERTYPE> getPARAMETER() {
97          if (parameter == null) {
98              parameter = new ArrayList<PARAMETERTYPE>();
99          }
100         return this.parameter;
101     }
102 
103     /**
104      * Gets the value of the id property.
105      * 
106      * @return
107      *     possible object is
108      *     {@link String }
109      *     
110      */
111     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
112     public String getID() {
113         if (id == null) {
114             return "DEFAULT";
115         } else {
116             return id;
117         }
118     }
119 
120     /**
121      * Sets the value of the id property.
122      * 
123      * @param value
124      *     allowed object is
125      *     {@link String }
126      *     
127      */
128     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
129     public void setID(String value) {
130         this.id = value;
131     }
132 
133     /**
134      * Gets the value of the class property.
135      * 
136      * @return
137      *     possible object is
138      *     {@link String }
139      *     
140      */
141     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
142     public Class getCLASS() {
143         return _class;
144     }
145 
146     /**
147      * Sets the value of the class property.
148      * 
149      * @param value
150      *     allowed object is
151      *     {@link String }
152      *     
153      */
154     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
155     public void setCLASS(Class value) {
156         this._class = value;
157     }
158 
159 }