Node.java

  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. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import javax.annotation.Generated;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlRootElement;
  14. import javax.xml.bind.annotation.XmlType;
  15. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  16. import org.opentrafficsim.xml.bindings.DirectionAdapter;
  17. import org.opentrafficsim.xml.bindings.Point2dAdapter;
  18. import org.opentrafficsim.xml.bindings.types.DirectionType;
  19. import org.opentrafficsim.xml.bindings.types.Point2dType;


  20. /**
  21.  * <p>Java class for anonymous complex type.
  22.  *
  23.  * <p>The following schema fragment specifies the expected content contained within this class.
  24.  *
  25.  * <pre>
  26.  * &lt;complexType&gt;
  27.  *   &lt;complexContent&gt;
  28.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  29.  *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
  30.  *       &lt;attribute name="Coordinate" use="required" type="{http://www.opentrafficsim.org/ots}CoordinateType" /&gt;
  31.  *       &lt;attribute name="Direction" type="{http://www.opentrafficsim.org/ots}DirectionType" /&gt;
  32.  *     &lt;/restriction&gt;
  33.  *   &lt;/complexContent&gt;
  34.  * &lt;/complexType&gt;
  35.  * </pre>
  36.  *
  37.  *
  38.  */
  39. @XmlAccessorType(XmlAccessType.FIELD)
  40. @XmlType(name = "")
  41. @XmlRootElement(name = "Node")
  42. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  43. public class Node
  44.     implements Serializable
  45. {

  46.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  47.     private final static long serialVersionUID = 10102L;
  48.     @XmlAttribute(name = "Id", required = true)
  49.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  50.     protected String id;
  51.     @XmlAttribute(name = "Coordinate", required = true)
  52.     @XmlJavaTypeAdapter(Point2dAdapter.class)
  53.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  54.     protected Point2dType coordinate;
  55.     @XmlAttribute(name = "Direction")
  56.     @XmlJavaTypeAdapter(DirectionAdapter.class)
  57.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  58.     protected DirectionType direction;

  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.      * Sets the value of the id property.
  73.      *
  74.      * @param value
  75.      *     allowed object is
  76.      *     {@link String }
  77.      *    
  78.      */
  79.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  80.     public void setId(String value) {
  81.         this.id = value;
  82.     }

  83.     /**
  84.      * Gets the value of the coordinate property.
  85.      *
  86.      * @return
  87.      *     possible object is
  88.      *     {@link String }
  89.      *    
  90.      */
  91.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  92.     public Point2dType getCoordinate() {
  93.         return coordinate;
  94.     }

  95.     /**
  96.      * Sets the value of the coordinate property.
  97.      *
  98.      * @param value
  99.      *     allowed object is
  100.      *     {@link String }
  101.      *    
  102.      */
  103.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  104.     public void setCoordinate(Point2dType value) {
  105.         this.coordinate = value;
  106.     }

  107.     /**
  108.      * Gets the value of the direction property.
  109.      *
  110.      * @return
  111.      *     possible object is
  112.      *     {@link String }
  113.      *    
  114.      */
  115.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  116.     public DirectionType getDirection() {
  117.         return direction;
  118.     }

  119.     /**
  120.      * Sets the value of the direction property.
  121.      *
  122.      * @param value
  123.      *     allowed object is
  124.      *     {@link String }
  125.      *    
  126.      */
  127.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  128.     public void setDirection(DirectionType value) {
  129.         this.direction = value;
  130.     }

  131. }