Package dev.learning.xapi.model
Enum Class InteractionType
- All Implemented Interfaces:
Serializable,Comparable<InteractionType>,Constable
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 ConstantsEnum ConstantDescriptionAn 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 TypeMethodDescriptionstatic InteractionTypeReturns the enum constant of this class with the specified name.static InteractionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRUE_FALSE
An interaction with two possible responses: true or false. -
FILL_IN
An interaction with a number of possible choices from which the learner can select. -
LONG_FILL_IN
An interaction which requires the learner to supply a response in the form of a long string of characters. -
LIKERT
An interaction which asks the learner to select from a discrete set of choices on a scale. -
MATCHING
An interaction where the learner is asked to match items in one set to items in another set. -
PERFORMANCE
An interaction that requires the learner to perform a task that requires multiple steps. -
SEQUENCING
An interaction where the learner is asked to order items in a set. -
NUMERIC
Any interaction which requires a numeric response from the learner. -
CHOICE
An interaction with a number of possible choices from which the learner can select. -
OTHER
Another type of interaction that does not fit into those defined above.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-