ca.shiftfocus.krispii.core.models.tasks

LongAnswerTask

Related Docs: object LongAnswerTask | package tasks

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

A long answer task is one in which the student is expected to write more than a few words in response. This task type gives them free reign to enter as much text as they desire.

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.

settings

An object containing common settings for tasks.

createdAt

When the entity was created.

updatedAt

When the entity was last updated.

Linear Supertypes
Serializable, Serializable, Product, Equals, Task, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LongAnswerTask
  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 LongAnswerTask(id: UUID = UUID.random, partId: UUID, position: Int, version: Long = 1L, settings: CommonTaskSettings = CommonTaskSettings(), 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.

    settings

    An object containing common settings for tasks.

    createdAt

    When the entity was created.

    updatedAt

    When the entity was last updated.

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.

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

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

    Definition Classes
    LongAnswerTask → 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
    LongAnswerTaskTask
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  16. val partId: UUID

    The Part to which this task belongs.

    The Part to which this task belongs.

    Definition Classes
    LongAnswerTaskTask
  17. 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
    LongAnswerTaskTask
  18. val settings: CommonTaskSettings

    An object containing common settings for tasks.

    An object containing common settings for tasks.

    Definition Classes
    LongAnswerTaskTask
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. val taskType: Int

    Which type of task this is.

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

    Definition Classes
    LongAnswerTaskTask
  21. val updatedAt: DateTime

    When the entity was last updated.

    When the entity was last updated.

    Definition Classes
    LongAnswerTaskTask
  22. val version: Long

    The version of the task entity, for offline locking.

    The version of the task entity, for offline locking.

    Definition Classes
    LongAnswerTaskTask
  23. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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