Converters

Utility class responsible for converting ENUM values to primitive types as stored in the database

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun fromADR(value: AdrTunnelCat?): Int?

Converts AdrTunnelCat value to ordinal integer as stored in the database.

Link copied to clipboard
Link copied to clipboard

Converts TranspMode value to ordinal integer as stored in the database.

Link copied to clipboard
fun toADR(value: Int?): AdrTunnelCat?

Converts integer to AdrTunnelCat value

Link copied to clipboard

Converts list of ConnectorType values to string stored inside the database

Link copied to clipboard
fun toTransMode(value: Int?): TranspMode?

Converts integer to TranspMode value