Package iofXml.v3
Enum Class ResultStatus
- All Implemented Interfaces:
Serializable,Comparable<ResultStatus>,Constable
The result status of the person or team at the time of the result generation.
Java class for ResultStatus
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="ResultStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="OK"/>
<enumeration value="Finished"/>
<enumeration value="MissingPunch"/>
<enumeration value="Disqualified"/>
<enumeration value="DidNotFinish"/>
<enumeration value="Active"/>
<enumeration value="Inactive"/>
<enumeration value="OverTime"/>
<enumeration value="SportingWithdrawal"/>
<enumeration value="NotCompeting"/>
<enumeration value="Moved"/>
<enumeration value="MovedUp"/>
<enumeration value="DidNotStart"/>
<enumeration value="DidNotEnter"/>
<enumeration value="Cancelled"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCurrently on course.The competitor has cancelled his/hers entry.Did not enter (in this race).Did not finish (i.e.Did not start (in this race).Disqualified (for some other reason than a missing punch).Finished but not yet validated.Has not yet started.Missing punch.Moved to another class.Moved to a "better" class, in case of entry restrictions.Not competing (i.e.Finished and validated.Overtime, i.e.Sporting withdrawal (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultStatusGets the enum associated to the value passed as parameter.value()Gets the value associated to the enum constant.static ResultStatusReturns the enum constant of this class with the specified name.static ResultStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Finished and validated. -
FINISHED
Finished but not yet validated. -
MISSING_PUNCH
Missing punch. -
DISQUALIFIED
Disqualified (for some other reason than a missing punch). -
DID_NOT_FINISH
Did not finish (i.e. conciously cancelling the race after having started, in contrast to MissingPunch). -
ACTIVE
Currently on course. -
INACTIVE
Has not yet started. -
OVER_TIME
Overtime, i.e. did not finish within the maximum time set by the organiser. -
SPORTING_WITHDRAWAL
Sporting withdrawal (e.g. helping an injured competitor). -
NOT_COMPETING
Not competing (i.e. running outside the competition). -
MOVED
Moved to another class. -
MOVED_UP
Moved to a "better" class, in case of entry restrictions. -
DID_NOT_START
Did not start (in this race). -
DID_NOT_ENTER
Did not enter (in this race). -
CANCELLED
The competitor has cancelled his/hers entry.
-
-
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
-
value
Gets the value associated to the enum constant.- Returns:
- The value linked to the enum.
-
fromValue
Gets the enum associated to the value passed as parameter.- Parameters:
v- The value to get the enum from.- Returns:
- The enum which corresponds to the value, if it exists.
- Throws:
IllegalArgumentException- If no value matches in the enum declaration.
-