Enum Class SafetyCountry

java.lang.Object
java.lang.Enum<SafetyCountry>
io.openems.edge.app.enums.SafetyCountry
All Implemented Interfaces:
TranslatableEnum, Nameable, Serializable, Comparable<SafetyCountry>, Constable

public enum SafetyCountry extends Enum<SafetyCountry> implements TranslatableEnum
  • Enum Constant Details

  • Method Details

    • values

      public static SafetyCountry[] 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 SafetyCountry 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
    • getTranslation

      public final String getTranslation(Language l)
      Description copied from interface: TranslatableEnum
      Gets the translation of the current value.
      Specified by:
      getTranslation in interface TranslatableEnum
      Parameters:
      l - the language of the value
      Returns:
      the translated value
    • optionsFactory

      public static final OptionsFactory optionsFactory()
      Creates a OptionsFactory of this enum.
      Returns:
      the OptionsFactory