SPT RWT Application API

com.sptci.rwt
Class TriggerAnalyser

java.lang.Object
  extended by com.sptci.rwt.Analyser
      extended by com.sptci.rwt.TriggerAnalyser

public class TriggerAnalyser
extends Analyser

An analyser for analysing trigger type objects in the database.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: TriggerAnalyser.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-27
See Also:
StandardTriggerAnalyser, OracleTriggerAnalyser

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
TriggerAnalyser(ConnectionManager manager)
          Create a new instance of the class using the specified connection manager.
 
Method Summary
 Collection<TriggerMetaData> analyse(MetaData... parameters)
          Returns a collection of TriggerMetaData objects that contain the basic information pertaining to the triggers in the schema and table (optional) specified.
 
Methods inherited from class com.sptci.rwt.Analyser
getNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerAnalyser

public TriggerAnalyser(ConnectionManager manager)
Create a new instance of the class using the specified connection manager.

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

analyse

public Collection<TriggerMetaData> analyse(MetaData... parameters)
                                    throws SQLException
Returns a collection of TriggerMetaData objects that contain the basic information pertaining to the triggers in the schema and table (optional) specified.

Specified by:
analyse in class Analyser
Parameters:
parameters - Must contain at least one parameter which is a SchemaMetaData that represents the schema to restrict the analysis to. An optional additional TableMetaData parameter may be specified to restrict the analysis to a specified table.
Returns:
The collection of metadata objects representing all objects of this type.
Throws:
SQLException - If errors are encountered while analysisng the
See Also:
Analyser.analyse(com.sptci.rwt.MetaData...), AbstractTriggerAnalyser.analyse(com.sptci.rwt.MetaData...)

SPT RWT Application API