File tree Expand file tree Collapse file tree
bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public class ItemChannelLink extends AbstractLink {
3131 private final @ NonNullByDefault ({}) ChannelUID channelUID ;
3232 private final Configuration configuration ;
3333
34+ // this field tracks whether the item's current tags were applied from the linked channel's default tags
3435 private transient boolean tagsLinked = false ;
3536
3637 /**
@@ -76,12 +77,15 @@ public int hashCode() {
7677 }
7778
7879 /**
79- * Indicates if the linked channel is the actual source of the item 's tags.
80+ * Check if the item's current tags were applied from the linked channel 's default tags
8081 */
8182 public boolean tagsLinked () {
8283 return tagsLinked ;
8384 }
8485
86+ /**
87+ * Set the flag that indicates if the item's current tags were applied from the linked channel's default tags
88+ */
8589 public void setTagsLinked (boolean value ) {
8690 tagsLinked = value ;
8791 }
You can’t perform that action at this time.
0 commit comments