blob: 3a8c1e1be658bb054094ceb752e16e8428a0ec02 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_262) on Thu Oct 29 15:52:07 GMT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VehicleData.Builder (Eclipse MOSAIC Parent 20.0 API)</title>
<meta name="date" content="2020-10-29">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="VehicleData.Builder (Eclipse MOSAIC Parent 20.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/VehicleData.Builder.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleDeparture.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" target="_top">Frames</a></li>
<li><a href="VehicleData.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.mosaic.lib.objects.vehicle</div>
<h2 title="Class VehicleData.Builder" class="title">Class VehicleData.Builder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.mosaic.lib.objects.vehicle.VehicleData.Builder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="typeNameLabel">VehicleData.Builder</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A builder for creating <a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><code>VehicleData</code></a> objects without using the monstrous constructor.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#Builder-long-java.lang.String-">Builder</a></span>(long&nbsp;time,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Init the builder with the current simulation time [ns] and name of the vehicle.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#additional-java.lang.Object-">additional</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;additionalData)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#consumptions-org.eclipse.mosaic.lib.objects.vehicle.VehicleConsumptions-">consumptions</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleConsumptions.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleConsumptions</a>&nbsp;consumptions)</code>
<div class="block">Set information about the consumptions of the vehicle.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#copyFrom-org.eclipse.mosaic.lib.objects.vehicle.VehicleData-">copyFrom</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData</a>&nbsp;veh)</code>
<div class="block">Copy all values from an existing <a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><code>VehicleData</code></a> object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#create--">create</a></span>()</code>
<div class="block">Returns the final <a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><code>VehicleData</code></a> based on the properties given before.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#electric-org.eclipse.mosaic.lib.objects.vehicle.VehicleBatteryState-">electric</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleBatteryState.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleBatteryState</a>&nbsp;electricInfo)</code>
<div class="block">Set information about the electric motor and the battery of the vehicle.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#emissions-org.eclipse.mosaic.lib.objects.vehicle.VehicleEmissions-">emissions</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleEmissions.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleEmissions</a>&nbsp;emissions)</code>
<div class="block">Set information about the emissions of the vehicle.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#laneArea-java.lang.String-">laneArea</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;laneArea)</code>
<div class="block">Define the id of the lane area this vehicle is currently driving in.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#movement-double-double-double-">movement</a></span>(double&nbsp;speed,
double&nbsp;acceleration,
double&nbsp;distanceDriven)</code>
<div class="block">Set movement related values, such as speed and acceleration.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#orientation-org.eclipse.mosaic.lib.enums.DriveDirection-double-double-">orientation</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/enums/DriveDirection.html" title="enum in org.eclipse.mosaic.lib.enums">DriveDirection</a>&nbsp;driveDirection,
double&nbsp;heading,
double&nbsp;slope)</code>
<div class="block">Set orientation relative values of the vehicles, such as heading.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#position-org.eclipse.mosaic.lib.geo.GeoPoint-org.eclipse.mosaic.lib.geo.CartesianPoint-">position</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/geo/GeoPoint.html" title="interface in org.eclipse.mosaic.lib.geo">GeoPoint</a>&nbsp;position,
<a href="../../../../../../org/eclipse/mosaic/lib/geo/CartesianPoint.html" title="interface in org.eclipse.mosaic.lib.geo">CartesianPoint</a>&nbsp;projectedPosition)</code>
<div class="block">Set position related values for the vehicle info.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#road-org.eclipse.mosaic.lib.objects.road.IRoadPosition-">road</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/road/IRoadPosition.html" title="interface in org.eclipse.mosaic.lib.objects.road">IRoadPosition</a>&nbsp;roadPosition)</code>
<div class="block">Set the position on the road of the vehicle.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#route-java.lang.String-">route</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;routeId)</code>
<div class="block">Set information about the route.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#sensors-org.eclipse.mosaic.lib.objects.vehicle.VehicleSensors-">sensors</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleSensors.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleSensors</a>&nbsp;vehicleSensors)</code>
<div class="block">Set information about the sensors of the vehicle.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#signals-org.eclipse.mosaic.lib.objects.vehicle.VehicleSignals-">signals</a></span>(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleSignals.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleSignals</a>&nbsp;vehicleSignals)</code>
<div class="block">Set information about the signals state of the vehicle.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html#stopped-boolean-">stopped</a></span>(boolean&nbsp;stopped)</code>
<div class="block">Define, if the vehicle is currently in stopped state.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Builder-long-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Builder</h4>
<pre>public&nbsp;Builder(long&nbsp;time,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Init the builder with the current simulation time [ns] and name of the vehicle.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="position-org.eclipse.mosaic.lib.geo.GeoPoint-org.eclipse.mosaic.lib.geo.CartesianPoint-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>position</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;position(<a href="../../../../../../org/eclipse/mosaic/lib/geo/GeoPoint.html" title="interface in org.eclipse.mosaic.lib.geo">GeoPoint</a>&nbsp;position,
<a href="../../../../../../org/eclipse/mosaic/lib/geo/CartesianPoint.html" title="interface in org.eclipse.mosaic.lib.geo">CartesianPoint</a>&nbsp;projectedPosition)</pre>
<div class="block">Set position related values for the vehicle info.</div>
</li>
</ul>
<a name="movement-double-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>movement</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;movement(double&nbsp;speed,
double&nbsp;acceleration,
double&nbsp;distanceDriven)</pre>
<div class="block">Set movement related values, such as speed and acceleration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>speed</code> - the speed of the vehicle in [m/s]</dd>
<dd><code>acceleration</code> - the acceleration of the vehicle in [m/s^2]</dd>
<dd><code>distanceDriven</code> - the total distance driven by the vehicle</dd>
</dl>
</li>
</ul>
<a name="orientation-org.eclipse.mosaic.lib.enums.DriveDirection-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>orientation</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;orientation(<a href="../../../../../../org/eclipse/mosaic/lib/enums/DriveDirection.html" title="enum in org.eclipse.mosaic.lib.enums">DriveDirection</a>&nbsp;driveDirection,
double&nbsp;heading,
double&nbsp;slope)</pre>
<div class="block">Set orientation relative values of the vehicles, such as heading.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>driveDirection</code> - the drive direction, use <a href="../../../../../../org/eclipse/mosaic/lib/enums/DriveDirection.html#UNAVAILABLE"><code>DriveDirection.UNAVAILABLE</code></a> if not known</dd>
<dd><code>heading</code> - the heading of the vehicle in degrees</dd>
<dd><code>slope</code> - the slope of the vehicle in degrees</dd>
</dl>
</li>
</ul>
<a name="road-org.eclipse.mosaic.lib.objects.road.IRoadPosition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>road</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;road(<a href="../../../../../../org/eclipse/mosaic/lib/objects/road/IRoadPosition.html" title="interface in org.eclipse.mosaic.lib.objects.road">IRoadPosition</a>&nbsp;roadPosition)</pre>
<div class="block">Set the position on the road of the vehicle.</div>
</li>
</ul>
<a name="route-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>route</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;route(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;routeId)</pre>
<div class="block">Set information about the route.</div>
</li>
</ul>
<a name="emissions-org.eclipse.mosaic.lib.objects.vehicle.VehicleEmissions-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>emissions</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;emissions(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleEmissions.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleEmissions</a>&nbsp;emissions)</pre>
<div class="block">Set information about the emissions of the vehicle.</div>
</li>
</ul>
<a name="consumptions-org.eclipse.mosaic.lib.objects.vehicle.VehicleConsumptions-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>consumptions</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;consumptions(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleConsumptions.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleConsumptions</a>&nbsp;consumptions)</pre>
<div class="block">Set information about the consumptions of the vehicle.</div>
</li>
</ul>
<a name="electric-org.eclipse.mosaic.lib.objects.vehicle.VehicleBatteryState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>electric</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;electric(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleBatteryState.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleBatteryState</a>&nbsp;electricInfo)</pre>
<div class="block">Set information about the electric motor and the battery of the vehicle.</div>
</li>
</ul>
<a name="signals-org.eclipse.mosaic.lib.objects.vehicle.VehicleSignals-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>signals</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;signals(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleSignals.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleSignals</a>&nbsp;vehicleSignals)</pre>
<div class="block">Set information about the signals state of the vehicle.</div>
</li>
</ul>
<a name="sensors-org.eclipse.mosaic.lib.objects.vehicle.VehicleSensors-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sensors</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;sensors(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleSensors.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleSensors</a>&nbsp;vehicleSensors)</pre>
<div class="block">Set information about the sensors of the vehicle.</div>
</li>
</ul>
<a name="stopped-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopped</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;stopped(boolean&nbsp;stopped)</pre>
<div class="block">Define, if the vehicle is currently in stopped state.</div>
</li>
</ul>
<a name="laneArea-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>laneArea</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;laneArea(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;laneArea)</pre>
<div class="block">Define the id of the lane area this vehicle is currently driving in.</div>
</li>
</ul>
<a name="additional-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>additional</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;additional(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;additionalData)</pre>
</li>
</ul>
<a name="copyFrom-org.eclipse.mosaic.lib.objects.vehicle.VehicleData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyFrom</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData.Builder</a>&nbsp;copyFrom(<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData</a>&nbsp;veh)</pre>
<div class="block">Copy all values from an existing <a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><code>VehicleData</code></a> object.</div>
</li>
</ul>
<a name="create--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>create</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle">VehicleData</a>&nbsp;create()</pre>
<div class="block">Returns the final <a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><code>VehicleData</code></a> based on the properties given before.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/VehicleData.Builder.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleData.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/mosaic/lib/objects/vehicle/VehicleDeparture.html" title="class in org.eclipse.mosaic.lib.objects.vehicle"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/mosaic/lib/objects/vehicle/VehicleData.Builder.html" target="_top">Frames</a></li>
<li><a href="VehicleData.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2020 <a href="https://www.fokus.fraunhofer.de/">Fraunhofer FOKUS</a>. All rights reserved.</small></p>
</body>
</html>