Package org.openhab.core.thing.link
Class ItemChannelLink
java.lang.Object
org.openhab.core.thing.link.AbstractLink
org.openhab.core.thing.link.ItemChannelLink
- All Implemented Interfaces:
Identifiable<String>
- Author:
- Dennis Nobel - Initial contribution, Added getIDFor method, Jochen Hiller - Bugfix 455434: added default constructor, object is now mutable, Simon Kaufmann - added configuration
-
Constructor Summary
ConstructorDescriptionItemChannelLink
(String itemName, ChannelUID channelUID) ItemChannelLink
(String itemName, ChannelUID channelUID, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the UID of the object, which is linked to the item.int
hashCode()
Methods inherited from class org.openhab.core.thing.link.AbstractLink
getIDFor, getItemName, getUID, toString
-
Constructor Details
-
ItemChannelLink
-
ItemChannelLink
-
-
Method Details
-
getLinkedUID
Description copied from class:AbstractLink
Returns the UID of the object, which is linked to the item.- Specified by:
getLinkedUID
in classAbstractLink
- Returns:
- UID (can not be null)
-
getConfiguration
-
equals
- Overrides:
equals
in classAbstractLink
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractLink
-