class TabModelImpl implements TabModel {

  @Override
  public ComponentModel getChild(String path) {
    if (children.containsKey(path)) {
      return children.get(path);
    }
    return layouts.values().stream()
        .map(l -> l.getChild(path))
        .filter(Objects::nonNull)
        .findFirst()
        .orElse(null);
  }

    TabModelImpl(String title);

}