test_class.declarator: NAMESPACE = "namespace"
test_class.modifier: private static final
test_class.original_string: private static final String NAMESPACE = "namespace";
test_class.type: String
test_class.var_name: NAMESPACE
test_class.declarator: ID = "id"
test_class.modifier: private static final
test_class.original_string: private static final String ID = "id";
test_class.type: String
test_class.var_name: ID
test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/ProtocolFactoryTest.java
test_class.identifier: ProtocolFactoryTest
test_case.body: @Test
      public void testNewTopicPathBuilderFromNamespace() {
          final TopicPathBuilder topicPathBuilder = ProtocolFactory.newTopicPathBuilderFromNamespace(NAMESPACE);
          final TopicPath topicPath = topicPathBuilder.twin().commands().modify().build();
          assertThat(topicPath.getNamespace()).isEqualTo(NAMESPACE);
          assertThat(topicPath.getId()).isEqualTo(TopicPath.ID_PLACEHOLDER);
          assertThat(topicPath.getChannel()).isEqualTo(TopicPath.Channel.TWIN);
          assertThat(topicPath.getGroup()).isEqualTo(TopicPath.Group.THINGS);
          assertThat(topicPath.getCriterion()).isEqualTo(TopicPath.Criterion.COMMANDS);
          assertThat(topicPath.getAction()).contains(TopicPath.Action.MODIFY);
      }
test_case.class_method_signature: ProtocolFactoryTest.testNewTopicPathBuilderFromNamespace()
test_case.full_signature: @Test public void testNewTopicPathBuilderFromNamespace()
test_case.identifier: testNewTopicPathBuilderFromNamespace
test_case.invocations: newTopicPathBuilderFromNamespace build modify commands twin isEqualTo assertThat getNamespace isEqualTo assertThat getId isEqualTo assertThat getChannel isEqualTo assertThat getGroup isEqualTo assertThat getCriterion contains assertThat getAction
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNewTopicPathBuilderFromNamespace()
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/ProtocolFactory.java
focal_class.identifier: ProtocolFactory
focal_class.class_method_signature: ProtocolFactory.ProtocolFactory()
focal_class.full_signature: private  ProtocolFactory()
focal_class.identifier: ProtocolFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ProtocolFactory()
focal_class.class_method_signature: ProtocolFactory.newAdaptableBuilder(final TopicPath topicPath)
focal_class.full_signature: public static AdaptableBuilder newAdaptableBuilder(final TopicPath topicPath)
focal_class.identifier: newAdaptableBuilder
focal_class.modifiers: public static
focal_class.parameters: (final TopicPath topicPath)
focal_class.return: AdaptableBuilder
focal_class.signature: AdaptableBuilder newAdaptableBuilder(final TopicPath topicPath)
focal_class.class_method_signature: ProtocolFactory.newAdaptableBuilder(final Adaptable existingAdaptable)
focal_class.full_signature: public static AdaptableBuilder newAdaptableBuilder(final Adaptable existingAdaptable)
focal_class.identifier: newAdaptableBuilder
focal_class.modifiers: public static
focal_class.parameters: (final Adaptable existingAdaptable)
focal_class.return: AdaptableBuilder
focal_class.signature: AdaptableBuilder newAdaptableBuilder(final Adaptable existingAdaptable)
focal_class.class_method_signature: ProtocolFactory.newAdaptableBuilder(final Adaptable existingAdaptable,
              final TopicPath overwriteTopicPath)
focal_class.full_signature: @Deprecated public static AdaptableBuilder newAdaptableBuilder(final Adaptable existingAdaptable,
              final TopicPath overwriteTopicPath)
focal_class.identifier: newAdaptableBuilder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final Adaptable existingAdaptable,
              final TopicPath overwriteTopicPath)
focal_class.return: AdaptableBuilder
focal_class.signature: AdaptableBuilder newAdaptableBuilder(final Adaptable existingAdaptable,
              final TopicPath overwriteTopicPath)
