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.Point2dAdapter;
20  import org.opentrafficsim.xml.bindings.types.Point2dType;
21  
22  
23  /**
24   * <p>Java class for anonymous complex type.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;complexType&gt;
30   *   &lt;complexContent&gt;
31   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32   *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
33   *       &lt;attribute name="Coordinate" use="required" type="{http://www.opentrafficsim.org/ots}CoordinateType" /&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 = "")
43  @XmlRootElement(name = "Centroid")
44  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
45  public class Centroid
46      implements Serializable
47  {
48  
49      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
50      private final static long serialVersionUID = 10102L;
51      @XmlAttribute(name = "Id", required = true)
52      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
53      protected String id;
54      @XmlAttribute(name = "Coordinate", required = true)
55      @XmlJavaTypeAdapter(Point2dAdapter.class)
56      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
57      protected Point2dType coordinate;
58  
59      /**
60       * Gets the value of the id property.
61       * 
62       * @return
63       *     possible object is
64       *     {@link String }
65       *     
66       */
67      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68      public String getId() {
69          return id;
70      }
71  
72      /**
73       * Sets the value of the id property.
74       * 
75       * @param value
76       *     allowed object is
77       *     {@link String }
78       *     
79       */
80      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
81      public void setId(String value) {
82          this.id = value;
83      }
84  
85      /**
86       * Gets the value of the coordinate property.
87       * 
88       * @return
89       *     possible object is
90       *     {@link String }
91       *     
92       */
93      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
94      public Point2dType getCoordinate() {
95          return coordinate;
96      }
97  
98      /**
99       * Sets the value of the coordinate property.
100      * 
101      * @param value
102      *     allowed object is
103      *     {@link String }
104      *     
105      */
106     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
107     public void setCoordinate(Point2dType value) {
108         this.coordinate = value;
109     }
110 
111 }