test_class.declarator: CONF_URI = "conf:uri"
test_class.modifier: private static final
test_class.original_string: private static final String CONF_URI = "conf:uri";
test_class.type: String
test_class.var_name: CONF_URI
test_class.declarator: REPRESENTATION_PROPERTY = "representationProperty"
test_class.modifier: private static final
test_class.original_string: private static final String REPRESENTATION_PROPERTY = "representationProperty";
test_class.type: String
test_class.var_name: REPRESENTATION_PROPERTY
test_class.declarator: DESCRIPTION = "description"
test_class.modifier: private static final
test_class.original_string: private static final String DESCRIPTION = "description";
test_class.type: String
test_class.var_name: DESCRIPTION
test_class.declarator: CATEGORY = "category"
test_class.modifier: private static final
test_class.original_string: private static final String CATEGORY = "category";
test_class.type: String
test_class.var_name: CATEGORY
test_class.declarator: LABEL = "label"
test_class.modifier: private static final
test_class.original_string: private static final String LABEL = "label";
test_class.type: String
test_class.var_name: LABEL
test_class.declarator: THING_TYPE_ID = "thingTypeId"
test_class.modifier: private static final
test_class.original_string: private static final String THING_TYPE_ID = "thingTypeId";
test_class.type: String
test_class.var_name: THING_TYPE_ID
test_class.declarator: BINDING_ID = "bindingId"
test_class.modifier: private static final
test_class.original_string: private static final String BINDING_ID = "bindingId";
test_class.type: String
test_class.var_name: BINDING_ID
test_class.declarator: builder
test_class.modifier: private @NonNullByDefault({})
test_class.original_string: private @NonNullByDefault({}) ThingTypeBuilder builder;
test_class.type: ThingTypeBuilder
test_class.var_name: builder
test_class.file: bundles/org.openhab.core.thing/src/test/java/org/openhab/core/thing/type/ThingTypeBuilderTest.java
test_class.identifier: ThingTypeBuilderTest
test_case.body: @Test
      public void withLabelAndThingTypeIdAndBindingIDShouldCreateThingType() {
          ThingType thingType = builder.build();
  
          assertThat(thingType.getBindingId(), is(BINDING_ID));
          assertThat(thingType.getUID().getBindingId(), is(BINDING_ID));
          assertThat(thingType.getUID().getId(), is(THING_TYPE_ID));
          assertThat(thingType.getLabel(), is(LABEL));
      }
