public class ParamBinding<T> extends Object
Parameter.| Constructor and Description |
|---|
ParamBinding(Parameter<T> parameter,
T value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Query query)
Apply this parameter binding to the given query.
|
boolean |
equals(Object obj) |
Parameter<T> |
getParameter()
Get the parameter.
|
T |
getValue()
Get the parameter value.
|
int |
hashCode() |
String |
toString() |
public ParamBinding(Parameter<T> parameter, T value)
parameter - the parameter to setvalue - parameter valueIllegalArgumentException - if parameter is nullpublic T getValue()
public void applyTo(Query query)
query - the query to configureIllegalArgumentException - if query is nullCopyright © 2023. All rights reserved.