Node.java
- //
- // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
- // See https://eclipse-ee4j.github.io/jaxb-ri
- // Any modifications to this file will be lost upon recompilation of the source schema.
- // Generated on: 2024.08.29 at 06:50:16 PM CEST
- //
- package org.opentrafficsim.xml.generated;
- import java.io.Serializable;
- import javax.annotation.Generated;
- import javax.xml.bind.annotation.XmlAccessType;
- import javax.xml.bind.annotation.XmlAccessorType;
- import javax.xml.bind.annotation.XmlAttribute;
- import javax.xml.bind.annotation.XmlRootElement;
- import javax.xml.bind.annotation.XmlType;
- import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
- import org.opentrafficsim.xml.bindings.DirectionAdapter;
- import org.opentrafficsim.xml.bindings.Point2dAdapter;
- import org.opentrafficsim.xml.bindings.types.DirectionType;
- import org.opentrafficsim.xml.bindings.types.Point2dType;
- /**
- * <p>Java class for anonymous complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" />
- * <attribute name="Coordinate" use="required" type="{http://www.opentrafficsim.org/ots}CoordinateType" />
- * <attribute name="Direction" type="{http://www.opentrafficsim.org/ots}DirectionType" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "")
- @XmlRootElement(name = "Node")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public class Node
- implements Serializable
- {
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- private final static long serialVersionUID = 10102L;
- @XmlAttribute(name = "Id", required = true)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- protected String id;
- @XmlAttribute(name = "Coordinate", required = true)
- @XmlJavaTypeAdapter(Point2dAdapter.class)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- protected Point2dType coordinate;
- @XmlAttribute(name = "Direction")
- @XmlJavaTypeAdapter(DirectionAdapter.class)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- protected DirectionType direction;
- /**
- * Gets the value of the id property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public String getId() {
- return id;
- }
- /**
- * Sets the value of the id property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public void setId(String value) {
- this.id = value;
- }
- /**
- * Gets the value of the coordinate property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public Point2dType getCoordinate() {
- return coordinate;
- }
- /**
- * Sets the value of the coordinate property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public void setCoordinate(Point2dType value) {
- this.coordinate = value;
- }
- /**
- * Gets the value of the direction property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public DirectionType getDirection() {
- return direction;
- }
- /**
- * Sets the value of the direction property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public void setDirection(DirectionType value) {
- this.direction = value;
- }
- }