org.clazzes.jdbc2xml.schema
Class SortableTableDescription

java.lang.Object
  extended by org.clazzes.jdbc2xml.schema.SortableTableDescription
All Implemented Interfaces:
Comparable<SortableTableDescription>

public class SortableTableDescription
extends Object
implements Comparable<SortableTableDescription>

This class holds structural information about a table and a foreign key depth.

Author:
wglas

Constructor Summary
SortableTableDescription()
          Default constructor
SortableTableDescription(TableInfo tableInfo)
          Default constructor
 
Method Summary
 int compareTo(SortableTableDescription o)
           
 int getFkDepth()
           
 TableInfo getTableInfo()
           
 void setFkDepth(int fkDepth)
           
 void setTableInfo(TableInfo tableInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableTableDescription

public SortableTableDescription()
Default constructor


SortableTableDescription

public SortableTableDescription(TableInfo tableInfo)
Default constructor

Method Detail

getTableInfo

public TableInfo getTableInfo()
Returns:
the tableInfo

setTableInfo

public void setTableInfo(TableInfo tableInfo)
Parameters:
tableInfo - the tableInfo to set

getFkDepth

public int getFkDepth()
Returns:
the fkDepth

setFkDepth

public void setFkDepth(int fkDepth)
Parameters:
fkDepth - the fkDepth to set

compareTo

public int compareTo(SortableTableDescription o)
Specified by:
compareTo in interface Comparable<SortableTableDescription>


Copyright © 2012. All Rights Reserved.