SPT RWT Application API

com.sptci.rwt
Class KeyAnalyser

java.lang.Object
  extended by com.sptci.rwt.Analyser
      extended by com.sptci.rwt.KeyAnalyser
Direct Known Subclasses:
ForeignKeyAnalyser, IndexAnalyser, PrimaryKeyAnalyser

public abstract class KeyAnalyser
extends Analyser

An abstract analyser for analysing constraints and indices for tables.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: KeyAnalyser.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-28

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sptci.rwt.Analyser
Analyser.CatalogueSchema
 
Field Summary
 
Fields inherited from class com.sptci.rwt.Analyser
logger, manager
 
Constructor Summary
protected KeyAnalyser(ConnectionManager manager)
          Create a new instance of the class using the specified connection manager.
 
Method Summary
protected  void checkTableColumns(TableMetaData tmd)
          Check the specified table meta data object and ensure that the TableTypeMetaData.columns is initialised.
 
Methods inherited from class com.sptci.rwt.Analyser
analyse, getNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyAnalyser

protected KeyAnalyser(ConnectionManager manager)
Create a new instance of the class using the specified connection manager.

Parameters:
manager - The manager for obtaining database connections.
Method Detail

checkTableColumns

protected void checkTableColumns(TableMetaData tmd)
                          throws SQLException
Check the specified table meta data object and ensure that the TableTypeMetaData.columns is initialised.

Parameters:
tmd - The table meta data object to initialise if necessary.
Throws:
SQLException - If errors are encountered while initialising the meta data object.

SPT RWT Application API