Class: ReflectionQuestion

ReflectionQuestion(data)

Class representing a Reflection Question.

Constructor

new ReflectionQuestion(data)

Constructs an ReflectionQuestion object
Parameters:
Name Type Description
data ReflectionQuestion | Object
Source:

Members

_id :string

Unique ID for the ReflectionQuestion.
Type:
  • string
Default Value:
  • ''
Source:

answer :string

User's answer to the question. This is a string, but how to display it depends on the answerType.
Type:
  • string
Source:

answerType :AnswerTypes|string

Type of answer expected.
Type:
Source:

claUnit :number

claUnit of the question. This is the overall unit in CLA, and is 1-based.
Type:
  • number
Source:

questionKey :string

Key of the ReflectionQuestion.
Type:
  • string
Default Value:
  • ''
Source:

questionSet :ReflectionQuestionSets|string

Set of questions to which this question belongs.
Type:
Source:

questionText :string

Text of the question.
Type:
  • string
Default Value:
  • ''
Source:

sortOrder :number

Sort order of the question within the QuestionSet.
Type:
  • number
Source:

Methods

set(data) → {ReflectionQuestion}

Creates an updated ReflectionQuestion object
Parameters:
Name Type Description
data ReflectionQuestion | Object
Source:
Returns:
Type
ReflectionQuestion