Class: SelfEvaluationQuestion

SelfEvaluationQuestion(data)

Class representing a Self-Evaluation Question.

Constructor

new SelfEvaluationQuestion(data)

Constructs a SelfEvaluationQuestion object
Parameters:
Name Type Description
data SelfEvaluationQuestion | Object
Source:

Members

_id :string

Unique ID for the SelfEvaluationQuestion.
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 SelfEvaluationQuestion.
Type:
  • string
Default Value:
  • ''
Source:

questionSummary :string

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

questionText :string

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

sortOrder :number

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

Methods

set(data) → {SelfEvaluationQuestion}

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