LINK.java

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.11.01 at 07:11:19 PM CET 
//


package org.opentrafficsim.xml.generated;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.vecmath.Point3d;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.djunits.value.vdouble.scalar.Direction;
import org.djunits.value.vdouble.scalar.LinearDensity;
import org.opentrafficsim.xml.bindings.CoordinateAdapter;
import org.opentrafficsim.xml.bindings.DirectionAdapter;
import org.opentrafficsim.xml.bindings.LaneKeepingAdapter;
import org.opentrafficsim.xml.bindings.LeftRightAdapter;
import org.opentrafficsim.xml.bindings.LengthAdapter;
import org.opentrafficsim.xml.bindings.PerLengthAdapter;
import org.opentrafficsim.xml.bindings.PositiveLengthAdapter;
import org.opentrafficsim.xml.bindings.types.ArcDirection;
import org.opentrafficsim.xml.bindings.types.LaneKeepingType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;choice&gt;
 *           &lt;element name="STRAIGHT" type="{http://www.w3.org/2001/XMLSchema}anyType"/&gt;
 *           &lt;element name="BEZIER"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                   &lt;attribute name="STARTDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
 *                   &lt;attribute name="ENDDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
 *                   &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
 *                   &lt;attribute name="SHAPE" type="{http://www.opentrafficsim.org/ots}POSITIVEDOUBLE" default="1.0" /&gt;
 *                   &lt;attribute name="WEIGHTED" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
 *                 &lt;/restriction&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *           &lt;element name="CLOTHOID"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                   &lt;attribute name="STARTDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
 *                   &lt;attribute name="STARTCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" /&gt;
 *                   &lt;attribute name="ENDDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
 *                   &lt;attribute name="ENDCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" /&gt;
 *                   &lt;attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
 *                   &lt;attribute name="ENDELEVATION" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
 *                   &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
 *                 &lt;/restriction&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *           &lt;element name="ARC"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                   &lt;attribute name="RADIUS" use="required" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
 *                   &lt;attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}LEFTRIGHTTYPE" /&gt;
 *                   &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
 *                 &lt;/restriction&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *           &lt;element name="POLYLINE"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                   &lt;sequence maxOccurs="unbounded"&gt;
 *                     &lt;element name="COORDINATE" type="{http://www.opentrafficsim.org/ots}COORDINATETYPE"/&gt;
 *                   &lt;/sequence&gt;
 *                 &lt;/restriction&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *         &lt;/choice&gt;
 *         &lt;choice&gt;
 *           &lt;element name="ROADLAYOUT"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;extension base="{http://www.opentrafficsim.org/ots}BASICROADLAYOUT"&gt;
 *                 &lt;/extension&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *           &lt;sequence&gt;
 *             &lt;element name="DEFINEDLAYOUT" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *             &lt;element name="LANEOVERRIDE" maxOccurs="unbounded" minOccurs="0"&gt;
 *               &lt;complexType&gt;
 *                 &lt;complexContent&gt;
 *                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                     &lt;sequence&gt;
 *                       &lt;element ref="{http://www.opentrafficsim.org/ots}SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0"/&gt;
 *                     &lt;/sequence&gt;
 *                     &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *                   &lt;/restriction&gt;
 *                 &lt;/complexContent&gt;
 *               &lt;/complexType&gt;
 *             &lt;/element&gt;
 *           &lt;/sequence&gt;
 *         &lt;/choice&gt;
 *         &lt;element name="TRAFFICLIGHT" type="{http://www.opentrafficsim.org/ots}TRAFFICLIGHTTYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="TRAFFICLIGHTSENSOR" type="{http://www.opentrafficsim.org/ots}TRAFFICLIGHTSENSORTYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="TYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="NODESTART" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="NODEEND" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="OFFSETSTART" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" default="0.0 m" /&gt;
 *       &lt;attribute name="OFFSETEND" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" default="0.0 m" /&gt;
 *       &lt;attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" default="KEEPRIGHT" /&gt;
 *       &lt;attribute name="PRIORITY" type="{http://www.opentrafficsim.org/ots}PRIORITYTYPE" /&gt;
 *       &lt;attribute name="FIXGRADUALOFFSET" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
 *       &lt;attribute name="CONFLICTID" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "straight",
    "bezier",
    "clothoid",
    "arc",
    "polyline",
    "roadlayout",
    "definedlayout",
    "laneoverride",
    "trafficlight",
    "trafficlightsensor"
})
@XmlRootElement(name = "LINK")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
public class LINK implements Serializable
{

    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    private final static long serialVersionUID = 10102L;
    @XmlElement(name = "STRAIGHT")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected Object straight;
    @XmlElement(name = "BEZIER")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LINK.BEZIER bezier;
    @XmlElement(name = "CLOTHOID")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LINK.CLOTHOID clothoid;
    @XmlElement(name = "ARC")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LINK.ARC arc;
    @XmlElement(name = "POLYLINE")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LINK.POLYLINE polyline;
    @XmlElement(name = "ROADLAYOUT")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LINK.ROADLAYOUT roadlayout;
    @XmlElement(name = "DEFINEDLAYOUT")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String definedlayout;
    @XmlElement(name = "LANEOVERRIDE")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected List<LINK.LANEOVERRIDE> laneoverride;
    @XmlElement(name = "TRAFFICLIGHT")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected List<TRAFFICLIGHTTYPE> trafficlight;
    @XmlElement(name = "TRAFFICLIGHTSENSOR")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected List<TRAFFICLIGHTSENSORTYPE> trafficlightsensor;
    @XmlAttribute(name = "ID", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String id;
    @XmlAttribute(name = "TYPE", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String type;
    @XmlAttribute(name = "NODESTART", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String nodestart;
    @XmlAttribute(name = "NODEEND", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String nodeend;
    @XmlAttribute(name = "OFFSETSTART")
    @XmlJavaTypeAdapter(LengthAdapter.class)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected org.djunits.value.vdouble.scalar.Length offsetstart;
    @XmlAttribute(name = "OFFSETEND")
    @XmlJavaTypeAdapter(LengthAdapter.class)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected org.djunits.value.vdouble.scalar.Length offsetend;
    @XmlAttribute(name = "LANEKEEPING")
    @XmlJavaTypeAdapter(LaneKeepingAdapter.class)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected LaneKeepingType lanekeeping;
    @XmlAttribute(name = "PRIORITY")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String priority;
    @XmlAttribute(name = "FIXGRADUALOFFSET")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected Boolean fixgradualoffset;
    @XmlAttribute(name = "CONFLICTID")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String conflictid;
    @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
    @XmlSchemaType(name = "anyURI")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    protected String base;

    /**
     * Gets the value of the straight property.
     * 
     * @return
     *     possible object is
     *     {@link Object }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public Object getSTRAIGHT() {
        return straight;
    }

    /**
     * Sets the value of the straight property.
     * 
     * @param value
     *     allowed object is
     *     {@link Object }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setSTRAIGHT(Object value) {
        this.straight = value;
    }

    /**
     * Gets the value of the bezier property.
     * 
     * @return
     *     possible object is
     *     {@link LINK.BEZIER }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LINK.BEZIER getBEZIER() {
        return bezier;
    }

    /**
     * Sets the value of the bezier property.
     * 
     * @param value
     *     allowed object is
     *     {@link LINK.BEZIER }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setBEZIER(LINK.BEZIER value) {
        this.bezier = value;
    }

    /**
     * Gets the value of the clothoid property.
     * 
     * @return
     *     possible object is
     *     {@link LINK.CLOTHOID }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LINK.CLOTHOID getCLOTHOID() {
        return clothoid;
    }

    /**
     * Sets the value of the clothoid property.
     * 
     * @param value
     *     allowed object is
     *     {@link LINK.CLOTHOID }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setCLOTHOID(LINK.CLOTHOID value) {
        this.clothoid = value;
    }

    /**
     * Gets the value of the arc property.
     * 
     * @return
     *     possible object is
     *     {@link LINK.ARC }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LINK.ARC getARC() {
        return arc;
    }

    /**
     * Sets the value of the arc property.
     * 
     * @param value
     *     allowed object is
     *     {@link LINK.ARC }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setARC(LINK.ARC value) {
        this.arc = value;
    }

    /**
     * Gets the value of the polyline property.
     * 
     * @return
     *     possible object is
     *     {@link LINK.POLYLINE }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LINK.POLYLINE getPOLYLINE() {
        return polyline;
    }

    /**
     * Sets the value of the polyline property.
     * 
     * @param value
     *     allowed object is
     *     {@link LINK.POLYLINE }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setPOLYLINE(LINK.POLYLINE value) {
        this.polyline = value;
    }

    /**
     * Gets the value of the roadlayout property.
     * 
     * @return
     *     possible object is
     *     {@link LINK.ROADLAYOUT }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LINK.ROADLAYOUT getROADLAYOUT() {
        return roadlayout;
    }

    /**
     * Sets the value of the roadlayout property.
     * 
     * @param value
     *     allowed object is
     *     {@link LINK.ROADLAYOUT }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setROADLAYOUT(LINK.ROADLAYOUT value) {
        this.roadlayout = value;
    }

    /**
     * Gets the value of the definedlayout property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getDEFINEDLAYOUT() {
        return definedlayout;
    }

    /**
     * Sets the value of the definedlayout property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setDEFINEDLAYOUT(String value) {
        this.definedlayout = value;
    }

    /**
     * Gets the value of the laneoverride property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the laneoverride property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLANEOVERRIDE().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link LINK.LANEOVERRIDE }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public List<LINK.LANEOVERRIDE> getLANEOVERRIDE() {
        if (laneoverride == null) {
            laneoverride = new ArrayList<LINK.LANEOVERRIDE>();
        }
        return this.laneoverride;
    }

    /**
     * Gets the value of the trafficlight property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the trafficlight property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTRAFFICLIGHT().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TRAFFICLIGHTTYPE }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public List<TRAFFICLIGHTTYPE> getTRAFFICLIGHT() {
        if (trafficlight == null) {
            trafficlight = new ArrayList<TRAFFICLIGHTTYPE>();
        }
        return this.trafficlight;
    }

    /**
     * Gets the value of the trafficlightsensor property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the trafficlightsensor property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTRAFFICLIGHTSENSOR().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TRAFFICLIGHTSENSORTYPE }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public List<TRAFFICLIGHTSENSORTYPE> getTRAFFICLIGHTSENSOR() {
        if (trafficlightsensor == null) {
            trafficlightsensor = new ArrayList<TRAFFICLIGHTSENSORTYPE>();
        }
        return this.trafficlightsensor;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    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", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setID(String value) {
        this.id = value;
    }

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getTYPE() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setTYPE(String value) {
        this.type = value;
    }

    /**
     * Gets the value of the nodestart property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getNODESTART() {
        return nodestart;
    }

    /**
     * Sets the value of the nodestart property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setNODESTART(String value) {
        this.nodestart = value;
    }

    /**
     * Gets the value of the nodeend property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getNODEEND() {
        return nodeend;
    }

    /**
     * Sets the value of the nodeend property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setNODEEND(String value) {
        this.nodeend = value;
    }

    /**
     * Gets the value of the offsetstart property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public org.djunits.value.vdouble.scalar.Length getOFFSETSTART() {
        if (offsetstart == null) {
            return new LengthAdapter().unmarshal("0.0 m");
        } else {
            return offsetstart;
        }
    }

    /**
     * Sets the value of the offsetstart property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setOFFSETSTART(org.djunits.value.vdouble.scalar.Length value) {
        this.offsetstart = value;
    }

    /**
     * Gets the value of the offsetend property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public org.djunits.value.vdouble.scalar.Length getOFFSETEND() {
        if (offsetend == null) {
            return new LengthAdapter().unmarshal("0.0 m");
        } else {
            return offsetend;
        }
    }

    /**
     * Sets the value of the offsetend property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setOFFSETEND(org.djunits.value.vdouble.scalar.Length value) {
        this.offsetend = value;
    }

    /**
     * Gets the value of the lanekeeping property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public LaneKeepingType getLANEKEEPING() {
        if (lanekeeping == null) {
            return new LaneKeepingAdapter().unmarshal("KEEPRIGHT");
        } else {
            return lanekeeping;
        }
    }

    /**
     * Sets the value of the lanekeeping property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setLANEKEEPING(LaneKeepingType value) {
        this.lanekeeping = value;
    }

    /**
     * Gets the value of the priority property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getPRIORITY() {
        return priority;
    }

    /**
     * Sets the value of the priority property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setPRIORITY(String value) {
        this.priority = value;
    }

    /**
     * Gets the value of the fixgradualoffset property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public boolean isFIXGRADUALOFFSET() {
        if (fixgradualoffset == null) {
            return false;
        } else {
            return fixgradualoffset;
        }
    }

    /**
     * Sets the value of the fixgradualoffset property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setFIXGRADUALOFFSET(Boolean value) {
        this.fixgradualoffset = value;
    }

    /**
     * Gets the value of the conflictid property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getCONFLICTID() {
        return conflictid;
    }

    /**
     * Sets the value of the conflictid property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setCONFLICTID(String value) {
        this.conflictid = value;
    }

    /**
     * Gets the value of the base property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public String getBase() {
        return base;
    }

    /**
     * Sets the value of the base property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public void setBase(String value) {
        this.base = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;attribute name="RADIUS" use="required" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
     *       &lt;attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}LEFTRIGHTTYPE" /&gt;
     *       &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class ARC
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;
        @XmlAttribute(name = "RADIUS", required = true)
        @XmlJavaTypeAdapter(PositiveLengthAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected org.djunits.value.vdouble.scalar.Length radius;
        @XmlAttribute(name = "DIRECTION", required = true)
        @XmlJavaTypeAdapter(LeftRightAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected ArcDirection direction;
        @XmlAttribute(name = "NUMSEGMENTS")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected BigInteger numsegments;

        /**
         * Gets the value of the radius property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public org.djunits.value.vdouble.scalar.Length getRADIUS() {
            return radius;
        }

        /**
         * Sets the value of the radius property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setRADIUS(org.djunits.value.vdouble.scalar.Length value) {
            this.radius = value;
        }

        /**
         * Gets the value of the direction property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public ArcDirection getDIRECTION() {
            return direction;
        }

        /**
         * Sets the value of the direction property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setDIRECTION(ArcDirection value) {
            this.direction = value;
        }

        /**
         * Gets the value of the numsegments property.
         * 
         * @return
         *     possible object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public BigInteger getNUMSEGMENTS() {
            if (numsegments == null) {
                return new BigInteger("64");
            } else {
                return numsegments;
            }
        }

        /**
         * Sets the value of the numsegments property.
         * 
         * @param value
         *     allowed object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setNUMSEGMENTS(BigInteger value) {
            this.numsegments = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;attribute name="STARTDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
     *       &lt;attribute name="ENDDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
     *       &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
     *       &lt;attribute name="SHAPE" type="{http://www.opentrafficsim.org/ots}POSITIVEDOUBLE" default="1.0" /&gt;
     *       &lt;attribute name="WEIGHTED" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class BEZIER
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;
        @XmlAttribute(name = "STARTDIRECTION")
        @XmlJavaTypeAdapter(DirectionAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected Direction startdirection;
        @XmlAttribute(name = "ENDDIRECTION")
        @XmlJavaTypeAdapter(DirectionAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected Direction enddirection;
        @XmlAttribute(name = "NUMSEGMENTS")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected BigInteger numsegments;
        @XmlAttribute(name = "SHAPE")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected BigDecimal shape;
        @XmlAttribute(name = "WEIGHTED")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected Boolean weighted;

        /**
         * Gets the value of the startdirection property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public Direction getSTARTDIRECTION() {
            return startdirection;
        }

        /**
         * Sets the value of the startdirection property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setSTARTDIRECTION(Direction value) {
            this.startdirection = value;
        }

        /**
         * Gets the value of the enddirection property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public Direction getENDDIRECTION() {
            return enddirection;
        }

        /**
         * Sets the value of the enddirection property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setENDDIRECTION(Direction value) {
            this.enddirection = value;
        }

        /**
         * Gets the value of the numsegments property.
         * 
         * @return
         *     possible object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public BigInteger getNUMSEGMENTS() {
            if (numsegments == null) {
                return new BigInteger("64");
            } else {
                return numsegments;
            }
        }

        /**
         * Sets the value of the numsegments property.
         * 
         * @param value
         *     allowed object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setNUMSEGMENTS(BigInteger value) {
            this.numsegments = value;
        }

        /**
         * Gets the value of the shape property.
         * 
         * @return
         *     possible object is
         *     {@link BigDecimal }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public BigDecimal getSHAPE() {
            if (shape == null) {
                return new BigDecimal("1.0");
            } else {
                return shape;
            }
        }

        /**
         * Sets the value of the shape property.
         * 
         * @param value
         *     allowed object is
         *     {@link BigDecimal }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setSHAPE(BigDecimal value) {
            this.shape = value;
        }

        /**
         * Gets the value of the weighted property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public boolean isWEIGHTED() {
            if (weighted == null) {
                return false;
            } else {
                return weighted;
            }
        }

        /**
         * Sets the value of the weighted property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setWEIGHTED(Boolean value) {
            this.weighted = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;attribute name="STARTDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
     *       &lt;attribute name="STARTCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" /&gt;
     *       &lt;attribute name="ENDDIRECTION" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" /&gt;
     *       &lt;attribute name="ENDCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" /&gt;
     *       &lt;attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
     *       &lt;attribute name="ENDELEVATION" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" /&gt;
     *       &lt;attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" default="64" /&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class CLOTHOID
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;
        @XmlAttribute(name = "STARTDIRECTION")
        @XmlJavaTypeAdapter(DirectionAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected Direction startdirection;
        @XmlAttribute(name = "STARTCURVATURE", required = true)
        @XmlJavaTypeAdapter(PerLengthAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected LinearDensity startcurvature;
        @XmlAttribute(name = "ENDDIRECTION")
        @XmlJavaTypeAdapter(DirectionAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected Direction enddirection;
        @XmlAttribute(name = "ENDCURVATURE", required = true)
        @XmlJavaTypeAdapter(PerLengthAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected LinearDensity endcurvature;
        @XmlAttribute(name = "LENGTH")
        @XmlJavaTypeAdapter(PositiveLengthAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected org.djunits.value.vdouble.scalar.Length length;
        @XmlAttribute(name = "ENDELEVATION")
        @XmlJavaTypeAdapter(PositiveLengthAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected org.djunits.value.vdouble.scalar.Length endelevation;
        @XmlAttribute(name = "NUMSEGMENTS")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected BigInteger numsegments;

        /**
         * Gets the value of the startdirection property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public Direction getSTARTDIRECTION() {
            return startdirection;
        }

        /**
         * Sets the value of the startdirection property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setSTARTDIRECTION(Direction value) {
            this.startdirection = value;
        }

        /**
         * Gets the value of the startcurvature property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public LinearDensity getSTARTCURVATURE() {
            return startcurvature;
        }

        /**
         * Sets the value of the startcurvature property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setSTARTCURVATURE(LinearDensity value) {
            this.startcurvature = value;
        }

        /**
         * Gets the value of the enddirection property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public Direction getENDDIRECTION() {
            return enddirection;
        }

        /**
         * Sets the value of the enddirection property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setENDDIRECTION(Direction value) {
            this.enddirection = value;
        }

        /**
         * Gets the value of the endcurvature property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public LinearDensity getENDCURVATURE() {
            return endcurvature;
        }

        /**
         * Sets the value of the endcurvature property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setENDCURVATURE(LinearDensity value) {
            this.endcurvature = value;
        }

        /**
         * Gets the value of the length property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public org.djunits.value.vdouble.scalar.Length getLENGTH() {
            return length;
        }

        /**
         * Sets the value of the length property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setLENGTH(org.djunits.value.vdouble.scalar.Length value) {
            this.length = value;
        }

        /**
         * Gets the value of the endelevation property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public org.djunits.value.vdouble.scalar.Length getENDELEVATION() {
            return endelevation;
        }

        /**
         * Sets the value of the endelevation property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setENDELEVATION(org.djunits.value.vdouble.scalar.Length value) {
            this.endelevation = value;
        }

        /**
         * Gets the value of the numsegments property.
         * 
         * @return
         *     possible object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public BigInteger getNUMSEGMENTS() {
            if (numsegments == null) {
                return new BigInteger("64");
            } else {
                return numsegments;
            }
        }

        /**
         * Sets the value of the numsegments property.
         * 
         * @param value
         *     allowed object is
         *     {@link BigInteger }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setNUMSEGMENTS(BigInteger value) {
            this.numsegments = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element ref="{http://www.opentrafficsim.org/ots}SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0"/&gt;
     *       &lt;/sequence&gt;
     *       &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "speedlimit"
    })
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class LANEOVERRIDE
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;
        @XmlElement(name = "SPEEDLIMIT")
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected List<SPEEDLIMIT> speedlimit;
        @XmlAttribute(name = "LANE", required = true)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected String lane;

        /**
         * Gets the value of the speedlimit property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getSPEEDLIMIT().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link SPEEDLIMIT }
         * 
         * 
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public List<SPEEDLIMIT> getSPEEDLIMIT() {
            if (speedlimit == null) {
                speedlimit = new ArrayList<SPEEDLIMIT>();
            }
            return this.speedlimit;
        }

        /**
         * Gets the value of the lane property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public String getLANE() {
            return lane;
        }

        /**
         * Sets the value of the lane property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public void setLANE(String value) {
            this.lane = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence maxOccurs="unbounded"&gt;
     *         &lt;element name="COORDINATE" type="{http://www.opentrafficsim.org/ots}COORDINATETYPE"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "coordinate"
    })
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class POLYLINE
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;
        @XmlElement(name = "COORDINATE", required = true, type = String.class)
        @XmlJavaTypeAdapter(CoordinateAdapter.class)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        protected List<Point3d> coordinate;

        /**
         * Gets the value of the coordinate property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the coordinate property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getCOORDINATE().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link String }
         * 
         * 
         */
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        public List<Point3d> getCOORDINATE() {
            if (coordinate == null) {
                coordinate = new ArrayList<Point3d>();
            }
            return this.coordinate;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;extension base="{http://www.opentrafficsim.org/ots}BASICROADLAYOUT"&gt;
     *     &lt;/extension&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
    public static class ROADLAYOUT
        extends BASICROADLAYOUT
        implements Serializable
    {

        @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
        private final static long serialVersionUID = 10102L;

    }

}