GtuTemplate.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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.opentrafficsim.xml.bindings.StringAdapter;
import org.opentrafficsim.xml.bindings.types.StringType;
/**
* <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">
* <sequence>
* <element name="LengthDist" type="{http://www.opentrafficsim.org/ots}LengthDistType"/>
* <element name="WidthDist" type="{http://www.opentrafficsim.org/ots}LengthDistType"/>
* <element name="MaxSpeedDist" type="{http://www.opentrafficsim.org/ots}SpeedDistType"/>
* <element name="MaxAccelerationDist" type="{http://www.opentrafficsim.org/ots}AccelerationDistType" minOccurs="0"/>
* <element name="MaxDecelerationDist" type="{http://www.opentrafficsim.org/ots}AccelerationDistType" minOccurs="0"/>
* </sequence>
* <attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" />
* <attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" />
* <attribute name="Default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"lengthDist",
"widthDist",
"maxSpeedDist",
"maxAccelerationDist",
"maxDecelerationDist"
})
@XmlRootElement(name = "GtuTemplate")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public class GtuTemplate
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;
@XmlElement(name = "LengthDist", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected LengthDistType lengthDist;
@XmlElement(name = "WidthDist", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected LengthDistType widthDist;
@XmlElement(name = "MaxSpeedDist", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected SpeedDistType maxSpeedDist;
@XmlElement(name = "MaxAccelerationDist")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected AccelerationDistType maxAccelerationDist;
@XmlElement(name = "MaxDecelerationDist")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected AccelerationDistType maxDecelerationDist;
@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 = "GtuType", required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected StringType gtuType;
@XmlAttribute(name = "Default")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected Boolean _default;
/**
* Gets the value of the lengthDist property.
*
* @return
* possible object is
* {@link LengthDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public LengthDistType getLengthDist() {
return lengthDist;
}
/**
* Sets the value of the lengthDist property.
*
* @param value
* allowed object is
* {@link LengthDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setLengthDist(LengthDistType value) {
this.lengthDist = value;
}
/**
* Gets the value of the widthDist property.
*
* @return
* possible object is
* {@link LengthDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public LengthDistType getWidthDist() {
return widthDist;
}
/**
* Sets the value of the widthDist property.
*
* @param value
* allowed object is
* {@link LengthDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setWidthDist(LengthDistType value) {
this.widthDist = value;
}
/**
* Gets the value of the maxSpeedDist property.
*
* @return
* possible object is
* {@link SpeedDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public SpeedDistType getMaxSpeedDist() {
return maxSpeedDist;
}
/**
* Sets the value of the maxSpeedDist property.
*
* @param value
* allowed object is
* {@link SpeedDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setMaxSpeedDist(SpeedDistType value) {
this.maxSpeedDist = value;
}
/**
* Gets the value of the maxAccelerationDist property.
*
* @return
* possible object is
* {@link AccelerationDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public AccelerationDistType getMaxAccelerationDist() {
return maxAccelerationDist;
}
/**
* Sets the value of the maxAccelerationDist property.
*
* @param value
* allowed object is
* {@link AccelerationDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setMaxAccelerationDist(AccelerationDistType value) {
this.maxAccelerationDist = value;
}
/**
* Gets the value of the maxDecelerationDist property.
*
* @return
* possible object is
* {@link AccelerationDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public AccelerationDistType getMaxDecelerationDist() {
return maxDecelerationDist;
}
/**
* Sets the value of the maxDecelerationDist property.
*
* @param value
* allowed object is
* {@link AccelerationDistType }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setMaxDecelerationDist(AccelerationDistType value) {
this.maxDecelerationDist = value;
}
/**
* 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 gtuType 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 StringType getGtuType() {
return gtuType;
}
/**
* Sets the value of the gtuType 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 setGtuType(StringType value) {
this.gtuType = value;
}
/**
* Gets the value of the default property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public boolean isDefault() {
if (_default == null) {
return false;
} else {
return _default;
}
}
/**
* Sets the value of the default property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public void setDefault(Boolean value) {
this._default = value;
}
}