tripkit-android / com.skedgo.tripkit.ui.data / CursorToServiceConverter

CursorToServiceConverter

open class CursorToServiceConverter :CursorToEntityConverter<TimetableEntry!>

Types

Name Summary
ServiceColumnIndices NOTE: Don't hard code column indicesopen class ServiceColumnIndices

Constructors

Name Summary
<init> CursorToServiceConverter(gson: Gson)

Functions

Name Summary
apply open fun apply(cursor: Cursor):TimetableEntry!
getEndStopCode open fun getEndStopCode():String!
getEndTimeInSecs open fun getEndTimeInSecs():Long
getFrequency open fun getFrequency():Int
getId open fun getId():Long
getMode open fun getMode():VehicleMode!
getPairIdentifier open fun getPairIdentifier():String!
getRealTimeStatus open fun getRealTimeStatus():RealTimeStatus!
getSearchString open fun getSearchString():String!
getServiceColorBlue open fun getServiceColorBlue():Int
getServiceColorGreen open fun getServiceColorGreen():Int
getServiceColorRed open fun getServiceColorRed():Int
getServiceName open fun getServiceName():String!
getServiceNumber open fun getServiceNumber():String!
getServiceOperator open fun getServiceOperator():String!
getServiceTime open fun getServiceTime():Long
getServiceTripId open fun getServiceTripId():String!
getStartStopShortName open fun getStartStopShortName():String!
getStartTimeInSecs open fun getStartTimeInSecs():Long
getStopCode open fun getStopCode():String!
getWheelchairAccessible open fun getWheelchairAccessible():Boolean!
isFavourite open fun isFavourite():Boolean
setCursor open fun setCursor(cursor: Cursor):Unit