public DiagramObjectCollector(EntityDiagram diagram) { this.diagram = diagram; this.tableMap.putAll(diagram.getTableMap()); }