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 obj)
Two vehicle-types are equal if they have the same vehicleId.
|
Capacity |
getCapacityDimensions()
Returns capacity dimensions.
|
double |
getMaxVelocity()
Returns maximum velocity of this vehicle-type.
|
String |
getProfile() |
String |
getTypeId()
Returns typeId.
|
VehicleTypeImpl.VehicleCostParams |
getVehicleCostParams()
Return the cost-parameter of this vehicle-type.
|
int |
hashCode() |
String |
toString() |
public boolean equals(Object obj)
public 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–2016. All rights reserved.