public class VehicleTypeImpl extends Object implements VehicleType
| Modifier and Type | Class and Description |
|---|---|
static class |
VehicleTypeImpl.Builder
Builder that builds the vehicle-type.
|
static class |
VehicleTypeImpl.VehicleCostParams
CostParameter consisting of fixed cost parameter, time-based cost parameter and distance-based cost parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Capacity |
getCapacityDimensions()
Returns capacity dimensions.
|
double |
getMaxVelocity()
Returns maximum velocity of this vehicle-type.
|
String |
getProfile() |
String |
getTypeId()
Returns typeId.
|
Object |
getUserData() |
VehicleTypeImpl.VehicleCostParams |
getVehicleCostParams()
Return the cost-parameter of this vehicle-type.
|
int |
hashCode() |
String |
toString() |
public Object getUserData()
getUserData in interface VehicleTypepublic String getTypeId()
VehicleTypegetTypeId in interface VehicleTypepublic VehicleTypeImpl.VehicleCostParams getVehicleCostParams()
VehicleTypegetVehicleCostParams in interface VehicleTypepublic double getMaxVelocity()
VehicleTypegetMaxVelocity in interface VehicleTypepublic Capacity getCapacityDimensions()
VehicleTypegetCapacityDimensions in interface VehicleTypeCapacitypublic String getProfile()
getProfile in interface VehicleTypeCopyright © 2013–2019. All rights reserved.