类 QueryParameterBindingImpl<T>
- java.lang.Object
-
- org.hibernate.query.internal.QueryParameterBindingImpl<T>
-
- 所有已实现的接口:
QueryParameterBinding<T>
public class QueryParameterBindingImpl<T> extends Object implements QueryParameterBinding<T>
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 QueryParameterBindingImpl(Type type, QueryParameterBindingTypeResolver typeResolver, boolean isBindingValidationRequired)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.
-
-
-
构造器详细资料
-
QueryParameterBindingImpl
public QueryParameterBindingImpl(Type type, QueryParameterBindingTypeResolver typeResolver, boolean isBindingValidationRequired)
-
-
方法详细资料
-
isBound
public boolean isBound()
- 指定者:
isBound在接口中QueryParameterBinding<T>
-
getBindValue
public T getBindValue()
从接口复制的说明:QueryParameterBindingGet the value current bound.- 指定者:
getBindValue在接口中QueryParameterBinding<T>- 返回:
- The currently bound value
-
getBindType
public Type getBindType()
从接口复制的说明:QueryParameterBindingGet the Type currently associated with this binding.- 指定者:
getBindType在接口中QueryParameterBinding<T>- 返回:
- The currently associated Type
-
setBindValue
public void setBindValue(T value)
从接口复制的说明:QueryParameterBindingSets the parameter binding value. The inherent parameter type (if known) is assumed- 指定者:
setBindValue在接口中QueryParameterBinding<T>- 参数:
value- The bind value
-
setBindValue
public void setBindValue(T value, Type clarifiedType)
从接口复制的说明:QueryParameterBindingSets the parameter binding value using the explicit Type.- 指定者:
setBindValue在接口中QueryParameterBinding<T>- 参数:
value- The bind valueclarifiedType- The explicit Type to use
-
setBindValue
public void setBindValue(T value, javax.persistence.TemporalType clarifiedTemporalType)
从接口复制的说明:QueryParameterBindingSets the parameter binding value using the explicit TemporalType.- 指定者:
setBindValue在接口中QueryParameterBinding<T>- 参数:
value- The bind valueclarifiedTemporalType- The temporal type to use
-
-