Class OnlyReplacementsPreparedStatementPart
java.lang.Object
org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
- All Implemented Interfaces:
PreparedStatementPart
A PreparedStatementPart which only contains replacements, no sql.
- Version:
- $Id: $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of prepared statement replacements.returns the empty sql.
-
Constructor Details
-
OnlyReplacementsPreparedStatementPart
Constructor.- Parameters:
replacement- the first replacement to be contained in this PreparedStatementPart.
-
-
Method Details
-
getSqlAsString
returns the empty sql.- Specified by:
getSqlAsStringin interfacePreparedStatementPart- Returns:
- the empty sql, not null.
-
getPreparedStatementReplacements
Returns the list of prepared statement replacements. The returned list is modifiable. On modification of the returned list, the state of this object is changed.- Specified by:
getPreparedStatementReplacementsin interfacePreparedStatementPart- Returns:
- the list of prepared statement replacements, not null.
-