Class VehicleMapping
- java.lang.Object
-
- org.eclipse.mosaic.lib.objects.mapping.UnitMapping
-
- org.eclipse.mosaic.lib.objects.mapping.VehicleMapping
-
- All Implemented Interfaces:
Serializable
@Immutable public final class VehicleMapping extends UnitMapping
A vehicle simulation unit that is equipped with applications.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VehicleMapping(String name, String group, List<String> applications, VehicleType vehicleType)
Creates a new ApplicationVehicle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VehicleType
getVehicleType()
-
Methods inherited from class org.eclipse.mosaic.lib.objects.mapping.UnitMapping
getApplications, getGroup, getName, hasApplication, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
getVehicleType
public VehicleType getVehicleType()
-
-