Class: OpenHAB::Core::Things::ThingTypeUID
- Inherits:
-
UID
- Object
- AbstractUID
- UID
- OpenHAB::Core::Things::ThingTypeUID
- Defined in:
- lib/openhab/core/things/thing_type_uid.rb
Overview
ThingTypeUID represents a unique identifier for a ThingType.
Instance Attribute Summary collapse
- #category ⇒ String? readonly
- #channel_definitions ⇒ Array<ChannelDefinition> readonly
- #channel_group_definitions ⇒ Array<ChannelGroupDefinition> readonly
- #id ⇒ String readonly
- #properties ⇒ Hash<String, String> readonly
- #supported_bridge_type_uids ⇒ Array<String> readonly
- #thing_type ⇒ ThingType readonly
Attributes inherited from UID
Instance Method Summary collapse
Methods inherited from AbstractUID
Instance Attribute Details
#category ⇒ String? (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#channel_definitions ⇒ Array<ChannelDefinition> (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#channel_group_definitions ⇒ Array<ChannelGroupDefinition> (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#id ⇒ String (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#properties ⇒ Hash<String, String> (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#supported_bridge_type_uids ⇒ Array<String> (readonly)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 33 class ThingTypeUID < UID extend Forwardable # @!method listed? # @return [true, false] delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type # @!attribute [r] thing_type # @return [ThingType] def thing_type ThingType.registry.get_thing_type(self) end end |
#thing_type ⇒ ThingType (readonly)
48 49 50 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 48 def thing_type ThingType.registry.get_thing_type(self) end |
Instance Method Details
#listed? ⇒ true, false
39 40 41 42 43 44 |
# File 'lib/openhab/core/things/thing_type_uid.rb', line 39 delegate %i[channel_group_definitions channel_definitions supported_bridge_type_uids category properties listed?] => :thing_type |