NODE.java

  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: 2020.01.24 at 05:08:34 PM CET
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import javax.annotation.Generated;
  10. import javax.vecmath.Point3d;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlRootElement;
  15. import javax.xml.bind.annotation.XmlSchemaType;
  16. import javax.xml.bind.annotation.XmlType;
  17. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  18. import org.djunits.value.vdouble.scalar.Direction;
  19. import org.opentrafficsim.xml.bindings.CoordinateAdapter;
  20. import org.opentrafficsim.xml.bindings.DirectionAdapter;


  21. /**
  22.  * <p>Java class for anonymous complex type.
  23.  *
  24.  * <p>The following schema fragment specifies the expected content contained within this class.
  25.  *
  26.  * <pre>
  27.  * &lt;complexType&gt;
  28.  *   &lt;complexContent&gt;
  29.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  30.  *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  31.  *       &lt;attribute name="COORDINATE" use="required" type="{http://www.opentrafficsim.org/ots}COORDINATETYPE" /&gt;
  32.  *       &lt;attribute name="DIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
  33.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&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 = "NODE")
  44. @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  45. public class NODE implements Serializable
  46. {

  47.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  48.     private final static long serialVersionUID = 10102L;
  49.     @XmlAttribute(name = "ID", required = true)
  50.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  51.     protected String id;
  52.     @XmlAttribute(name = "COORDINATE", required = true)
  53.     @XmlJavaTypeAdapter(CoordinateAdapter.class)
  54.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  55.     protected Point3d coordinate;
  56.     @XmlAttribute(name = "DIRECTION")
  57.     @XmlJavaTypeAdapter(DirectionAdapter.class)
  58.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  59.     protected Direction direction;
  60.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  61.     @XmlSchemaType(name = "anyURI")
  62.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  63.     protected String base;

  64.     /**
  65.      * Gets the value of the id property.
  66.      *
  67.      * @return
  68.      *     possible object is
  69.      *     {@link String }
  70.      *    
  71.      */
  72.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  73.     public String getID() {
  74.         return id;
  75.     }

  76.     /**
  77.      * Sets the value of the id property.
  78.      *
  79.      * @param value
  80.      *     allowed object is
  81.      *     {@link String }
  82.      *    
  83.      */
  84.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  85.     public void setID(String value) {
  86.         this.id = value;
  87.     }

  88.     /**
  89.      * Gets the value of the coordinate property.
  90.      *
  91.      * @return
  92.      *     possible object is
  93.      *     {@link String }
  94.      *    
  95.      */
  96.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  97.     public Point3d getCOORDINATE() {
  98.         return coordinate;
  99.     }

  100.     /**
  101.      * Sets the value of the coordinate property.
  102.      *
  103.      * @param value
  104.      *     allowed object is
  105.      *     {@link String }
  106.      *    
  107.      */
  108.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  109.     public void setCOORDINATE(Point3d value) {
  110.         this.coordinate = value;
  111.     }

  112.     /**
  113.      * Gets the value of the direction property.
  114.      *
  115.      * @return
  116.      *     possible object is
  117.      *     {@link String }
  118.      *    
  119.      */
  120.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  121.     public Direction getDIRECTION() {
  122.         return direction;
  123.     }

  124.     /**
  125.      * Sets the value of the direction property.
  126.      *
  127.      * @param value
  128.      *     allowed object is
  129.      *     {@link String }
  130.      *    
  131.      */
  132.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  133.     public void setDIRECTION(Direction value) {
  134.         this.direction = value;
  135.     }

  136.     /**
  137.      * Gets the value of the base property.
  138.      *
  139.      * @return
  140.      *     possible object is
  141.      *     {@link String }
  142.      *    
  143.      */
  144.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  145.     public String getBase() {
  146.         return base;
  147.     }

  148.     /**
  149.      * Sets the value of the base property.
  150.      *
  151.      * @param value
  152.      *     allowed object is
  153.      *     {@link String }
  154.      *    
  155.      */
  156.     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-01-24T05:08:34+01:00", comments = "JAXB RI v2.3.0")
  157.     public void setBase(String value) {
  158.         this.base = value;
  159.     }

  160. }