public class VehicleType extends RPCStruct
Parameter List
| Name | Type | Description | SmartDeviceLink Ver. Available |
|---|---|---|---|
| make | String | Make of the vehicle
|
SmartDeviceLink 2.0 |
| Model | String | Model of the vehicle, e.g. Fiesta
|
SmartDeviceLink 2.0 |
| modelYear | String | Model Year of the vehicle, e.g. 2013
|
SmartDeviceLink 2.0 |
| trim | String | Trim of the vehicle, e.g. SE
|
SmartDeviceLink 2.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_MAKE |
static String |
KEY_MODEL |
static String |
KEY_MODEL_YEAR |
static String |
KEY_TRIM |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
VehicleType()
Constructs a newly allocated VehicleType object
|
VehicleType(HashMap<String,Object> hash)
Constructs a new VehicleType object indicated by the Hashtable
parameter
|
VehicleType(Hashtable<String,Object> hash)
Constructs a newly allocated VehicleType object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMake()
get the make of the vehicle
|
String |
getModel()
get the model of the vehicle
|
String |
getModelYear()
get the model year of the vehicle
|
String |
getTrim()
get the trim of the vehicle
|
VehicleType |
setMake(String make)
set the make of the vehicle
|
VehicleType |
setModel(String model)
set the model of the vehicle
|
VehicleType |
setModelYear(String modelYear)
set the model year of the vehicle
|
VehicleType |
setTrim(String trim)
set the trim of the vehicle
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_MAKE
public static final String KEY_MODEL
public static final String KEY_MODEL_YEAR
public static final String KEY_TRIM
public VehicleType()
public VehicleType(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic String getMake()
public VehicleType setMake(String make)
make - the make of the vehiclepublic String getModel()
public VehicleType setModel(String model)
model - the model of the vehiclepublic String getModelYear()
public VehicleType setModelYear(String modelYear)
modelYear - the model year of the vehiclepublic String getTrim()
public VehicleType setTrim(String trim)
trim - the trim of the vehicle