Package org.openhab.core.thing
Class ThingTypeUID
java.lang.Object
org.openhab.core.common.AbstractUID
org.openhab.core.thing.UID
org.openhab.core.thing.ThingTypeUID
ThingTypeUID
represents a unique identifier for thing types.- Author:
- Dennis Nobel - Initial contribution, Jochen Hiller - Bugfix 455434: added default constructor
-
Field Summary
Fields inherited from class org.openhab.core.common.AbstractUID
SEPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected int
Specifies how many segments the UID has to have at least.Methods inherited from class org.openhab.core.thing.UID
equals, getAllSegments, getAsString, getBindingId, hashCode, toString
Methods inherited from class org.openhab.core.common.AbstractUID
getSegment, isValid, validateSegment
-
Constructor Details
-
ThingTypeUID
-
ThingTypeUID
-
-
Method Details
-
getMinimalNumberOfSegments
protected int getMinimalNumberOfSegments()Description copied from class:AbstractUID
Specifies how many segments the UID has to have at least.- Specified by:
getMinimalNumberOfSegments
in classAbstractUID
- Returns:
- the number of segments
-
getId
-