Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.db.panels.sql.tester
Class TesterComponent

java.lang.Object
  extended by oracle.ide.db.panels.sql.tester.TesterComponent

public abstract class TesterComponent
extends java.lang.Object

Defines a component that is used for testing, or running a sql query.

Since:
11.1.1.2.0

Constructor Summary
TesterComponent()
           
 
Method Summary
 void close()
          Close any open Statements or ResultSets.
abstract  java.awt.Component getComponent()
          Gets the actual UI Component for this control which will ultimately display the results of an operation using the query.
abstract  java.lang.String getName()
          Gets the name of the component.
abstract  void testSQL(Database db, java.lang.String sqlQuery)
          Sets the sql query text that the component will show.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TesterComponent

public TesterComponent()
Method Detail

testSQL

public abstract void testSQL(Database db,
                             java.lang.String sqlQuery)
Sets the sql query text that the component will show.

Parameters:
db - the Database to test the query against. This can be null.
sqlQuery - the sql query text

getComponent

public abstract java.awt.Component getComponent()
Gets the actual UI Component for this control which will ultimately display the results of an operation using the query.

Returns:
the UI Component for the button.

getName

public abstract java.lang.String getName()
Gets the name of the component.

Returns:
a translated string to represent the component.

close

public void close()
Close any open Statements or ResultSets. This will be called even if testSQL has not been called when the dialog is dismissed.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.