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 boolean
equals(Object o)
ParameterMode
getMode()
Retrieves the parameter "mode".String
getName()
Class<T>
getParameterType()
Integer
getPosition()
int
hashCode()
JdbcCallParameterRegistration
toJdbcParameterRegistration(int startIndex, ProcedureCallImplementor<?> procedureCall)
NamedCallableQueryMemento.ParameterMemento
toMemento()
String
toString()
-
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:
getPosition
in interfaceParameter<T>
- Overrides:
getPosition
in classAbstractQueryParameter<T>
-
getMode
public ParameterMode getMode()
Description copied from interface:ProcedureParameter
Retrieves the parameter "mode". Only really pertinent in regards to procedure/function calls. In all other cases the mode would beParameterMode.IN
- Specified by:
getMode
in interfaceProcedureParameter<T>
- Returns:
- The parameter mode.
-
getParameterType
public Class<T> getParameterType()
- Specified by:
getParameterType
in interfaceParameter<T>
- Overrides:
getParameterType
in classAbstractQueryParameter<T>
-
toMemento
public NamedCallableQueryMemento.ParameterMemento toMemento()
- Specified by:
toMemento
in interfaceQueryParameterImplementor<T>
-
toJdbcParameterRegistration
public JdbcCallParameterRegistration toJdbcParameterRegistration(int startIndex, ProcedureCallImplementor<?> procedureCall)
- Specified by:
toJdbcParameterRegistration
in interfaceProcedureParameterImplementor<T>
-
-