Package org.hibernate.query.spi
Interface QueryParameterBinding<T>
-
- All Known Subinterfaces:
ParameterBind<T>
,ProcedureParameterBinding<T>
,ProcedureParameterBindingImplementor<T>
public interface QueryParameterBinding<T>
The value/type binding information for a particular query parameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
getBindType()
Get the Type currently associated with this binding.T
getBindValue()
Get the value current bound.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.
-
-
-
Method Detail
-
isBound
boolean isBound()
-
setBindValue
void setBindValue(T value)
Sets the parameter binding value. The inherent parameter type (if known) is assumed- Parameters:
value
- The bind value
-
setBindValue
void setBindValue(T value, Type clarifiedType)
Sets the parameter binding value using the explicit Type.- Parameters:
value
- The bind valueclarifiedType
- The explicit Type to use
-
setBindValue
void setBindValue(T value, TemporalType clarifiedTemporalType)
Sets the parameter binding value using the explicit TemporalType.- Parameters:
value
- The bind valueclarifiedTemporalType
- The temporal type to use
-
getBindValue
T getBindValue()
Get the value current bound.- Returns:
- The currently bound value
-
getBindType
Type getBindType()
Get the Type currently associated with this binding.- Returns:
- The currently associated Type
-
-