org.kuali.common.jdbc.supplier
Class SimpleStringSupplier

java.lang.Object
  extended by org.kuali.common.jdbc.supplier.AbstractSupplier
      extended by org.kuali.common.jdbc.supplier.SimpleStringSupplier
All Implemented Interfaces:
Comparable<SqlSupplier>, SqlSupplier

Deprecated.

@Deprecated
public class SimpleStringSupplier
extends AbstractSupplier

Supply SQL from strings that have one SQL statement each


Field Summary
 
Fields inherited from class org.kuali.common.jdbc.supplier.AbstractSupplier
metaData
 
Constructor Summary
SimpleStringSupplier()
          Deprecated.  
SimpleStringSupplier(List<String> strings)
          Deprecated.  
SimpleStringSupplier(String sql)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated. Close the supplier to free any resources it may have opened
 void fillInMetaData()
          Deprecated. Fill in SQL count + overall size
 List<String> getSql()
          Deprecated. Return a list of SQL statements to execute.
 List<String> getStrings()
          Deprecated.  
 void open()
          Deprecated. Open the supplier so it is ready to provide SQL
 void setStrings(List<String> strings)
          Deprecated.  
 
Methods inherited from class org.kuali.common.jdbc.supplier.AbstractSupplier
compareTo, getMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleStringSupplier

public SimpleStringSupplier()
Deprecated. 

SimpleStringSupplier

public SimpleStringSupplier(String sql)
Deprecated. 

SimpleStringSupplier

public SimpleStringSupplier(List<String> strings)
Deprecated. 
Method Detail

open

public void open()
Deprecated. 
Description copied from interface: SqlSupplier
Open the supplier so it is ready to provide SQL


getSql

public List<String> getSql()
Deprecated. 
Description copied from interface: SqlSupplier
Return a list of SQL statements to execute. Returns null when the SQL supply has been exhausted.


close

public void close()
Deprecated. 
Description copied from interface: SqlSupplier
Close the supplier to free any resources it may have opened


fillInMetaData

public void fillInMetaData()
Deprecated. 
Description copied from interface: SqlSupplier
Fill in SQL count + overall size


getStrings

public List<String> getStrings()
Deprecated. 

setStrings

public void setStrings(List<String> strings)
Deprecated. 


Copyright © 2010-2014 The Kuali Foundation. All Rights Reserved.