Enum Class RaceType
- All Implemented Interfaces:
Serializable,Comparable<RaceType>,Constable
The
RaceType enum represents the type of a Race
It includes the following constants:
-
INDIVIDUAL_PARENT: used for the individualracesthat have no parentRace, that are not derived from any otherRace. -
INDIVIDUAL_DERIVED: used for the individualracesthat are derived (or a subset) of anotherrace(s). -
TEAM_BY_RANK: used for the collectiveraceswhose results are based on the rank of the team members on an individualRace. -
TEAM_BY_TIME: used for the collectiveraceswhose results are based on the time of the team members on an individualRace. -
TEAM_BY_POINTS: used for the collectiveraceswhose results are based on the points of the team members on an individualRace. -
TEAM_RELAY_PARENT: used for the team relayracesthat have no parentRace, that are not derived from any other team relayRace. -
TEAM_RELAY_DERIVED: used for the team relayracesthat are derived from another team relayRace. -
MIXED_RELAY_PARENT: used for the mixed relayracesthat have no parentRace, that are not derived from any other mixed relayRace. -
MIXED_RELAY_DERIVED: used for the mixed relayracesthat are derived from another mixed relayRace
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
INDIVIDUAL_PARENT
-
INDIVIDUAL_DERIVED
-
TEAM_BY_RANK
-
TEAM_BY_TIME
-
TEAM_BY_POINTS
-
TEAM_RELAY_PARENT
-
TEAM_RELAY_DERIVED
-
MIXED_RELAY_PARENT
-
MIXED_RELAY_DERIVED
-
-
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
-
getCode
-
toString
-