public abstract class AbstractQueryParameter<T> extends Object implements QueryParameterImplementor<T>
| Constructor and Description |
|---|
AbstractQueryParameter(boolean allowMultiValuedBinding,
AllowableParameterType<T> anticipatedType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsMultiValuedBinding()
Does this parameter allow multi-valued (collection, array, etc) binding?
This is only valid for HQL/JPQL and (I think) Criteria queries, and is
determined based on the context of the parameters declaration.
|
void |
applyAnticipatedType(AllowableParameterType type) |
void |
disallowMultiValuedBinding() |
AllowableParameterType<T> |
getHibernateType()
Get the Hibernate Type associated with this parameter, if one.
|
String |
getName() |
Class<T> |
getParameterType() |
Integer |
getPosition() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoMementopublic AbstractQueryParameter(boolean allowMultiValuedBinding,
AllowableParameterType<T> anticipatedType)
public void disallowMultiValuedBinding()
disallowMultiValuedBinding in interface QueryParameterImplementor<T>public boolean allowsMultiValuedBinding()
QueryParameterallowsMultiValuedBinding in interface QueryParameter<T>true indicates that multi-valued binding is allowed for this
parameterpublic AllowableParameterType<T> getHibernateType()
QueryParameternull.getHibernateType in interface QueryParameter<T>null.public void applyAnticipatedType(AllowableParameterType type)
applyAnticipatedType in interface QueryParameterImplementor<T>public Integer getPosition()
getPosition in interface Parameter<T>public Class<T> getParameterType()
getParameterType in interface Parameter<T>Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.