Class VehicleMapping
java.lang.Object
org.eclipse.mosaic.lib.objects.mapping.UnitMapping
org.eclipse.mosaic.lib.objects.mapping.VehicleMapping
- All Implemented Interfaces:
Serializable
A vehicle simulation unit that is equipped with applications.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVehicleMapping
(String name, String group, List<String> applications, VehicleType vehicleType) Creates a new ApplicationVehicle. -
Method Summary
Methods inherited from class org.eclipse.mosaic.lib.objects.mapping.UnitMapping
getApplications, getGroup, getName, hasApplication, toString
-
Constructor Details
-
VehicleMapping
public VehicleMapping(String name, String group, List<String> applications, VehicleType vehicleType) Creates a new ApplicationVehicle.- Parameters:
name
- The name of the vehicle.group
- The group name of the vehicle.applications
- The list of applications the vehicle is equipped with.vehicleType
- The vehicle type.
-
-
Method Details
-
getVehicleType
-