ca.shiftfocus.krispii.core.models.tasks

ShortAnswerTask

Related Docs: object ShortAnswerTask | package tasks

case class ShortAnswerTask(id: UUID = UUID.random, partId: UUID, position: Int, version: Long = 1L, settings: CommonTaskSettings = CommonTaskSettings(), maxLength: Int = 50, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Task with Product with Serializable

A short answer task is one for which the student is expected to write only a couple words.

id

The task's UUID.

partId

The part to which this task belongs.

position

The order in the part in which this task falls.

version

The version of the task entity, for offline locking. Default = 0.

settings

An object containing common settings for tasks.

maxLength

The maximum length of answer accepted, as a number of characters. Default = 50.

createdAt

When the entity was created. Default = None.

updatedAt

When the entity was last updated. Default = None.

Linear Supertypes
Serializable, Serializable, Product, Equals, Task, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ShortAnswerTask
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Task
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShortAnswerTask(id: UUID = UUID.random, partId: UUID, position: Int, version: Long = 1L, settings: CommonTaskSettings = CommonTaskSettings(), maxLength: Int = 50, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime)

    id

    The task's UUID.

    partId

    The part to which this task belongs.

    position

    The order in the part in which this task falls.

    version

    The version of the task entity, for offline locking. Default = 0.

    settings

    An object containing common settings for tasks.

    maxLength

    The maximum length of answer accepted, as a number of characters. Default = 50.

    createdAt

    When the entity was created. Default = None.

    updatedAt

    When the entity was last updated. Default = None.

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val createdAt: DateTime

    When the entity was created.

    When the entity was created. Default = None.

    Definition Classes
    ShortAnswerTaskTask
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(other: Any): Boolean

    Definition Classes
    ShortAnswerTask → Equals → AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. val id: UUID

    The task's UUID.

    The task's UUID.

    Definition Classes
    ShortAnswerTaskTask
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. val maxLength: Int

    The maximum length of answer accepted, as a number of characters.

    The maximum length of answer accepted, as a number of characters. Default = 50.

  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. val partId: UUID

    The part to which this task belongs.

    The part to which this task belongs.

    Definition Classes
    ShortAnswerTaskTask
  18. val position: Int

    The order in the part in which this task falls.

    The order in the part in which this task falls.

    Definition Classes
    ShortAnswerTaskTask
  19. val settings: CommonTaskSettings

    An object containing common settings for tasks.

    An object containing common settings for tasks.

    Definition Classes
    ShortAnswerTaskTask
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. val taskType: Int

    Which type of task this is.

    Which type of task this is. Hard-coded value per class!

    Definition Classes
    ShortAnswerTaskTask
  22. val updatedAt: DateTime

    When the entity was last updated.

    When the entity was last updated. Default = None.

    Definition Classes
    ShortAnswerTaskTask
  23. val version: Long

    The version of the task entity, for offline locking.

    The version of the task entity, for offline locking. Default = 0.

    Definition Classes
    ShortAnswerTaskTask
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Task

Inherited from AnyRef

Inherited from Any

Ungrouped