View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
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.08.29 at 06:50:16 PM CEST 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import javax.annotation.Generated;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlType;
18  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19  import org.opentrafficsim.xml.bindings.DirectionAdapter;
20  import org.opentrafficsim.xml.bindings.Point2dAdapter;
21  import org.opentrafficsim.xml.bindings.types.DirectionType;
22  import org.opentrafficsim.xml.bindings.types.Point2dType;
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;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
35   *       &lt;attribute name="Coordinate" use="required" type="{http://www.opentrafficsim.org/ots}CoordinateType" /&gt;
36   *       &lt;attribute name="Direction" type="{http://www.opentrafficsim.org/ots}DirectionType" /&gt;
37   *     &lt;/restriction&gt;
38   *   &lt;/complexContent&gt;
39   * &lt;/complexType&gt;
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "")
46  @XmlRootElement(name = "Node")
47  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
48  public class Node
49      implements Serializable
50  {
51  
52      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
53      private final static long serialVersionUID = 10102L;
54      @XmlAttribute(name = "Id", required = true)
55      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
56      protected String id;
57      @XmlAttribute(name = "Coordinate", required = true)
58      @XmlJavaTypeAdapter(Point2dAdapter.class)
59      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60      protected Point2dType coordinate;
61      @XmlAttribute(name = "Direction")
62      @XmlJavaTypeAdapter(DirectionAdapter.class)
63      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
64      protected DirectionType direction;
65  
66      /**
67       * Gets the value of the id property.
68       * 
69       * @return
70       *     possible object is
71       *     {@link String }
72       *     
73       */
74      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
75      public String getId() {
76          return id;
77      }
78  
79      /**
80       * Sets the value of the id property.
81       * 
82       * @param value
83       *     allowed object is
84       *     {@link String }
85       *     
86       */
87      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
88      public void setId(String value) {
89          this.id = value;
90      }
91  
92      /**
93       * Gets the value of the coordinate property.
94       * 
95       * @return
96       *     possible object is
97       *     {@link String }
98       *     
99       */
100     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
101     public Point2dType getCoordinate() {
102         return coordinate;
103     }
104 
105     /**
106      * Sets the value of the coordinate property.
107      * 
108      * @param value
109      *     allowed object is
110      *     {@link String }
111      *     
112      */
113     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
114     public void setCoordinate(Point2dType value) {
115         this.coordinate = value;
116     }
117 
118     /**
119      * Gets the value of the direction 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.7", date = "2024-08-29T18:50:16+02:00")
127     public DirectionType getDirection() {
128         return direction;
129     }
130 
131     /**
132      * Sets the value of the direction property.
133      * 
134      * @param value
135      *     allowed object is
136      *     {@link String }
137      *     
138      */
139     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
140     public void setDirection(DirectionType value) {
141         this.direction = value;
142     }
143 
144 }