org.kuali.kfs.module.bc.batch.dataaccess.impl
Class SQLForStep

java.lang.Object
  extended by org.kuali.kfs.module.bc.batch.dataaccess.impl.SQLForStep

public class SQLForStep
extends Object

implements a type to hold the raw SQL for each step in a process. allows us to have an insertion point for system parameters which can only be incorporated into the SQL at run-time. provides a method to insert the parameter string and return the finished SQL as a string, and another to just return SQL as a string without inserting anything, therefore permitting most of the SQL to be built in a constructor and finished at run time.


Constructor Summary
SQLForStep(StringBuilder sqlBuilder)
           
SQLForStep(StringBuilder sqlBuilder, ArrayList<Integer> insertionPoints)
           
 
Method Summary
 String getSQL()
           
 String getSQL(ArrayList<String> parameterToInsert)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLForStep

public SQLForStep(StringBuilder sqlBuilder)

SQLForStep

public SQLForStep(StringBuilder sqlBuilder,
                  ArrayList<Integer> insertionPoints)
Method Detail

getSQL

public String getSQL(ArrayList<String> parameterToInsert)

getSQL

public String getSQL()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.