Module jonix.common

Enum Class PrizeOrAwardAchievements

java.lang.Object
java.lang.Enum<PrizeOrAwardAchievements>
com.tectonica.jonix.common.codelist.PrizeOrAwardAchievements
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<PrizeOrAwardAchievements>, Constable

public enum PrizeOrAwardAchievements extends Enum<PrizeOrAwardAchievements> implements OnixCodelist
Enum that corresponds to ONIX Codelist 41

Description: Prize or award achievement

See Also:
  • Enum Constant Details

    • Winner

      public static final PrizeOrAwardAchievements Winner
    • Runner_up

      public static final PrizeOrAwardAchievements Runner_up
      Named as being in second place
    • Commended

      public static final PrizeOrAwardAchievements Commended
      Cited as being worthy of special attention at the final stage of the judging process, but not named specifically as winner or runner-up. Possible terminology used by a particular prize includes 'specially commended' or 'honored'
    • Short_listed

      public static final PrizeOrAwardAchievements Short_listed
      Title named by the judging process to be one of the final list of candidates, such as a 'short-list' from which the winner is selected, or a title named as 'finalist'
    • Long_listed

      public static final PrizeOrAwardAchievements Long_listed
      Title named by the judging process to be one of the preliminary list of candidates, such as a 'long-list' from which first a shorter list or set of finalists is selected, and then the winner is announced
    • Joint_winner

      public static final PrizeOrAwardAchievements Joint_winner
      Or co-winner
    • Nominated

      public static final PrizeOrAwardAchievements Nominated
      Selected by judging panel or an official nominating process for final consideration for a prize, award or honour for which no 'short-list' or 'long list' exists
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static PrizeOrAwardAchievements[] 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 PrizeOrAwardAchievements 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
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static PrizeOrAwardAchievements byCode(String code)
    • byCodeOptional

      public static Optional<PrizeOrAwardAchievements> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)