public class ParameterBindImpl<T> extends Object implements ParameterBind<T>
ParameterBind contract.| Constructor and Description |
|---|
ParameterBindImpl(ProcedureParameterImplementor procedureParameter,
ProcedureParamBindings procedureParamBindings) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getBindType()
Get the Type currently associated with this binding.
|
T |
getBindValue()
Get the value current bound.
|
TemporalType |
getExplicitTemporalType()
If
<T> represents a DATE/TIME type value, JPA usually allows specifying the particular parts of
the DATE/TIME value to be bound. |
T |
getValue()
Retrieves the bound value.
|
boolean |
isBound() |
void |
setBindValue(T value)
Sets the parameter binding value.
|
void |
setBindValue(T value,
TemporalType clarifiedTemporalType)
Sets the parameter binding value using the explicit TemporalType.
|
void |
setBindValue(T value,
Type clarifiedType)
Sets the parameter binding value using the explicit Type.
|
public ParameterBindImpl(ProcedureParameterImplementor procedureParameter, ProcedureParamBindings procedureParamBindings)
public T getValue()
ParameterBindgetValue in interface ParameterBind<T>public TemporalType getExplicitTemporalType()
ParameterBind<T> represents a DATE/TIME type value, JPA usually allows specifying the particular parts of
the DATE/TIME value to be bound. This value represents the particular part the user requested to be bound.getExplicitTemporalType in interface ParameterBind<T>public boolean isBound()
isBound in interface QueryParameterBinding<T>public void setBindValue(T value)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valuepublic void setBindValue(T value, Type clarifiedType)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valueclarifiedType - The explicit Type to usepublic void setBindValue(T value, TemporalType clarifiedTemporalType)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valueclarifiedTemporalType - The temporal type to usepublic T getBindValue()
QueryParameterBindinggetBindValue in interface QueryParameterBinding<T>public Type getBindType()
QueryParameterBindinggetBindType in interface QueryParameterBinding<T>Copyright © 2019 JBoss by Red Hat. All rights reserved.