public static class QueryPreparer.ObjectStaticPlaceHolder<ObjType> extends QueryPreparer.StaticPlaceHolder
Modifier and Type | Field and Description |
---|---|
protected ObjType |
_val |
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Constructor and Description |
---|
ObjectStaticPlaceHolder(ObjType 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, setString
collectSchemaObjects, doValidate, toString
toString, toString
protected ObjType _val
public ObjectStaticPlaceHolder(ObjType val, QueryPreparer outer)
public void setValue(PreparedStatement ps) throws SQLException
QueryPreparer.StaticPlaceHolder
setValue
in class QueryPreparer.StaticPlaceHolder
SQLException
public String displayToString()
QueryPreparer.StaticPlaceHolder
displayToString
in class QueryPreparer.StaticPlaceHolder
Copyright © 2006–2021 OpenHMS. All rights reserved.