Enum Class AcMeterType

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

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

  • Method Details

    • values

      public static AcMeterType[] 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 AcMeterType 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
    • getParity

      public Parity getParity()
    • getDisplayName

      public String getDisplayName(ResourceBundle resourceBundle)
      Gets the display name of this AcMeterType.
      Parameters:
      resourceBundle - the ResourceBundle to get the name from
      Returns:
      the name to display
    • getDependency

      public final DependencyDeclaration getDependency(String modbusIdExternal)
      Parameters:
      modbusIdExternal - the id of the modbus component
      Returns:
      the created DependencyDeclaration
    • getTranslation

      public 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