org.clazzes.jdbc2xml.schema
Class TableSorter

java.lang.Object
  extended by 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

Constructor Summary
TableSorter()
           
 
Method Summary
static void sortTablesByFKDepth(List<? extends SortableTableDescription> tables)
          This subroutine classifies tables by their foreign key dependencies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSorter

public TableSorter()
Method Detail

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 © 2011. All Rights Reserved.