object Question extends MapJsonFormatters

Linear Supertypes
MapJsonFormatters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Question
  2. MapJsonFormatters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AcknowledgementOnly(id: Id, wording: Wording, statement: Option[Statement]) extends Question with Product with Serializable
  2. sealed trait ChoiceQuestion extends Question with LabelAndHints with ErrorMessaging
  3. case class ChooseOneOfQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = None, label: Option[Label] = None, hintText: Option[NonBulletStatementFragment] = None, marking: ListMap[PossibleAnswer, Mark], absence: Option[(String, Mark)] = None, errorInfo: Option[ErrorInfo] = None) extends SingleChoiceQuestion with Product with Serializable
  4. case class DateQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = None, label: Option[Label] = None, hintText: Option[NonBulletStatementFragment] = None, absence: Option[(String, Mark)] = None, errorInfo: Option[ErrorInfo] = None) extends Question with LabelAndHints with ErrorMessaging with Product with Serializable
  5. final case class Id(value: String) extends AnyVal with Product with Serializable
  6. final case class Label(value: String) extends AnyVal with Product with Serializable
  7. case class MultiChoiceQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = None, label: Option[Label] = None, hintText: Option[NonBulletStatementFragment] = None, marking: ListMap[PossibleAnswer, Mark], absence: Option[(String, Mark)] = None, errorInfo: Option[ErrorInfo] = None) extends ChoiceQuestion with Product with Serializable
  8. sealed trait SingleChoiceQuestion extends ChoiceQuestion
  9. case class TextQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = None, label: Option[Label] = None, hintText: Option[NonBulletStatementFragment] = None, validation: Option[TextValidation] = None, absence: Option[(String, Mark)] = None, errorInfo: Option[ErrorInfo] = None) extends Question with LabelAndHints with ErrorMessaging with Product with Serializable
  10. case class YesNoQuestion(id: Id, wording: Wording, statement: Option[Statement], afterStatement: Option[Statement] = None, label: Option[Label] = None, hintText: Option[NonBulletStatementFragment] = None, yesMarking: Mark, noMarking: Mark, absence: Option[(String, Mark)] = None, errorInfo: Option[ErrorInfo] = None) extends SingleChoiceQuestion with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val answerKey: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. implicit val jsonFormatAcknowledgementOnly: OFormat[AcknowledgementOnly]
  13. implicit val jsonFormatChooseOneOfQuestion: OFormat[ChooseOneOfQuestion]
  14. implicit val jsonFormatDateQuestion: OFormat[DateQuestion]
  15. implicit val jsonFormatMultiChoiceQuestion: OFormat[MultiChoiceQuestion]
  16. implicit val jsonFormatPossibleAnswer: Format[PossibleAnswer]
  17. implicit val jsonFormatQuestion: Format[Question]
  18. implicit val jsonFormatTextQuestion: OFormat[TextQuestion]
  19. implicit val jsonFormatWording: Format[Wording]
  20. implicit val jsonFormatYesNoQuestion: OFormat[YesNoQuestion]
  21. implicit val jsonListMapKV: Reads[ListMap[PossibleAnswer, Mark]]
  22. implicit val keyReadsPossibleAnswer: KeyReads[PossibleAnswer]
  23. implicit val keyReadsQuestionId: KeyReads[Id]
  24. implicit val keyWritesPossibleAnswer: KeyWrites[PossibleAnswer]
  25. implicit val keyWritesQuestionId: KeyWrites[Id]
  26. implicit def listMapReads[K, V](implicit keyReads: KeyReads[K], readsV: Reads[V]): Reads[ListMap[K, V]]
    Definition Classes
    MapJsonFormatters
  27. implicit def listMapWrites[K, V](implicit keyWrites: KeyWrites[K], formatV: Writes[V]): Writes[ListMap[K, V]]
    Definition Classes
    MapJsonFormatters
  28. implicit val markReads: Reads[Mark]
  29. implicit val markWrites: Writes[Mark]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. object Id extends Serializable
  39. object Label extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from MapJsonFormatters

Inherited from AnyRef

Inherited from Any

Ungrouped