Enum Who

  • All Implemented Interfaces:
    Serializable, Comparable<Who>

    public enum Who
    extends Enum<Who>
    OpenWebNet WHO types.
    Author:
    M. Valla - Initial contribution for openwebnet4j
    • Enum Constant Detail

      • SCENARIO

        public static final Who SCENARIO
      • LIGHTING

        public static final Who LIGHTING
      • AUTOMATION

        public static final Who AUTOMATION
      • LOAD_CONTROL

        @Deprecated
        public static final Who LOAD_CONTROL
        Deprecated.
      • THERMOREGULATION

        public static final Who THERMOREGULATION
      • THERMOREGULATION_DIAGNOSTIC

        public static final Who THERMOREGULATION_DIAGNOSTIC
      • BURGLAR_ALARM

        public static final Who BURGLAR_ALARM
      • DOOR_ENTRY_SYSTEM

        public static final Who DOOR_ENTRY_SYSTEM
      • VIDEO_DOOR_ENTRY_SYSTEM

        public static final Who VIDEO_DOOR_ENTRY_SYSTEM
      • AUX

        public static final Who AUX
      • GATEWAY_MANAGEMENT

        public static final Who GATEWAY_MANAGEMENT
      • LIGHT_SHUTTER_ACTUATORS_LOCK

        public static final Who LIGHT_SHUTTER_ACTUATORS_LOCK
      • CEN_SCENARIO_SCHEDULER

        public static final Who CEN_SCENARIO_SCHEDULER
      • CEN_PLUS_SCENARIO_SCHEDULER

        public static final Who CEN_PLUS_SCENARIO_SCHEDULER
      • SOUND_SYSTEM_1

        @Deprecated
        public static final Who SOUND_SYSTEM_1
        Deprecated.
      • SOUND_SYSTEM_2

        public static final Who SOUND_SYSTEM_2
      • SCENARIO_PROGRAMMING

        public static final Who SCENARIO_PROGRAMMING
      • ENERGY_MANAGEMENT

        public static final Who ENERGY_MANAGEMENT
      • ENERGY_MANAGEMENT_DIAGNOSTIC

        public static final Who ENERGY_MANAGEMENT_DIAGNOSTIC
      • LIGHTING_MANAGEMENT

        public static final Who LIGHTING_MANAGEMENT
      • DIAGNOSTIC

        public static final Who DIAGNOSTIC
      • AUTOMATION_DIAGNOSTIC

        public static final Who AUTOMATION_DIAGNOSTIC
      • DEVICE_DIAGNOSTIC

        public static final Who DEVICE_DIAGNOSTIC
      • UNKNOWN

        public static final Who UNKNOWN
    • Method Detail

      • values

        public static Who[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Who c : Who.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Who 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
      • isValidName

        public static boolean isValidName​(String name)
      • isValidValue

        public static boolean isValidValue​(Integer value)
      • fromName

        public static Who fromName​(String name)
      • fromValue

        public static Who fromValue​(Integer value)