Top Fields Constructors Methods
org.hibernate.query.internal

public Class QueryParameterListBindingImpl<T>

extends Object
implements QueryParameterListBinding<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.spi.QueryParameterListBinding
Imports
java.util.Collection, javax.persistence.TemporalType, org.hibernate.query.spi.QueryParameterBindingValidator, .QueryParameterListBinding, org.hibernate.type.Type

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Type
private Collection<T>
private final boolean

Constructor Summary

AccessConstructor and Description
public
QueryParameterListBindingImpl(Type type, boolean isBindingValidationRequired)

Method Summary

Modifier and TypeMethod and Description
private void
bindValue(Collection<T> bindValues)

public Type
getBindType()

Implements org.hibernate.query.spi.QueryParameterListBinding.getBindType.

Get the Type currently associated with this binding.
public Collection<T>
public void
setBindValues(Collection<T>
The bind values
bindValues
)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding values.
public void
setBindValues(Collection<T>
The bind values
values
,
Type
The explicit Type to use
clarifiedType
)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding values using the explicit Type in regards to the individual values.
public void
setBindValues(Collection<T>
The bind values
values
,
TemporalType
The temporal type to use
clarifiedTemporalType
)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding value using the explicit TemporalType in regards to the individual values.
private void
validate(Collection<T> value)

private void
validate(Collection<T> value, Type clarifiedType)

private void
validate(Collection<T> value, TemporalType clarifiedTemporalType)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindTypeback to summary
private Type bindType
bindValuesback to summary
private Collection<T> bindValues
isBindingValidationRequiredback to summary
private final boolean isBindingValidationRequired

Constructor Detail

QueryParameterListBindingImplback to summary
public QueryParameterListBindingImpl(Type type, boolean isBindingValidationRequired)

Method Detail

bindValueback to summary
private void bindValue(Collection<T> bindValues)
getBindTypeback to summary
public Type getBindType()

Implements org.hibernate.query.spi.QueryParameterListBinding.getBindType.

Doc from org.hibernate.query.spi.QueryParameterListBinding.getBindType.

Get the Type currently associated with this binding.

Returns:Type

The currently associated Type

Annotations
@Override
getBindValuesback to summary
public Collection<T> getBindValues()

Implements org.hibernate.query.spi.QueryParameterListBinding.getBindValues.

Doc from org.hibernate.query.spi.QueryParameterListBinding.getBindValues.

Get the values currently bound.

Returns:Collection<T>

The currently bound values

Annotations
@Override
setBindValuesback to summary
public void setBindValues(Collection<T> bindValues)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Doc from org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding values. The inherent parameter type (if known) is assumed in regards to the individual values.

Parameters
bindValues:Collection<T>

The bind values

Annotations
@Override
setBindValuesback to summary
public void setBindValues(Collection<T> values, Type clarifiedType)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Doc from org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding values using the explicit Type in regards to the individual values.

Parameters
values:Collection<T>

The bind values

clarifiedType:Type

The explicit Type to use

Annotations
@Override
setBindValuesback to summary
public void setBindValues(Collection<T> values, TemporalType clarifiedTemporalType)

Implements org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Doc from org.hibernate.query.spi.QueryParameterListBinding.setBindValues.

Sets the parameter binding value using the explicit TemporalType in regards to the individual values.

Parameters
values:Collection<T>

The bind values

clarifiedTemporalType:TemporalType

The temporal type to use

Annotations
@Override
validateback to summary
private void validate(Collection<T> value)
validateback to summary
private void validate(Collection<T> value, Type clarifiedType)
validateback to summary
private void validate(Collection<T> value, TemporalType clarifiedTemporalType)