|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.Analyser
com.sptci.rwt.AbstractTriggerAnalyser
com.sptci.rwt.OracleTriggerAnalyser
class OracleTriggerAnalyser
An analyser for analysing trigger type objects in the database.
© Copyright 2007 Sans Pareil Technologies, Inc.
| 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 | |
|---|---|
OracleTriggerAnalyser(ConnectionManager manager)
Create a new instance of the class using the specified connection manager. |
|
| Method Summary | |
|---|---|
protected void |
createMetaData(ResultSet resultSet,
Collection<TriggerMetaData> collection,
MetaData... parameters)
Create a new metadata object out of the data in the specified result set. |
protected PreparedStatement |
createStatement(Connection connection,
MetaData... parameters)
Create a PreparedStatement based on the
parameters passed in. |
protected TriggerMetaData.Event |
getEvent(String manipulation)
Map the event_manipulation field value to an appropriate
TriggerMetaData.Event type. |
protected TriggerMetaData.Orientation |
getOrientation(String action)
Map the action_orientation field value to an appropriate
TriggerMetaData.Orientation type. |
protected TriggerMetaData.Timing |
getTiming(String condition)
Map the condition_timing field value to an appropriate
TriggerMetaData.Timing type. |
| Methods inherited from class com.sptci.rwt.AbstractTriggerAnalyser |
|---|
analyse |
| 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 |
|---|
OracleTriggerAnalyser(ConnectionManager manager)
manager - The manager for obtaining database connections.| Method Detail |
|---|
protected PreparedStatement createStatement(Connection connection,
MetaData... parameters)
throws SQLException
PreparedStatement based on the
parameters passed in.
createStatement in class AbstractTriggerAnalyserconnection - The database connection to use.parameters - The array of SchemaMetaData and TableMetaData objects.
SQLException - If errors are encountered while creating the
statement.Analyser.getNames(com.sptci.rwt.MetaData)
protected void createMetaData(ResultSet resultSet,
Collection<TriggerMetaData> collection,
MetaData... parameters)
throws SQLException
createMetaData in class AbstractTriggerAnalyserresultSet - The result set from which to create the metadata.collection - The collection to which the metadata objects are
to be added.parameters - The array of RootMetaData and TableMetaData objects.
SQLException - If errors are encountered while fetching the
data from the result set.getEvent(java.lang.String),
getOrientation(java.lang.String)protected TriggerMetaData.Event getEvent(String manipulation)
event_manipulation field value to an appropriate
TriggerMetaData.Event type.
manipulation - The value to be mapped.
protected TriggerMetaData.Orientation getOrientation(String action)
action_orientation field value to an appropriate
TriggerMetaData.Orientation type.
action - The value to be mapped.
protected TriggerMetaData.Timing getTiming(String condition)
condition_timing field value to an appropriate
TriggerMetaData.Timing type.
condition - The value to be mapped.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||