Package de.businesscode.bcdui.wrs.load
Class SQLStatementWithParams
- java.lang.Object
-
- de.businesscode.bcdui.wrs.load.SQLStatementWithParams
-
public class SQLStatementWithParams extends java.lang.Object
Represents part of an SQL string and the values for bound variables
-
-
Constructor Summary
Constructors Constructor Description SQLStatementWithParams()
SQLStatementWithParams(java.lang.String statement)
SQLStatementWithParams(java.lang.String statement, java.util.List<org.w3c.dom.Element> filterItems, BindingSet currBindingSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLStatementWithParams
append(SQLStatementWithParams moreStatement)
SQLStatementWithParams
append(java.lang.String currStatement)
SQLStatementWithParams
append(java.lang.String currStatement, java.util.List<org.w3c.dom.Element> currFilterItems, BindingSet currBindingSet)
java.util.List<BindingItem>
getFilterBindingItems()
java.util.List<org.w3c.dom.Element>
getFilterItems()
java.util.List<java.lang.String>
getFilterValues()
java.lang.String
getStatement()
java.lang.String
getStatementWithParams()
Provides the statement with values filled in instead of showing '?'java.lang.String
toString()
-
-
-
Constructor Detail
-
SQLStatementWithParams
public SQLStatementWithParams()
-
SQLStatementWithParams
public SQLStatementWithParams(java.lang.String statement)
-
SQLStatementWithParams
public SQLStatementWithParams(java.lang.String statement, java.util.List<org.w3c.dom.Element> filterItems, BindingSet currBindingSet) throws BindingNotFoundException
- Throws:
BindingNotFoundException
-
-
Method Detail
-
append
public SQLStatementWithParams append(SQLStatementWithParams moreStatement) throws BindingNotFoundException
- Throws:
BindingNotFoundException
-
append
public SQLStatementWithParams append(java.lang.String currStatement)
-
append
public SQLStatementWithParams append(java.lang.String currStatement, java.util.List<org.w3c.dom.Element> currFilterItems, BindingSet currBindingSet) throws BindingNotFoundException
- Throws:
BindingNotFoundException
-
getStatement
public java.lang.String getStatement()
-
getFilterItems
public java.util.List<org.w3c.dom.Element> getFilterItems()
-
getFilterValues
public java.util.List<java.lang.String> getFilterValues()
-
getFilterBindingItems
public java.util.List<BindingItem> getFilterBindingItems()
-
getStatementWithParams
public java.lang.String getStatementWithParams()
Provides the statement with values filled in instead of showing '?' for bound variables- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-