Class: OpenHAB::Core::Things::ChannelGroupTypeUID

Inherits:
UID show all
Defined in:
lib/openhab/core/things/channel_group_type_uid.rb

Overview

ChannelGroupTypeUID represents a unique identifier for a ChannelGroupType.

Instance Attribute Summary collapse

Attributes inherited from UID

#binding_id

Method Summary

Methods inherited from AbstractUID

#==, #inspect, #to_str

Instance Attribute Details

#categoryString? (readonly)

Returns:

  • (String, nil)


24
25
26
27
28
29
30
31
32
33
34
# File 'lib/openhab/core/things/channel_group_type_uid.rb', line 24

class ChannelGroupTypeUID < UID
  extend Forwardable

  delegate %i[category channel_definitions] => :channel_group_type

  # @!attribute [r] channel_group_type
  # @return [ChannelGroupType]
  def channel_group_type
    ChannelGroupType.registry.get_channel_group_type(self)
  end
end

#channel_definitionsArray<ChannelDefinition> (readonly)

Returns:



24
25
26
27
28
29
30
31
32
33
34
# File 'lib/openhab/core/things/channel_group_type_uid.rb', line 24

class ChannelGroupTypeUID < UID
  extend Forwardable

  delegate %i[category channel_definitions] => :channel_group_type

  # @!attribute [r] channel_group_type
  # @return [ChannelGroupType]
  def channel_group_type
    ChannelGroupType.registry.get_channel_group_type(self)
  end
end

#channel_group_typeChannelGroupType (readonly)

Returns:



31
32
33
# File 'lib/openhab/core/things/channel_group_type_uid.rb', line 31

def channel_group_type
  ChannelGroupType.registry.get_channel_group_type(self)
end

#idString (readonly)

Returns:

  • (String)


24
25
26
27
28
29
30
31
32
33
34
# File 'lib/openhab/core/things/channel_group_type_uid.rb', line 24

class ChannelGroupTypeUID < UID
  extend Forwardable

  delegate %i[category channel_definitions] => :channel_group_type

  # @!attribute [r] channel_group_type
  # @return [ChannelGroupType]
  def channel_group_type
    ChannelGroupType.registry.get_channel_group_type(self)
  end
end