Package org.openhab.core.common.registry
Interface Identifiable<T>
- All Known Subinterfaces:
ActiveItem
,Bridge
,Item
,ProfileType
,Rule
,SemanticTag
,StateProfileType
,Template
,Thing
,TriggerProfileType
,User
- All Known Implementing Classes:
AbstractDescriptionType
,AbstractLink
,ActionType
,AddonInfo
,BridgeType
,CallItem
,ChannelGroupType
,ChannelType
,ColorItem
,CompositeActionType
,CompositeConditionType
,CompositeTriggerType
,ConditionType
,ConfigDescription
,ContactItem
,DateTimeItem
,DimmerItem
,GenericItem
,GenericUser
,GroupItem
,ImageItem
,ItemChannelLink
,LocationItem
,ManagedUser
,Metadata
,ModuleType
,NumberItem
,PersistenceServiceConfiguration
,PlayerItem
,RollershutterItem
,RootUIComponent
,RuleTemplate
,SemanticTagImpl
,SimpleRule
,StringItem
,SwitchItem
,ThingType
,Transformation
,TriggerType
@NonNullByDefault
public interface Identifiable<@NonNull T>
Interface for classes that instances provide an identifier.
- Author:
- Markus Rathgeb - Initial contribution
-
Method Summary
-
Method Details
-
getUID
T getUID()Get the unique identifier.- Returns:
- the unique identifier
-