Page Summary
-
BaseVehicleis an abstract class representing a base vehicle object, which extends theObjectclass. -
DeliveryVehicleis a known direct subclass ofBaseVehicle, representing a vehicle used to perform tracked actions. -
The
BaseVehicleclass has a public constructor and three abstract methods:getProviderId,getVehicleId, andgetVehicleName. -
getProviderIdreturns the unique identifier for a given provider,getVehicleIdreturns the unique identifier for the vehicle for a given provider, andgetVehicleNamereturns the full name of the vehicle across all providers.
| Known Direct Subclasses |
Base representation of a vehicle.
Public Constructor Summary
Public Method Summary
| abstract String |
getProviderId()
Returns the unique identifier for this provider.
|
| abstract String |
getVehicleId()
Returns the unique identifier for this vehicle for this provider.
|
| abstract String |
getVehicleName()
Returns the full name for this vehicle among all providers.
|
Inherited Method Summary
Public Constructors
public BaseVehicle ()
Public Methods
public abstract String getProviderId ()
Returns the unique identifier for this provider.
public abstract String getVehicleId ()
Returns the unique identifier for this vehicle for this provider.
public abstract String getVehicleName ()
Returns the full name for this vehicle among all providers.