Package iofXml.v3

Enum Class ResultStatus

All Implemented Interfaces:
Serializable, Comparable<ResultStatus>, Constable

public enum ResultStatus extends Enum<ResultStatus>
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>
 
  • Enum Constant Details

    • OK

      public static final ResultStatus OK
      Finished and validated.
    • FINISHED

      public static final ResultStatus FINISHED
      Finished but not yet validated.
    • MISSING_PUNCH

      public static final ResultStatus MISSING_PUNCH
      Missing punch.
    • DISQUALIFIED

      public static final ResultStatus DISQUALIFIED
      Disqualified (for some other reason than a missing punch).
    • DID_NOT_FINISH

      public static final ResultStatus DID_NOT_FINISH
      Did not finish (i.e. conciously cancelling the race after having started, in contrast to MissingPunch).
    • ACTIVE

      public static final ResultStatus ACTIVE
      Currently on course.
    • INACTIVE

      public static final ResultStatus INACTIVE
      Has not yet started.
    • OVER_TIME

      public static final ResultStatus OVER_TIME
      Overtime, i.e. did not finish within the maximum time set by the organiser.
    • SPORTING_WITHDRAWAL

      public static final ResultStatus SPORTING_WITHDRAWAL
      Sporting withdrawal (e.g. helping an injured competitor).
    • NOT_COMPETING

      public static final ResultStatus NOT_COMPETING
      Not competing (i.e. running outside the competition).
    • MOVED

      public static final ResultStatus MOVED
      Moved to another class.
    • MOVED_UP

      public static final ResultStatus MOVED_UP
      Moved to a "better" class, in case of entry restrictions.
    • DID_NOT_START

      public static final ResultStatus DID_NOT_START
      Did not start (in this race).
    • DID_NOT_ENTER

      public static final ResultStatus DID_NOT_ENTER
      Did not enter (in this race).
    • CANCELLED

      public static final ResultStatus CANCELLED
      The competitor has cancelled his/hers entry.
  • Method Details

    • values

      public static ResultStatus[] 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

      public static ResultStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Gets the value associated to the enum constant.
      Returns:
      The value linked to the enum.
    • fromValue

      public static ResultStatus fromValue(String v)
      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.