public static class QueryPreparer.IntegerStaticPlaceHolder extends QueryPreparer.StaticPlaceHolder
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK| Constructor and Description |
|---|
IntegerStaticPlaceHolder(int val,
QueryPreparer outer) |
| Modifier and Type | Method and Description |
|---|---|
String |
displayToString()
Displays the value of this place holder as a String
|
void |
setValue(PreparedStatement ps)
Calls the appropriate set method on the given PreparedStatement with
the saved static value for the position of this PlaceHolder.
|
addIndex, appendTo, collectSchemaObjects, getIndex, getIndexes, getOuter, isInQuery, setBoolean, setBoolean, setInt, setInt, setLong, setLong, setNonNullObject, setNonNullString, setNull, setObject, setObject, setStringcollectSchemaObjects, doValidate, toStringtoString, toStringpublic IntegerStaticPlaceHolder(int val,
QueryPreparer outer)
public void setValue(PreparedStatement ps) throws SQLException
QueryPreparer.StaticPlaceHoldersetValue in class QueryPreparer.StaticPlaceHolderSQLExceptionpublic String displayToString()
QueryPreparer.StaticPlaceHolderdisplayToString in class QueryPreparer.StaticPlaceHolderCopyright © 2006–2021 OpenHMS. All rights reserved.