focal_class.class_method_signature: ProtocolFactory.setExtra(final Adaptable existingAdaptable, final JsonObject extra)
focal_class.full_signature: public static Adaptable setExtra(final Adaptable existingAdaptable, final JsonObject extra)
focal_class.identifier: setExtra
focal_class.modifiers: public static
focal_class.parameters: (final Adaptable existingAdaptable, final JsonObject extra)
focal_class.return: Adaptable
focal_class.signature: Adaptable setExtra(final Adaptable existingAdaptable, final JsonObject extra)
focal_class.class_method_signature: ProtocolFactory.emptyTopicPath()
focal_class.full_signature: public static TopicPath emptyTopicPath()
focal_class.identifier: emptyTopicPath
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: TopicPath
focal_class.signature: TopicPath emptyTopicPath()
focal_class.class_method_signature: ProtocolFactory.newTopicPath(final String path)
focal_class.full_signature: @SuppressWarnings({"squid:S1166"}) public static TopicPath newTopicPath(final String path)
focal_class.identifier: newTopicPath
focal_class.modifiers: @SuppressWarnings({"squid:S1166"}) public static
focal_class.parameters: (final String path)
focal_class.return: TopicPath
focal_class.signature: TopicPath newTopicPath(final String path)
focal_class.class_method_signature: ProtocolFactory.newTopicPathBuilder(final String thingId)
focal_class.full_signature: @Deprecated public static TopicPathBuilder newTopicPathBuilder(final String thingId)
focal_class.identifier: newTopicPathBuilder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String thingId)
focal_class.return: TopicPathBuilder
focal_class.signature: TopicPathBuilder newTopicPathBuilder(final String thingId)
focal_class.class_method_signature: ProtocolFactory.newTopicPathBuilder(final ThingId thingId)
focal_class.full_signature: public static TopicPathBuilder newTopicPathBuilder(final ThingId thingId)
focal_class.identifier: newTopicPathBuilder
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId)
focal_class.return: TopicPathBuilder
focal_class.signature: TopicPathBuilder newTopicPathBuilder(final ThingId thingId)
focal_class.class_method_signature: ProtocolFactory.newTopicPathBuilder(final NamespacedEntityId entityId)
focal_class.full_signature: public static TopicPathBuilder newTopicPathBuilder(final NamespacedEntityId entityId)
focal_class.identifier: newTopicPathBuilder
focal_class.modifiers: public static
focal_class.parameters: (final NamespacedEntityId entityId)
focal_class.return: TopicPathBuilder
focal_class.signature: TopicPathBuilder newTopicPathBuilder(final NamespacedEntityId entityId)
focal_class.class_method_signature: ProtocolFactory.newTopicPathBuilder(final PolicyId policyId)
focal_class.full_signature: public static TopicPathBuilder newTopicPathBuilder(final PolicyId policyId)
focal_class.identifier: newTopicPathBuilder
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId)
focal_class.return: TopicPathBuilder
focal_class.signature: TopicPathBuilder newTopicPathBuilder(final PolicyId policyId)
focal_class.class_method_signature: ProtocolFactory.newTopicPathBuilderFromNamespace(final String namespace)
focal_class.full_signature: public static TopicPathBuilder newTopicPathBuilderFromNamespace(final String namespace)
focal_class.identifier: newTopicPathBuilderFromNamespace
focal_class.modifiers: public static
focal_class.parameters: (final String namespace)
focal_class.return: TopicPathBuilder
focal_class.signature: TopicPathBuilder newTopicPathBuilderFromNamespace(final String namespace)
focal_class.class_method_signature: ProtocolFactory.newPayload(final String jsonString)
focal_class.full_signature: public static Payload newPayload(final String jsonString)
focal_class.identifier: newPayload
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString)
focal_class.return: Payload
focal_class.signature: Payload newPayload(final String jsonString)
focal_class.class_method_signature: ProtocolFactory.newPayload(final JsonObject jsonObject)
focal_class.full_signature: public static Payload newPayload(final JsonObject jsonObject)
focal_class.identifier: newPayload
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Payload
focal_class.signature: Payload newPayload(final JsonObject jsonObject)
focal_class.class_method_signature: ProtocolFactory.newPayloadBuilder()
focal_class.full_signature: public static PayloadBuilder newPayloadBuilder()
focal_class.identifier: newPayloadBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PayloadBuilder
focal_class.signature: PayloadBuilder newPayloadBuilder()
focal_class.class_method_signature: ProtocolFactory.newPayloadBuilder(@Nullable final JsonPointer path)
focal_class.full_signature: public static PayloadBuilder newPayloadBuilder(@Nullable final JsonPointer path)
focal_class.identifier: newPayloadBuilder
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final JsonPointer path)
focal_class.return: PayloadBuilder
focal_class.signature: PayloadBuilder newPayloadBuilder(@Nullable final JsonPointer path)
focal_class.class_method_signature: ProtocolFactory.emptyHeaders()
focal_class.full_signature: public static DittoHeaders emptyHeaders()
focal_class.identifier: emptyHeaders
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders emptyHeaders()
focal_class.class_method_signature: ProtocolFactory.newHeadersWithDittoContentType(final Map<String, String> headers)
focal_class.full_signature: public static DittoHeaders newHeadersWithDittoContentType(final Map<String, String> headers)
focal_class.identifier: newHeadersWithDittoContentType
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, String> headers)
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders newHeadersWithDittoContentType(final Map<String, String> headers)
focal_class.class_method_signature: ProtocolFactory.newHeaders(final Collection<Map.Entry<String, String>> headers)
focal_class.full_signature: public static DittoHeaders newHeaders(final Collection<Map.Entry<String, String>> headers)
focal_class.identifier: newHeaders
focal_class.modifiers: public static
focal_class.parameters: (final Collection<Map.Entry<String, String>> headers)
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders newHeaders(final Collection<Map.Entry<String, String>> headers)
focal_class.class_method_signature: ProtocolFactory.newHeaders(final JsonObject headersAsJson)
focal_class.full_signature: public static DittoHeaders newHeaders(final JsonObject headersAsJson)
focal_class.identifier: newHeaders
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject headersAsJson)
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders newHeaders(final JsonObject headersAsJson)
focal_class.class_method_signature: ProtocolFactory.wrapAsJsonifiableAdaptable(final Adaptable adaptable)
focal_class.full_signature: public static JsonifiableAdaptable wrapAsJsonifiableAdaptable(final Adaptable adaptable)
focal_class.identifier: wrapAsJsonifiableAdaptable
focal_class.modifiers: public static
focal_class.parameters: (final Adaptable adaptable)
focal_class.return: JsonifiableAdaptable
focal_class.signature: JsonifiableAdaptable wrapAsJsonifiableAdaptable(final Adaptable adaptable)
focal_class.class_method_signature: ProtocolFactory.jsonifiableAdaptableFromJson(final JsonObject adaptableAsJson)
focal_class.full_signature: public static JsonifiableAdaptable jsonifiableAdaptableFromJson(final JsonObject adaptableAsJson)
focal_class.identifier: jsonifiableAdaptableFromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject adaptableAsJson)
focal_class.return: JsonifiableAdaptable
focal_class.signature: JsonifiableAdaptable jsonifiableAdaptableFromJson(final JsonObject adaptableAsJson)
focal_method.body: public static TopicPathBuilder newTopicPathBuilderFromNamespace(final String namespace) {
          return ImmutableTopicPathBuilder.of(namespace, TopicPath.ID_PLACEHOLDER).things();
      }
focal_method.class_method_signature: ProtocolFactory.newTopicPathBuilderFromNamespace(final String namespace)
focal_method.full_signature: public static TopicPathBuilder newTopicPathBuilderFromNamespace(final String namespace)
focal_method.identifier: newTopicPathBuilderFromNamespace
focal_method.invocations: things of
focal_method.modifiers: public static
focal_method.parameters: (final String namespace)
focal_method.return: TopicPathBuilder
focal_method.signature: TopicPathBuilder newTopicPathBuilderFromNamespace(final String namespace)