test_case.class_method_signature: ThingTypeBuilderTest.withLabelAndThingTypeIdAndBindingIDShouldCreateThingType()
test_case.full_signature: @Test public void withLabelAndThingTypeIdAndBindingIDShouldCreateThingType()
test_case.identifier: withLabelAndThingTypeIdAndBindingIDShouldCreateThingType
test_case.invocations: build assertThat getBindingId is assertThat getBindingId getUID is assertThat getId getUID is assertThat getLabel is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void withLabelAndThingTypeIdAndBindingIDShouldCreateThingType()
focal_class.declarator: channelGroupDefinitions
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable List<ChannelGroupDefinition> channelGroupDefinitions;
focal_class.type: List<ChannelGroupDefinition>
focal_class.var_name: channelGroupDefinitions
focal_class.declarator: channelDefinitions
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable List<ChannelDefinition> channelDefinitions;
focal_class.type: List<ChannelDefinition>
focal_class.var_name: channelDefinitions
focal_class.declarator: extensibleChannelTypeIds
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable List<String> extensibleChannelTypeIds;
focal_class.type: List<String>
focal_class.var_name: extensibleChannelTypeIds
focal_class.declarator: supportedBridgeTypeUIDs
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable List<String> supportedBridgeTypeUIDs;
focal_class.type: List<String>
focal_class.var_name: supportedBridgeTypeUIDs
focal_class.declarator: properties
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable Map<String, String> properties;
focal_class.type: Map<String, String>
focal_class.var_name: properties
focal_class.declarator: representationProperty
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String representationProperty;
focal_class.type: String
focal_class.var_name: representationProperty
focal_class.declarator: configDescriptionURI
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable URI configDescriptionURI;
focal_class.type: URI
focal_class.var_name: configDescriptionURI
focal_class.declarator: listed
focal_class.modifier: private
focal_class.original_string: private boolean listed;
focal_class.type: boolean
focal_class.var_name: listed
focal_class.declarator: category
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String category;
focal_class.type: String
focal_class.var_name: category
focal_class.declarator: description
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String description;
focal_class.type: String
focal_class.var_name: description
focal_class.declarator: bindingId
focal_class.modifier: private final
focal_class.original_string: private final String bindingId;
focal_class.type: String
focal_class.var_name: bindingId
focal_class.declarator: thingTypeId
focal_class.modifier: private final
focal_class.original_string: private final String thingTypeId;
focal_class.type: String
focal_class.var_name: thingTypeId
focal_class.declarator: label
focal_class.modifier: private
focal_class.original_string: private String label;
focal_class.type: String
focal_class.var_name: label
focal_class.file: bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/type/ThingTypeBuilder.java
focal_class.identifier: ThingTypeBuilder
focal_class.class_method_signature: ThingTypeBuilder.instance(String bindingId, String thingTypeId, String label)
focal_class.full_signature: public static ThingTypeBuilder instance(String bindingId, String thingTypeId, String label)
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: (String bindingId, String thingTypeId, String label)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder instance(String bindingId, String thingTypeId, String label)
focal_class.class_method_signature: ThingTypeBuilder.instance(ThingTypeUID thingTypeUID, String label)
focal_class.full_signature: public static ThingTypeBuilder instance(ThingTypeUID thingTypeUID, String label)
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: (ThingTypeUID thingTypeUID, String label)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder instance(ThingTypeUID thingTypeUID, String label)
focal_class.class_method_signature: ThingTypeBuilder.instance(ThingType thingType)
focal_class.full_signature: public static ThingTypeBuilder instance(ThingType thingType)
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: (ThingType thingType)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder instance(ThingType thingType)
focal_class.class_method_signature: ThingTypeBuilder.ThingTypeBuilder(String bindingId, String thingTypeId, String label)
focal_class.full_signature: private  ThingTypeBuilder(String bindingId, String thingTypeId, String label)
focal_class.identifier: ThingTypeBuilder
focal_class.modifiers: private
focal_class.parameters: (String bindingId, String thingTypeId, String label)
focal_class.signature:  ThingTypeBuilder(String bindingId, String thingTypeId, String label)
focal_class.class_method_signature: ThingTypeBuilder.ThingTypeBuilder(ThingType thingType)
focal_class.full_signature: private  ThingTypeBuilder(ThingType thingType)
focal_class.identifier: ThingTypeBuilder
focal_class.modifiers: private
focal_class.parameters: (ThingType thingType)
focal_class.signature:  ThingTypeBuilder(ThingType thingType)
focal_class.class_method_signature: ThingTypeBuilder.build()
focal_class.full_signature: public ThingType build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ThingType
focal_class.signature: ThingType build()
focal_class.class_method_signature: ThingTypeBuilder.buildBridge()
focal_class.full_signature: public BridgeType buildBridge()
focal_class.identifier: buildBridge
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BridgeType
focal_class.signature: BridgeType buildBridge()
focal_class.class_method_signature: ThingTypeBuilder.withLabel(String label)
focal_class.full_signature: public ThingTypeBuilder withLabel(String label)
focal_class.identifier: withLabel
focal_class.modifiers: public
focal_class.parameters: (String label)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withLabel(String label)
focal_class.class_method_signature: ThingTypeBuilder.withDescription(String description)
focal_class.full_signature: public ThingTypeBuilder withDescription(String description)
focal_class.identifier: withDescription
focal_class.modifiers: public
focal_class.parameters: (String description)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withDescription(String description)
focal_class.class_method_signature: ThingTypeBuilder.withCategory(String category)
focal_class.full_signature: public ThingTypeBuilder withCategory(String category)
focal_class.identifier: withCategory
focal_class.modifiers: public
focal_class.parameters: (String category)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withCategory(String category)
focal_class.class_method_signature: ThingTypeBuilder.isListed(boolean listed)
focal_class.full_signature: public ThingTypeBuilder isListed(boolean listed)
focal_class.identifier: isListed
focal_class.modifiers: public
focal_class.parameters: (boolean listed)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder isListed(boolean listed)
focal_class.class_method_signature: ThingTypeBuilder.withRepresentationProperty(String representationProperty)
focal_class.full_signature: public ThingTypeBuilder withRepresentationProperty(String representationProperty)
focal_class.identifier: withRepresentationProperty
focal_class.modifiers: public
focal_class.parameters: (String representationProperty)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withRepresentationProperty(String representationProperty)
focal_class.class_method_signature: ThingTypeBuilder.withChannelDefinitions(List<ChannelDefinition> channelDefinitions)
focal_class.full_signature: public ThingTypeBuilder withChannelDefinitions(List<ChannelDefinition> channelDefinitions)
focal_class.identifier: withChannelDefinitions
focal_class.modifiers: public
focal_class.parameters: (List<ChannelDefinition> channelDefinitions)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withChannelDefinitions(List<ChannelDefinition> channelDefinitions)
focal_class.class_method_signature: ThingTypeBuilder.withChannelGroupDefinitions(List<ChannelGroupDefinition> channelGroupDefinitions)
focal_class.full_signature: public ThingTypeBuilder withChannelGroupDefinitions(List<ChannelGroupDefinition> channelGroupDefinitions)
focal_class.identifier: withChannelGroupDefinitions
focal_class.modifiers: public
focal_class.parameters: (List<ChannelGroupDefinition> channelGroupDefinitions)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withChannelGroupDefinitions(List<ChannelGroupDefinition> channelGroupDefinitions)
focal_class.class_method_signature: ThingTypeBuilder.withProperties(Map<String, String> properties)
focal_class.full_signature: public ThingTypeBuilder withProperties(Map<String, String> properties)
focal_class.identifier: withProperties
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> properties)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withProperties(Map<String, String> properties)
focal_class.class_method_signature: ThingTypeBuilder.withConfigDescriptionURI(URI configDescriptionURI)
focal_class.full_signature: public ThingTypeBuilder withConfigDescriptionURI(URI configDescriptionURI)
focal_class.identifier: withConfigDescriptionURI
focal_class.modifiers: public
focal_class.parameters: (URI configDescriptionURI)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withConfigDescriptionURI(URI configDescriptionURI)
focal_class.class_method_signature: ThingTypeBuilder.withExtensibleChannelTypeIds(List<String> extensibleChannelTypeIds)
focal_class.full_signature: public ThingTypeBuilder withExtensibleChannelTypeIds(List<String> extensibleChannelTypeIds)
focal_class.identifier: withExtensibleChannelTypeIds
focal_class.modifiers: public
focal_class.parameters: (List<String> extensibleChannelTypeIds)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withExtensibleChannelTypeIds(List<String> extensibleChannelTypeIds)
focal_class.class_method_signature: ThingTypeBuilder.withSupportedBridgeTypeUIDs(List<String> supportedBridgeTypeUIDs)
focal_class.full_signature: public ThingTypeBuilder withSupportedBridgeTypeUIDs(List<String> supportedBridgeTypeUIDs)
focal_class.identifier: withSupportedBridgeTypeUIDs
focal_class.modifiers: public
focal_class.parameters: (List<String> supportedBridgeTypeUIDs)
focal_class.return: ThingTypeBuilder
focal_class.signature: ThingTypeBuilder withSupportedBridgeTypeUIDs(List<String> supportedBridgeTypeUIDs)
focal_method.body: public ThingType build() {
          if (bindingId == null || bindingId.isBlank()) {
              throw new IllegalArgumentException("The bindingId must neither be null nor empty.");
          }
          if (thingTypeId == null || thingTypeId.isBlank()) {
              throw new IllegalArgumentException("The thingTypeId must neither be null nor empty.");
          }
          if (label == null || label.isBlank()) {
              throw new IllegalArgumentException("The label must neither be null nor empty.");
          }
  
          return new ThingType(new ThingTypeUID(bindingId, thingTypeId), supportedBridgeTypeUIDs, label, description,
                  category, listed, representationProperty, channelDefinitions, channelGroupDefinitions, properties,
                  configDescriptionURI, extensibleChannelTypeIds);
      }
focal_method.class_method_signature: ThingTypeBuilder.build()
focal_method.full_signature: public ThingType build()
focal_method.identifier: build
focal_method.invocations: isBlank isBlank isBlank
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: ThingType
focal_method.signature: ThingType build()