RPDoubleAnswerFormat
Class representing an Answer Format that lets participants input a decimal number (double)
- Inheritance
-
- Object
- Serializable
- RPAnswerFormat
- RPDoubleAnswerFormat
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPDoubleAnswerFormat.fromJson
RPDoubleAnswerFormat
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
maxValue
getter/setter pair
The maximum value of the range. The participant can not proceed if the number is outside the range.
minValue
getter/setter pair
The minimum value of the range. The participant can not proceed if the number is outside the range.
questionType
override
inherited
The question type of this answer. Should be implemented / overwritten in the subclasses.
suffix
getter/setter pair
The text to show after the input field. If null then no text is shown.
Methods
toJson
Return a JSON encoding of this object.