Enum Class InteractionType

java.lang.Object
java.lang.Enum<InteractionType>
dev.learning.xapi.model.InteractionType
All Implemented Interfaces:
Serializable, Comparable<InteractionType>, Constable

public enum InteractionType extends Enum<InteractionType>
This enumeration class represents all valid xAPI interaction types.
Author:
István Rátkai (Selindek)
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    An interaction with a number of possible choices from which the learner can select.
    An interaction with a number of possible choices from which the learner can select.
    An interaction which asks the learner to select from a discrete set of choices on a scale.
    An interaction which requires the learner to supply a response in the form of a long string of characters.
    An interaction where the learner is asked to match items in one set to items in another set.
    Any interaction which requires a numeric response from the learner.
    Another type of interaction that does not fit into those defined above.
    An interaction that requires the learner to perform a task that requires multiple steps.
    An interaction where the learner is asked to order items in a set.
    An interaction with two possible responses: true or false.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • TRUE_FALSE

      public static final InteractionType TRUE_FALSE
      An interaction with two possible responses: true or false.
    • FILL_IN

      public static final InteractionType FILL_IN
      An interaction with a number of possible choices from which the learner can select.
    • LONG_FILL_IN

      public static final InteractionType LONG_FILL_IN
      An interaction which requires the learner to supply a response in the form of a long string of characters.
    • LIKERT

      public static final InteractionType LIKERT
      An interaction which asks the learner to select from a discrete set of choices on a scale.
    • MATCHING

      public static final InteractionType MATCHING
      An interaction where the learner is asked to match items in one set to items in another set.
    • PERFORMANCE

      public static final InteractionType PERFORMANCE
      An interaction that requires the learner to perform a task that requires multiple steps.
    • SEQUENCING

      public static final InteractionType SEQUENCING
      An interaction where the learner is asked to order items in a set.
    • NUMERIC

      public static final InteractionType NUMERIC
      Any interaction which requires a numeric response from the learner.
    • CHOICE

      public static final InteractionType CHOICE
      An interaction with a number of possible choices from which the learner can select.
    • OTHER

      public static final InteractionType OTHER
      Another type of interaction that does not fit into those defined above.
  • Method Details

    • values

      public static InteractionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InteractionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null