Class: OpenHAB::Core::Things::ChannelTypeUID
- Inherits:
-
UID
- Object
- AbstractUID
- UID
- OpenHAB::Core::Things::ChannelTypeUID
- Defined in:
- lib/openhab/core/things/channel_type_uid.rb
Overview
ChannelTypeUID represents a unique identifier for a ChannelType.
Instance Attribute Summary collapse
- #auto_update_policy ⇒ :veto, ... readonly
- #category ⇒ String? readonly
- #channel_type ⇒ ChannelType readonly
- #id ⇒ String readonly
- #item_type ⇒ String readonly
- #tags ⇒ Set<String> readonly
Attributes inherited from UID
Instance Method Summary collapse
Methods inherited from AbstractUID
Instance Attribute Details
#auto_update_policy ⇒ :veto, ... (readonly)
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 30 class ChannelTypeUID < UID extend Forwardable # @!method advanced? # @return [true, false] delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type # @!attribute [r] channel_type # @return [ChannelType] def channel_type ChannelType.registry.get_channel_type(self) end end |
#category ⇒ String? (readonly)
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 30 class ChannelTypeUID < UID extend Forwardable # @!method advanced? # @return [true, false] delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type # @!attribute [r] channel_type # @return [ChannelType] def channel_type ChannelType.registry.get_channel_type(self) end end |
#channel_type ⇒ ChannelType (readonly)
47 48 49 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 47 def channel_type ChannelType.registry.get_channel_type(self) end |
#id ⇒ String (readonly)
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 30 class ChannelTypeUID < UID extend Forwardable # @!method advanced? # @return [true, false] delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type # @!attribute [r] channel_type # @return [ChannelType] def channel_type ChannelType.registry.get_channel_type(self) end end |
#item_type ⇒ String (readonly)
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 30 class ChannelTypeUID < UID extend Forwardable # @!method advanced? # @return [true, false] delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type # @!attribute [r] channel_type # @return [ChannelType] def channel_type ChannelType.registry.get_channel_type(self) end end |
#tags ⇒ Set<String> (readonly)
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 30 class ChannelTypeUID < UID extend Forwardable # @!method advanced? # @return [true, false] delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type # @!attribute [r] channel_type # @return [ChannelType] def channel_type ChannelType.registry.get_channel_type(self) end end |
Instance Method Details
#advanced? ⇒ true, false
36 37 38 39 40 41 42 43 |
# File 'lib/openhab/core/things/channel_type_uid.rb', line 36 delegate %i[item_type tags category auto_update_policy command_description event_description state_description advanced?] => :channel_type |