org.clazzes.jdbc2xml.schema
Class TableSorter
java.lang.Object
org.clazzes.jdbc2xml.schema.TableSorter
public abstract class TableSorter
- extends Object
This class is used to analyse the foreign key dependencies of a list of tables.
- Author:
- wglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSorter
public TableSorter()
sortTablesByFKDepth
public static void sortTablesByFKDepth(List<? extends SortableTableDescription> tables)
- This subroutine classifies tables by their foreign key dependencies.
The fkDEpth field of the
SortableTableDescription
objects is
initialized and the list sort w.r.t. to this depth.
- Parameters:
tables
- A list of sortable table informations.
Copyright © 2012. All Rights Reserved.