test_class.declarator: URL_ESCAPE_EXAMPLE = "%3A"
test_class.modifier: private static final
test_class.original_string: private static final String URL_ESCAPE_EXAMPLE = "%3A";
test_class.type: String
test_class.var_name: URL_ESCAPE_EXAMPLE
test_class.declarator: ALLOWED_SPECIAL_CHARACTERS_IN_NAME = Arrays.asList(
              "-", "@", "&", "=", "+", ",", ".", "!", "~", "*", "'", "$", "_", ";", URL_ESCAPE_EXAMPLE, "<", ">"
      )
test_class.modifier: private static final
test_class.original_string: private static final List<String> ALLOWED_SPECIAL_CHARACTERS_IN_NAME = Arrays.asList(
              "-", "@", "&", "=", "+", ",", ".", "!", "~", "*", "'", "$", "_", ";", URL_ESCAPE_EXAMPLE, "<", ">"
      );
test_class.type: List<String>
test_class.var_name: ALLOWED_SPECIAL_CHARACTERS_IN_NAME
test_class.declarator: VALID_NAMESPACE = "validNamespace"
test_class.modifier: private static final
test_class.original_string: private static final String VALID_NAMESPACE = "validNamespace";
test_class.type: String
test_class.var_name: VALID_NAMESPACE
test_class.declarator: NAMESPACE_DELIMITER = ":"
test_class.modifier: private static final
test_class.original_string: private static final String NAMESPACE_DELIMITER = ":";
test_class.type: String
test_class.var_name: NAMESPACE_DELIMITER
test_class.declarator: VALID_NAME = "validName"
test_class.modifier: private static final
test_class.original_string: private static final String VALID_NAME = "validName";
test_class.type: String
test_class.var_name: VALID_NAME
test_class.declarator: VALID_ID = VALID_NAMESPACE + NAMESPACE_DELIMITER + VALID_NAME
test_class.modifier: private static final
test_class.original_string: private static final String VALID_ID = VALID_NAMESPACE + NAMESPACE_DELIMITER + VALID_NAME;
test_class.type: String
test_class.var_name: VALID_ID
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/entity/id/DefaultNamespacedEntityIdTest.java
test_class.identifier: DefaultNamespacedEntityIdTest
test_class.superclass: extends LengthRestrictionTestBase
test_case.body: @Test
      public void defaultNamespacedEntityIdFromDefaultNamespacedEntityIdIsSameInstance() {
          final NamespacedEntityId namespacedEntityIdOne = DefaultNamespacedEntityId.of(VALID_NAMESPACE, VALID_NAME);
          final NamespacedEntityId namespacedEntityIdTwo = DefaultNamespacedEntityId.of(namespacedEntityIdOne);
          assertThat((CharSequence) namespacedEntityIdOne).isSameAs(namespacedEntityIdTwo);
      }
