ca.shiftfocus.krispii.core.models.tasks

OrderingTask

Related Docs: object OrderingTask | package tasks

case class OrderingTask(id: UUID = UUID.random, partId: UUID, position: Int, version: Long = 1L, settings: CommonTaskSettings = CommonTaskSettings(), elements: IndexedSeq[String] = IndexedSeq(), answers: IndexedSeq[Int] = IndexedSeq(), randomizeChoices: Boolean = true, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Task with Product with Serializable

An ordering task is one for which the student must place a given set of elements in the correct sequence, or order.

id
partId
position
version
settings
elements
answers
randomizeChoices
createdAt
updatedAt

Linear Supertypes
Serializable, Serializable, Product, Equals, Task, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OrderingTask
  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 OrderingTask(id: UUID = UUID.random, partId: UUID, position: Int, version: Long = 1L, settings: CommonTaskSettings = CommonTaskSettings(), elements: IndexedSeq[String] = IndexedSeq(), answers: IndexedSeq[Int] = IndexedSeq(), randomizeChoices: Boolean = true, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime)

    id
    partId
    position
    version
    settings
    elements
    answers
    randomizeChoices
    createdAt
    updatedAt

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 answers: IndexedSeq[Int]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Definition Classes
    OrderingTaskTask
  8. val elements: IndexedSeq[String]

  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    OrderingTask → Equals → AnyRef → Any
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. val id: UUID

    Definition Classes
    OrderingTaskTask
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  18. val partId: UUID

    Definition Classes
    OrderingTaskTask
  19. val position: Int

    Definition Classes
    OrderingTaskTask
  20. val randomizeChoices: Boolean

  21. val settings: CommonTaskSettings

    Definition Classes
    OrderingTaskTask
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. val taskType: Int

    Which type of task this is.

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

    Definition Classes
    OrderingTaskTask
  24. val updatedAt: DateTime

    Definition Classes
    OrderingTaskTask
  25. val version: Long

    Definition Classes
    OrderingTaskTask
  26. final def wait(): Unit

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

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