/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.database.scheduled_stops/ScheduledStopMapper
ScheduledStopMapper
\ class ScheduledStopMapper@Injectconstructor(gson: Gson)
Constructors
ScheduledStopMapper | @Inject constructor(gson: Gson) |
Functions
Name | Summary |
---|---|
mapToDomain | fun mapToDomain(entity: ScheduledStopWithLocation): ScheduledStop |
mapToDomainList | fun mapToDomainList(entities: List<ScheduledStopWithLocation>): List<ScheduledStop> |
mapToDownloadHistoryEntity | fun mapToDownloadHistoryEntity(cellCode: String, downloadTime: Long, hashCode: Long): ScheduledStopDownloadHistoryEntity |
mapToLocationEntity | fun mapToLocationEntity(domain: ScheduledStop): LocationEntity |
mapToScheduledStopEntity | fun mapToScheduledStopEntity(domain: ScheduledStop, cellCode: String): ScheduledStopEntity |