@Override public Collection<Relationship> getRelationships() { return getTables().stream() .flatMap(tab -> tab.getRelationships().stream()) .collect(Collectors.toCollection(LinkedHashSet::new)); }
@Override public Collection<Relationship> getRelationships() { return getTables().stream() .flatMap(tab -> tab.getRelationships().stream()) .collect(Collectors.toCollection(LinkedHashSet::new)); }