ControlAnswer

open class ControlAnswer

Defines the the selected answer, the correct answer and the time used on a Trail-O control.

Java class for ControlAnswer complex type

.

The following schema fragment specifies the expected content contained within this class.


<complexType name="ControlAnswer">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="Answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="CorrectAnswer" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="Time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
        <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getAnswer(): String
The answer that the competitor selected.
Link copied to clipboard
The correct answer.
Link copied to clipboard
Container element for custom elements from other schemas.
Link copied to clipboard
open fun getTime(): Double
The time in seconds used to give the answer, in case of a timed control.
Link copied to clipboard
open fun setAnswer(value: String)
Sets the value of the answer property.
Link copied to clipboard
open fun setCorrectAnswer(value: String)
Sets the value of the correctAnswer property.
Link copied to clipboard
open fun setExtensions(value: Extensions)
Sets the value of the extensions property.
Link copied to clipboard
open fun setTime(value: Double)
Sets the value of the time property.