public class QueryParameterBindingImpl<T> extends java.lang.Object implements QueryParameterBinding<T>
| Constructor and Description |
|---|
QueryParameterBindingImpl(Type type,
QueryParameterBindingTypeResolver typeResolver,
boolean isBindingValidationRequired) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getBindType()
Get the Type currently associated with this binding.
|
T |
getBindValue()
Get the value current bound.
|
boolean |
isBound() |
void |
setBindValue(T value)
Sets the parameter binding value.
|
void |
setBindValue(T value,
javax.persistence.TemporalType clarifiedTemporalType)
Sets the parameter binding value using the explicit TemporalType.
|
void |
setBindValue(T value,
Type clarifiedType)
Sets the parameter binding value using the explicit Type.
|
public QueryParameterBindingImpl(Type type, QueryParameterBindingTypeResolver typeResolver, boolean isBindingValidationRequired)
public boolean isBound()
isBound in interface QueryParameterBinding<T>public T getBindValue()
QueryParameterBindinggetBindValue in interface QueryParameterBinding<T>public Type getBindType()
QueryParameterBindinggetBindType in interface QueryParameterBinding<T>public void setBindValue(T value)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valuepublic void setBindValue(T value, Type clarifiedType)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valueclarifiedType - The explicit Type to usepublic void setBindValue(T value, javax.persistence.TemporalType clarifiedTemporalType)
QueryParameterBindingsetBindValue in interface QueryParameterBinding<T>value - The bind valueclarifiedTemporalType - The temporal type to useCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.