Enum Class GoodWeGridMeterCategory

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

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

  • Method Details

    • values

      public static GoodWeGridMeterCategory[] 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 GoodWeGridMeterCategory 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 String getTranslation(Language language)
      Description copied from interface: TranslatableEnum
      Gets the translation of the current value.
      Specified by:
      getTranslation in interface TranslatableEnum
      Parameters:
      language - the language of the value
      Returns:
      the translated value