Enum Class ScoreRollupType
- All Implemented Interfaces:
Serializable,Comparable<ScoreRollupType>,Constable
Enum representing the scoreRollupType simple type.
The following schema snippet defines the possible values:
<xs:simpleType name="scoreRollupType">
<xs:restriction base="xs:string">
<xs:enumeration value="score provided by course" />
<xs:enumeration value="average score of all units" />
<xs:enumeration value="average score of all units with scores" />
<xs:enumeration value="fixed average" />
</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 score rollup type is the average score of all units.The score rollup type is the average score of all units with scores.The score rollup type is a fixed average.The course provides the score rollup type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreRollupTypeReturns the enum constant of this class with the specified name.static ScoreRollupType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCORE_PROVIDED_BY_COURSE
The course provides the score rollup type. -
AVERAGE_SCORE_OF_ALL_UNITS
The score rollup type is the average score of all units. -
AVERAGE_SCORE_OF_ALL_UNITS_WITH_SCORES
The score rollup type is the average score of all units with scores. -
FIXED_AVERAGE
The score rollup type is a fixed average.
-
-
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
-