Enum Class Difficulty
- All Implemented Interfaces:
Serializable,Comparable<Difficulty>,Constable
The difficulty of the learning object. The following schema snippet shows the difficulty
element:
<xs:simpleType name="difficultyValues">
<xs:restriction base="xs:token">
<xs:enumeration value="very easy"/>
<xs:enumeration value="easy"/>
<xs:enumeration value="medium"/>
<xs:enumeration value="difficult"/>
<xs:enumeration value="very difficult"/>
</xs:restriction>
</xs:simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe learning object is "difficult".The learning object is "easy".The learning object is of medium difficulty.The difficulty of the learning object is unknown.The learning object is very difficult.The learning object is very easy. -
Method Summary
Modifier and TypeMethodDescriptionstatic DifficultyReturns the enum constant of this class with the specified name.static Difficulty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERY_EASY
The learning object is very easy. -
EASY
The learning object is "easy". -
MEDIUM
The learning object is of medium difficulty. -
DIFFICULT
The learning object is "difficult". -
VERY_DIFFICULT
The learning object is very difficult. -
UNKNOWN
The difficulty of the learning object is unknown.
-
-
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
-