public abstract class TesterComponent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TesterComponent.DelegateTesterComponent |
Constructor and Description |
---|
TesterComponent() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close any open Statements or ResultSets.
|
protected java.util.Map<java.lang.String,?> |
getBindVariables(Database db,
java.lang.String sqlText)
Gets the bind variable names and values for the query.
|
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.
|
protected void |
setBindVariables(java.util.Map<java.lang.String,java.lang.Object> bindVariables)
Sets the bind variables that are in the query along with any default
values they may contain.
|
abstract void |
testSQL(Database db,
java.lang.String sqlQuery)
Sets the sql query text that the component will show.
|
public abstract void testSQL(Database db, java.lang.String sqlQuery)
db
- the Database to test the query against. This can be null.sqlQuery
- the sql query textpublic abstract java.awt.Component getComponent()
public abstract java.lang.String getName()
public void close()
protected void setBindVariables(java.util.Map<java.lang.String,java.lang.Object> bindVariables)
protected java.util.Map<java.lang.String,?> getBindVariables(Database db, java.lang.String sqlText)