接口 QueryParameterBinding<T>
-
- 所有已知子接口:
ParameterBind<T>,ProcedureParameterBinding<T>,ProcedureParameterBindingImplementor<T>
- 所有已知实现类:
ParameterBindImpl,QueryParameterBindingImpl
public interface QueryParameterBinding<T>The value/type binding information for a particular query parameter.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TypegetBindType()Get the Type currently associated with this binding.TgetBindValue()Get the value current bound.booleanisBound()voidsetBindValue(T value)Sets the parameter binding value.voidsetBindValue(T value, javax.persistence.TemporalType clarifiedTemporalType)Sets the parameter binding value using the explicit TemporalType.voidsetBindValue(T value, Type clarifiedType)Sets the parameter binding value using the explicit Type.
-
-
-
方法详细资料
-
isBound
boolean isBound()
-
setBindValue
void setBindValue(T value)
Sets the parameter binding value. The inherent parameter type (if known) is assumed- 参数:
value- The bind value
-
setBindValue
void setBindValue(T value, Type clarifiedType)
Sets the parameter binding value using the explicit Type.- 参数:
value- The bind valueclarifiedType- The explicit Type to use
-
setBindValue
void setBindValue(T value, javax.persistence.TemporalType clarifiedTemporalType)
Sets the parameter binding value using the explicit TemporalType.- 参数:
value- The bind valueclarifiedTemporalType- The temporal type to use
-
getBindValue
T getBindValue()
Get the value current bound.- 返回:
- The currently bound value
-
getBindType
Type getBindType()
Get the Type currently associated with this binding.- 返回:
- The currently associated Type
-
-