VehicleModelFullInfo

data class VehicleModelFullInfo(val vehicle: DVehicleModel, val profile: DProfile?, val eVProfile: DEVProfile?, val manufacturer: DManufacturer?)

Helper object used by Room DAO to query for vehicle model information that is saved in multiple tables.

Constructors

Link copied to clipboard
constructor(vehicle: DVehicleModel, profile: DProfile?, eVProfile: DEVProfile?, manufacturer: DManufacturer?)

Properties

Link copied to clipboard

Energetic vehicle profile of given vehicle or null if given vehicle has no such profile.

Link copied to clipboard

Manufacturer of given vehicle model or null if there is no connected manufacturer for given vehicle model.

Link copied to clipboard

Profile of given mobile or null if no profile is connected to given model.

Link copied to clipboard

Vehicle model instance containing basic information

Functions

Link copied to clipboard

Constructs Profile instance base on information inside VehicleModelFullInfo instance

Link copied to clipboard

Converts VehicleModelFullInfo instance used by Room DAOs to VehicleModel instance (public API)