test_case.class_method_signature: DefaultNamespacedEntityIdTest.defaultNamespacedEntityIdFromDefaultNamespacedEntityIdIsSameInstance()
test_case.full_signature: @Test public void defaultNamespacedEntityIdFromDefaultNamespacedEntityIdIsSameInstance()
test_case.identifier: defaultNamespacedEntityIdFromDefaultNamespacedEntityIdIsSameInstance
test_case.invocations: of of isSameAs assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void defaultNamespacedEntityIdFromDefaultNamespacedEntityIdIsSameInstance()
focal_class.declarator: DUMMY_ID = DefaultNamespacedEntityId.of(":_")
focal_class.modifier: private static final
focal_class.original_string: private static final NamespacedEntityId DUMMY_ID = DefaultNamespacedEntityId.of(":_");
focal_class.type: NamespacedEntityId
focal_class.var_name: DUMMY_ID
focal_class.declarator: DEFAULT_NAMESPACE = ""
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_NAMESPACE = "";
focal_class.type: String
focal_class.var_name: DEFAULT_NAMESPACE
focal_class.declarator: namespace
focal_class.modifier: private final
focal_class.original_string: private final String namespace;
focal_class.type: String
focal_class.var_name: namespace
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: stringRepresentation
focal_class.modifier: private final
focal_class.original_string: private final String stringRepresentation;
focal_class.type: String
focal_class.var_name: stringRepresentation
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/entity/id/DefaultNamespacedEntityId.java
focal_class.identifier: DefaultNamespacedEntityId
focal_class.interfaces: implements NamespacedEntityId
focal_class.class_method_signature: DefaultNamespacedEntityId.DefaultNamespacedEntityId(final String namespace, final String name, final boolean shouldValidate)
focal_class.full_signature: private  DefaultNamespacedEntityId(final String namespace, final String name, final boolean shouldValidate)
focal_class.identifier: DefaultNamespacedEntityId
focal_class.modifiers: private
focal_class.parameters: (final String namespace, final String name, final boolean shouldValidate)
focal_class.signature:  DefaultNamespacedEntityId(final String namespace, final String name, final boolean shouldValidate)
focal_class.class_method_signature: DefaultNamespacedEntityId.DefaultNamespacedEntityId(@Nullable final CharSequence entityId)
focal_class.full_signature: private  DefaultNamespacedEntityId(@Nullable final CharSequence entityId)
focal_class.identifier: DefaultNamespacedEntityId
focal_class.modifiers: private
focal_class.parameters: (@Nullable final CharSequence entityId)
focal_class.signature:  DefaultNamespacedEntityId(@Nullable final CharSequence entityId)
focal_class.class_method_signature: DefaultNamespacedEntityId.of(final CharSequence entityId)
focal_class.full_signature: public static NamespacedEntityId of(final CharSequence entityId)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence entityId)
focal_class.return: NamespacedEntityId
focal_class.signature: NamespacedEntityId of(final CharSequence entityId)
focal_class.class_method_signature: DefaultNamespacedEntityId.fromName(final String entityName)
focal_class.full_signature: public static NamespacedEntityId fromName(final String entityName)
focal_class.identifier: fromName
focal_class.modifiers: public static
focal_class.parameters: (final String entityName)
focal_class.return: NamespacedEntityId
focal_class.signature: NamespacedEntityId fromName(final String entityName)
focal_class.class_method_signature: DefaultNamespacedEntityId.of(final String namespace, final String name)
focal_class.full_signature: public static NamespacedEntityId of(final String namespace, final String name)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final String namespace, final String name)
focal_class.return: NamespacedEntityId
focal_class.signature: NamespacedEntityId of(final String namespace, final String name)
focal_class.class_method_signature: DefaultNamespacedEntityId.dummy()
focal_class.full_signature: public static NamespacedEntityId dummy()
focal_class.identifier: dummy
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: NamespacedEntityId
focal_class.signature: NamespacedEntityId dummy()
focal_class.class_method_signature: DefaultNamespacedEntityId.validate(final @Nullable String namespace, final @Nullable String name)
focal_class.full_signature: private String validate(final @Nullable String namespace, final @Nullable String name)
focal_class.identifier: validate
focal_class.modifiers: private
focal_class.parameters: (final @Nullable String namespace, final @Nullable String name)
focal_class.return: String
focal_class.signature: String validate(final @Nullable String namespace, final @Nullable String name)
focal_class.class_method_signature: DefaultNamespacedEntityId.isDummy()
focal_class.full_signature: @Override public boolean isDummy()
focal_class.identifier: isDummy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDummy()
focal_class.class_method_signature: DefaultNamespacedEntityId.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: DefaultNamespacedEntityId.getNamespace()
focal_class.full_signature: @Override public String getNamespace()
focal_class.identifier: getNamespace
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNamespace()
focal_class.class_method_signature: DefaultNamespacedEntityId.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: DefaultNamespacedEntityId.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DefaultNamespacedEntityId.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static NamespacedEntityId of(final CharSequence entityId) {
          if (entityId instanceof DefaultNamespacedEntityId) {
              return (NamespacedEntityId) entityId;
          }
  
          if (entityId instanceof NamespacedEntityId) {
              final String namespace = ((NamespacedEntityId) entityId).getNamespace();
              final String name = ((NamespacedEntityId) entityId).getName();
              return new DefaultNamespacedEntityId(namespace, name, false);
          }
  
          return new DefaultNamespacedEntityId(entityId);
      }
focal_method.class_method_signature: DefaultNamespacedEntityId.of(final CharSequence entityId)
focal_method.full_signature: public static NamespacedEntityId of(final CharSequence entityId)
focal_method.identifier: of
focal_method.invocations: getNamespace getName
focal_method.modifiers: public static
focal_method.parameters: (final CharSequence entityId)
focal_method.return: NamespacedEntityId
focal_method.signature: NamespacedEntityId of(final CharSequence entityId)