Top Description Methods
org.hibernate.query.spi

public Interface QueryParameterBinding<T>

Known Direct Subinterfaces
org.hibernate.procedure.ParameterBind, org.hibernate.query.procedure.ProcedureParameterBinding
Known Direct Implementers
org.hibernate.query.internal.QueryParameterBindingImpl
Annotations
@Incubating
Imports
javax.persistence.TemporalType, org.hibernate.Incubating, org.hibernate.type.Type

The value/type binding information for a particular query parameter.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Type

Returns:

The currently associated Type
getBindType
()

Get the Type currently associated with this binding.

public T

Returns:

The currently bound value
getBindValue
()

Get the value current bound.

public boolean
public void
setBindValue(T
The bind value
value
)

Sets the parameter binding value.

public void
setBindValue(T
The bind value
value
,
Type
The explicit Type to use
clarifiedType
)

Sets the parameter binding value using the explicit Type.

public void
setBindValue(T
The bind value
value
,
TemporalType
The temporal type to use
clarifiedTemporalType
)

Sets the parameter binding value using the explicit TemporalType.

Method Detail

getBindTypeback to summary
public Type getBindType()

Get the Type currently associated with this binding.

Returns:Type

The currently associated Type

getBindValueback to summary
public T getBindValue()

Get the value current bound.

Returns:T

The currently bound value

isBoundback to summary
public boolean isBound()
setBindValueback to summary
public void setBindValue(T value)

Sets the parameter binding value. The inherent parameter type (if known) is assumed

Parameters
value:T

The bind value

setBindValueback to summary
public void setBindValue(T value, Type clarifiedType)

Sets the parameter binding value using the explicit Type.

Parameters
value:T

The bind value

clarifiedType:Type

The explicit Type to use

setBindValueback to summary
public void setBindValue(T value, TemporalType clarifiedTemporalType)

Sets the parameter binding value using the explicit TemporalType.

Parameters
value:T

The bind value

clarifiedTemporalType:TemporalType

The temporal type to use