Package org.hibernate.procedure.internal
Class ProcedureParameterImpl<T>
- java.lang.Object
-
- org.hibernate.query.spi.AbstractQueryParameter<T>
-
- org.hibernate.procedure.internal.ProcedureParameterImpl<T>
-
- All Implemented Interfaces:
Parameter<T>,ProcedureParameterImplementor<T>,ProcedureParameter<T>,QueryParameter<T>,QueryParameterImplementor<T>
public class ProcedureParameterImpl<T> extends AbstractQueryParameter<T> implements ProcedureParameterImplementor<T>
-
-
Constructor Summary
Constructors Constructor Description ProcedureParameterImpl(Integer position, ParameterMode mode, Class<T> javaType, BindableType<T> hibernateType)ProcedureParameterImpl(String name, ParameterMode mode, Class<T> javaType, BindableType<T> hibernateType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ParameterModegetMode()Retrieves the parameter "mode".StringgetName()Class<T>getParameterType()IntegergetPosition()inthashCode()JdbcCallParameterRegistrationtoJdbcParameterRegistration(int startIndex, ProcedureCallImplementor<?> procedureCall)NamedCallableQueryMemento.ParameterMementotoMemento()StringtoString()-
Methods inherited from class org.hibernate.query.spi.AbstractQueryParameter
allowsMultiValuedBinding, applyAnticipatedType, disallowMultiValuedBinding, getHibernateType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.QueryParameter
allowsMultiValuedBinding, getHibernateType
-
Methods inherited from interface org.hibernate.query.spi.QueryParameterImplementor
applyAnticipatedType, disallowMultiValuedBinding
-
-
-
-
Constructor Detail
-
ProcedureParameterImpl
public ProcedureParameterImpl(String name, ParameterMode mode, Class<T> javaType, BindableType<T> hibernateType)
-
ProcedureParameterImpl
public ProcedureParameterImpl(Integer position, ParameterMode mode, Class<T> javaType, BindableType<T> hibernateType)
-
-
Method Detail
-
getName
public String getName()
-
getPosition
public Integer getPosition()
- Specified by:
getPositionin interfaceParameter<T>- Overrides:
getPositionin classAbstractQueryParameter<T>
-
getMode
public ParameterMode getMode()
Description copied from interface:ProcedureParameterRetrieves the parameter "mode". Only really pertinent in regards to procedure/function calls. In all other cases the mode would beParameterMode.IN- Specified by:
getModein interfaceProcedureParameter<T>- Returns:
- The parameter mode.
-
getParameterType
public Class<T> getParameterType()
- Specified by:
getParameterTypein interfaceParameter<T>- Overrides:
getParameterTypein classAbstractQueryParameter<T>
-
toMemento
public NamedCallableQueryMemento.ParameterMemento toMemento()
- Specified by:
toMementoin interfaceQueryParameterImplementor<T>
-
toJdbcParameterRegistration
public JdbcCallParameterRegistration toJdbcParameterRegistration(int startIndex, ProcedureCallImplementor<?> procedureCall)
- Specified by:
toJdbcParameterRegistrationin interfaceProcedureParameterImplementor<T>
-
-