Enum Lwt

java.lang.Object
java.lang.Enum<Lwt>
org.correomqtt.business.model.Lwt
All Implemented Interfaces:
Serializable, Comparable<Lwt>, GenericCellModel

public enum Lwt
extends Enum<Lwt>
implements GenericCellModel
  • Enum Constant Details

    • OFF

      public static final Lwt OFF
    • ON

      public static final Lwt ON
  • Method Details

    • values

      public static Lwt[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Lwt valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getLwt

      public String getLwt()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Lwt>
    • fromJsonValue

      public static Lwt fromJsonValue​(String value)
    • toJsonValue

      public String toJsonValue()
    • getLabelTranslationKey

      public String getLabelTranslationKey()
      Specified by:
      getLabelTranslationKey in interface GenericCellModel