org.outerj.xreporter.report.definition
Class QbeSqlPart

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.QbeSqlPart
All Implemented Interfaces:
SqlPart

public class QbeSqlPart
extends java.lang.Object
implements SqlPart

A SqlPart that inserts the SQL for the QBE settings.


Constructor Summary
QbeSqlPart()
           
 
Method Summary
 void addToSqlStatement(java.lang.StringBuffer statement, ExecutionContext executionContext)
          Adds a piece of SQL to the supplied StringBuffer
 int bind(java.sql.PreparedStatement statement, int start, ExecutionContext executionContext)
          Fills in any IN parameters that this SqlPart has added during the call to addToSqlStatement(java.lang.StringBuffer, org.outerj.xreporter.report.definition.ExecutionContext).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QbeSqlPart

public QbeSqlPart()
Method Detail

addToSqlStatement

public void addToSqlStatement(java.lang.StringBuffer statement,
                              ExecutionContext executionContext)
Description copied from interface: SqlPart
Adds a piece of SQL to the supplied StringBuffer

Specified by:
addToSqlStatement in interface SqlPart

bind

public int bind(java.sql.PreparedStatement statement,
                int start,
                ExecutionContext executionContext)
         throws java.sql.SQLException
Description copied from interface: SqlPart
Fills in any IN parameters that this SqlPart has added during the call to SqlPart.addToSqlStatement(java.lang.StringBuffer, org.outerj.xreporter.report.definition.ExecutionContext).

Specified by:
bind in interface SqlPart
Returns:
the position where the next IN-parameter should come
Throws:
java.sql.SQLException