public class QueryParameterBindingImpl<T> extends 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,
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()
QueryParameterBinding
getBindValue
in interface QueryParameterBinding<T>
public Type getBindType()
QueryParameterBinding
getBindType
in interface QueryParameterBinding<T>
public void setBindValue(T value)
QueryParameterBinding
setBindValue
in interface QueryParameterBinding<T>
value
- The bind valuepublic void setBindValue(T value, Type clarifiedType)
QueryParameterBinding
setBindValue
in interface QueryParameterBinding<T>
value
- The bind valueclarifiedType
- The explicit Type to usepublic void setBindValue(T value, TemporalType clarifiedTemporalType)
QueryParameterBinding
setBindValue
in interface QueryParameterBinding<T>
value
- The bind valueclarifiedTemporalType
- The temporal type to useCopyright © 2019 JBoss by Red Hat. All rights reserved.