Enum Class ModbusControlCsvColumn

java.lang.Object
java.lang.Enum<ModbusControlCsvColumn>
net.solarnetwork.node.control.modbus.ModbusControlCsvColumn
All Implemented Interfaces:
Serializable, Comparable<ModbusControlCsvColumn>, Constable, net.solarnetwork.domain.CodedValue

public enum ModbusControlCsvColumn extends Enum<ModbusControlCsvColumn> implements net.solarnetwork.domain.CodedValue
The defined column order for Modbus Control CSV.
Version:
1.0
Author:
matt
  • Enum Constant Details

  • Field Details

    • DEVICE_WIDE_COLUMNS

      public static final Set<ModbusControlCsvColumn> DEVICE_WIDE_COLUMNS
      The set of columns are specify device-wide settings.
  • Method Details

    • values

      public static ModbusControlCsvColumn[] 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 ModbusControlCsvColumn 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
    • getCode

      public int getCode()
      Specified by:
      getCode in interface net.solarnetwork.domain.CodedValue
    • getName

      public String getName()
      Get a friendly name for the column.
      Returns:
      the name