Package iofXml.v3

Enum ResultStatus

  • All Implemented Interfaces:

    
    public 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>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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 Summary

      Modifier and Type Method Description
      String value() Gets the value associated to the enum constant.
      static ResultStatus fromValue(String v) Gets the enum associated to the value passed as parameter.
      static Array<ResultStatus> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static ResultStatus valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • value

         String value()

        Gets the value associated to the enum constant.

        Returns:

        Thevalue linked to the enum.

      • fromValue

         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:

        Theenum which corresponds to the value, if it exists.

      • values

         static Array<ResultStatus> 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 ResultStatus 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