Enum RaceClassStatus
-
- All Implemented Interfaces:
public enum RaceClassStatusThe status of a certain race in the class.
Java class for RaceClassStatus
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="RaceClassStatus"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="StartTimesNotAllocated"/> <enumeration value="StartTimesAllocated"/> <enumeration value="NotUsed"/> <enumeration value="Completed"/> <enumeration value="Invalidated"/> <enumeration value="InvalidatedNoFee"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description START_TIMES_NOT_ALLOCATEDThe start list draw has not been made for this class in this race.
START_TIMES_ALLOCATEDThe start list draw has been made for this class in this race.
NOT_USEDThe class is not organised in this race, e.g. for classes that are organised in only some of the races in a multi-race event.
COMPLETEDThe result list is complete for this class in this race.
INVALIDATEDThe results are considered invalid due to technical issues such as misplaced controls. Entry fees are not refunded.
INVALIDATED_NO_FEEThe results are considered invalid due to technical issues such as misplaced controls. Entry fees are refunded.
-
Method Summary
Modifier and Type Method Description Stringvalue()Gets the value associated to the enum constant. static RaceClassStatusfromValue(String v)Gets the enum associated to the value passed as parameter. static Array<RaceClassStatus>values()Returns an array containing the constants of this enum type, in the order they're declared. static RaceClassStatusvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
value
String value()
Gets the value associated to the enum constant.
- Returns:
Thevalue linked to the enum.
-
fromValue
static RaceClassStatus fromValue(String v)
Gets the enum associated to the value passed as parameter.
- Parameters:
v- The value to get the enum from.- Returns:
Theenum which corresponds to the value, if it exists.
-
values
static Array<RaceClassStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RaceClassStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-