ImmutableSchema(ImmutableDbms parent, Map<String, Object> schema) { super(parent, schema); final Schema prototype = new SchemaImpl(parent, schema); this.enabled = prototype.isEnabled(); this.id = prototype.getId(); this.name = prototype.getName(); this.alias = prototype.getAlias(); this.defaultSchema = prototype.isDefaultSchema(); this.tables = unmodifiableList(super.children(TABLES, ImmutableTable::new).collect(toList())); }