Enum Class AccomplishUnit

java.lang.Object
java.lang.Enum<AccomplishUnit>
org.deltava.beans.stats.AccomplishUnit
All Implemented Interfaces:
Serializable, Comparable<AccomplishUnit>, Constable, ComboAlias, EnumDescription

public enum AccomplishUnit extends Enum<AccomplishUnit> implements EnumDescription
An enumeration to track Accomplishment units of measurement.
Since:
6.3
Version:
11.1
Author:
Luke
  • Enum Constant Details

  • Method Details

    • values

      public static AccomplishUnit[] 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 AccomplishUnit 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
    • getDescription

      public String getDescription()
      Description copied from interface: EnumDescription
      The propercased description.
      Specified by:
      getDescription in interface EnumDescription
      Returns:
      the description
    • getDataRequired

      public AccomplishUnit.Data getDataRequired()
      Returns the type of data required to calculate eligibility.
      Returns:
      a Data enumeration
    • isGeo

      public boolean isGeo()
      Returns whether this Unit tracks geographic locations.
      Returns:
      TRUE if a geolocation is utilized, otherwise FALSE