}
dbStruct.setRelations(copy);
}
private void processFilters() {
DbTranFilters original = dbStruct.getHierarchicalFilters();
List<Entry> copiedEntries = Lists.newArrayList();
for (Entry e : original.getAllEntries()) {
DatabaseObject table = translatedObjects.get(e.getTableName());
if (table != null) {
DatabaseColumn column = table.getColumn(e.getColumnName());
if (column != null) {
copiedEntries.add(new Entry(table.getName(), column.getName(), e.getCondition(), e.getSortOrder()));
}
}
}
DbTranFilters copiedFilters = new DbTranFilters();
for (Entry e : copiedEntries) {
copiedFilters.addEntry(e);
}
dbStruct.setHierarchicalFilters(copiedFilters);
}