Module jonix.common

Enum Class VelocityMetrics

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

public enum VelocityMetrics extends Enum<VelocityMetrics> implements OnixCodelist
Enum that corresponds to ONIX Codelist 216

Description: Velocity metric

See Also:
  • Enum Constant Details

    • Mean_daily_sale

      public static final VelocityMetrics Mean_daily_sale
      Typically measured over most recent 1 month period
    • Maximum_daily_sale

      public static final VelocityMetrics Maximum_daily_sale
      Typically measured over most recent 1 month period
    • Minimum_daily_sale

      public static final VelocityMetrics Minimum_daily_sale
      Typically measured over most recent 1 month period
    • Mean_weekly_sale

      public static final VelocityMetrics Mean_weekly_sale
      Typically measured over most recent rolling 12 week period
    • Maximum_weekly_sale

      public static final VelocityMetrics Maximum_weekly_sale
      Typically measured over most recent rolling 12 week period
    • Minimum_weekly_sale

      public static final VelocityMetrics Minimum_weekly_sale
      Typically measured over most recent rolling 12 week period
    • Mean_monthly_sale

      public static final VelocityMetrics Mean_monthly_sale
      Typically measured over most recent rolling 6 month period
    • Maximum_monthly_sale

      public static final VelocityMetrics Maximum_monthly_sale
      Typically measured over the most recent rolling 6 month period
    • Minimum_monthly_sale

      public static final VelocityMetrics Minimum_monthly_sale
      Typically measured over the most recent rolling 6 month period
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static VelocityMetrics[] 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 VelocityMetrics 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 VelocityMetrics byCode(String code)
    • byCodeOptional

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

      public static String codeToDesciption(String code)