Enum Class BudgetYear

java.lang.Object
java.lang.Enum<BudgetYear>
hu.rts.mike.example.dev.crm.entity.BudgetYear
All Implemented Interfaces:
HasTranslationName, Serializable, Comparable<BudgetYear>, Constable

public enum BudgetYear extends Enum<BudgetYear> implements HasTranslationName
  • Enum Constant Details

    • YEAR_2023

      public static final BudgetYear YEAR_2023
    • YEAR_2024

      public static final BudgetYear YEAR_2024
  • Field Details

    • value

      private final String value
  • Constructor Details

    • BudgetYear

      private BudgetYear(String value)
  • Method Details

    • values

      public static BudgetYear[] 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 BudgetYear 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
    • getValue

      public String getValue()
    • findByValue

      public static BudgetYear findByValue(String value)
    • getTranslationName

      public String getTranslationName()
      Specified by:
      getTranslationName in interface HasTranslationName