Class TableOrderTool
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.tools.TableOrderTool
-
public class TableOrderTool extends Object
Order tables by foreign key constraints, i.e. the foreign keys of a database schema spawn an directed (possibly cyclic!) graph of dependencies. The tool tries to create of sequential order either in top-down (starting at the root nodes) or bottom-up (starting at the leaves) manner.
If there are cycles in the dependencies, we choose the node with the fewest incoming/outgoing edges.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description TableOrderTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TableMetaData>
getOrderedTables(List<TableMetaData> tableMetaData, boolean topDown)
-
-
-
Method Detail
-
getOrderedTables
public List<TableMetaData> getOrderedTables(List<TableMetaData> tableMetaData, boolean topDown)
-
-