public abstract class Vehicle extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
Vehicle.Type
The type of the vehicle.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
Vehicle() |
Modifier and Type | Method and Description |
---|---|
static Vehicle |
create(String licensePlateNumber,
Vehicle.Type vehicleType,
String manufacturer,
String model,
String color,
String identifier)
Create a new vehicle object.
|
abstract String |
getColor()
The vehicle color.
|
abstract String |
getIdentifier()
The vehicle identifier.
|
abstract String |
getLicensePlateNumber()
License plate number.
|
abstract String |
getManufacturer()
The manufacturer of the vehicle.
|
abstract String |
getModel()
The vehicle model.
|
abstract Vehicle.Type |
getVehicleType()
The type of the vehicle.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract String getLicensePlateNumber()
public abstract Vehicle.Type getVehicleType()
public abstract String getManufacturer()
public abstract String getModel()
public abstract String getColor()
public abstract String getIdentifier()