Select

data class Select(val heading: String, val name: String, val parameterType: StudyParameterType, val defaultValue: String, val value: String, val options: Map<String, String>) : StudyParameter

A parameter of active study Study that has a limited list of possible options

Constructors

Link copied to clipboard
constructor(heading: String, name: String, parameterType: StudyParameterType, defaultValue: String, value: String, options: Map<String, String>)

Properties

Link copied to clipboard
val defaultValue: String

A default string value of a parameter

Link copied to clipboard
open override val heading: String

A user-friendly name of the parameter

Link copied to clipboard
open override val name: String

A name of a parameter to be used as identifier of a parameter

Link copied to clipboard
val options: Map<String, String>

A list of possible values

Link copied to clipboard

A parameter type

Link copied to clipboard
val value: String

A current string value of a parameter