类 ParameterBindImpl<T>
- java.lang.Object
-
- org.hibernate.procedure.internal.ParameterBindImpl<T>
-
- 所有已实现的接口:
ParameterBind<T>,QueryParameterBinding<T>
public class ParameterBindImpl<T> extends Object implements ParameterBind<T>
Implementation of theParameterBindcontract.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ParameterBindImpl(ProcedureParameterImplementor procedureParameter, ProcedureParamBindings procedureParamBindings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetBindType()Get the Type currently associated with this binding.TgetBindValue()Get the value current bound.javax.persistence.TemporalTypegetExplicitTemporalType()If<T>represents a DATE/TIME type value, JPA usually allows specifying the particular parts of the DATE/TIME value to be bound.TgetValue()Retrieves the bound value.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.
-
-
-
构造器详细资料
-
ParameterBindImpl
public ParameterBindImpl(ProcedureParameterImplementor procedureParameter, ProcedureParamBindings procedureParamBindings)
-
-
方法详细资料
-
getValue
public T getValue()
从接口复制的说明:ParameterBindRetrieves the bound value.- 指定者:
getValue在接口中ParameterBind<T>- 返回:
- The bound value.
-
getExplicitTemporalType
public javax.persistence.TemporalType getExplicitTemporalType()
从接口复制的说明:ParameterBindIf<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在接口中ParameterBind<T>- 返回:
- The explicitly supplied TemporalType.
-
isBound
public boolean isBound()
- 指定者:
isBound在接口中QueryParameterBinding<T>
-
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
-
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
-
-