ThingTypeBuilder getBuilder() { return ThingTypeBuilder.instance(thingTypeUID, label) // .withSupportedBridgeTypeUIDs(supportedBridgeTypeUIDs) // .withDescription(description) // .withCategory(category) // .isListed(listed) // .withRepresentationProperty(representationProperty) // .withChannelDefinitions(toChannelDefinitions(channelTypeReferences)) // .withChannelGroupDefinitions(toChannelGroupDefinitions(channelGroupTypeReferences)) // .withProperties(toPropertiesMap()) // .withConfigDescriptionURI(configDescriptionURI) // .withExtensibleChannelTypeIds(extensibleChannelTypeIds); // }
locale); ThingTypeBuilder builder = ThingTypeBuilder.instance(thingType); if (label != null) { builder.withLabel(label);