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 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.XmlSeeAlso;
16  import javax.xml.bind.annotation.XmlType;
17  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18  import org.opentrafficsim.xml.bindings.LengthAdapter;
19  import org.opentrafficsim.xml.bindings.SignedLengthAdapter;
20  
21  
22  /**
23   * <p>Java class for CROSSSECTIONELEMENT complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType name="CROSSSECTIONELEMENT"&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
32   *       &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" /&gt;
33   *       &lt;attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" /&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 = "CROSSSECTIONELEMENT")
43  @XmlSeeAlso({
44      CSELANE.class,
45      CSENOTRAFFICLANE.class,
46      CSESHOULDER.class,
47      CSESTRIPE.class
48  })
49  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
50  public class CROSSSECTIONELEMENT {
51  
52      @XmlAttribute(name = "NAME")
53      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
54      protected String name;
55      @XmlAttribute(name = "OFFSET", required = true)
56      @XmlJavaTypeAdapter(SignedLengthAdapter.class)
57      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
58      protected org.djunits.value.vdouble.scalar.Length offset;
59      @XmlAttribute(name = "WIDTH")
60      @XmlJavaTypeAdapter(LengthAdapter.class)
61      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
62      protected org.djunits.value.vdouble.scalar.Length width;
63  
64      /**
65       * Gets the value of the name property.
66       * 
67       * @return
68       *     possible object is
69       *     {@link String }
70       *     
71       */
72      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
73      public String getNAME() {
74          return name;
75      }
76  
77      /**
78       * Sets the value of the name property.
79       * 
80       * @param value
81       *     allowed object is
82       *     {@link String }
83       *     
84       */
85      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
86      public void setNAME(String value) {
87          this.name = value;
88      }
89  
90      /**
91       * Gets the value of the offset property.
92       * 
93       * @return
94       *     possible object is
95       *     {@link String }
96       *     
97       */
98      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
99      public org.djunits.value.vdouble.scalar.Length getOFFSET() {
100         return offset;
101     }
102 
103     /**
104      * Sets the value of the offset property.
105      * 
106      * @param value
107      *     allowed object is
108      *     {@link String }
109      *     
110      */
111     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
112     public void setOFFSET(org.djunits.value.vdouble.scalar.Length value) {
113         this.offset = value;
114     }
115 
116     /**
117      * Gets the value of the width property.
118      * 
119      * @return
120      *     possible object is
121      *     {@link String }
122      *     
123      */
124     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
125     public org.djunits.value.vdouble.scalar.Length getWIDTH() {
126         return width;
127     }
128 
129     /**
130      * Sets the value of the width property.
131      * 
132      * @param value
133      *     allowed object is
134      *     {@link String }
135      *     
136      */
137     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
138     public void setWIDTH(org.djunits.value.vdouble.scalar.Length value) {
139         this.width = value;
140     }
141 
142 }