Package org.hibernate.engine.query.spi
Class NamedParameterDescriptor<T>
java.lang.Object
org.hibernate.engine.query.spi.AbstractParameterDescriptor<T>
org.hibernate.engine.query.spi.NamedParameterDescriptor<T>
- All Implemented Interfaces:
Parameter<T>,QueryParameter<T>
Descriptor regarding a named parameter.
- Author:
- Steve Ebersole
-
Constructor Summary
ConstructorsConstructorDescriptionNamedParameterDescriptor(String name, BindableType<T> expectedType, int[] sourceLocations) Constructs a NamedParameterDescriptor -
Method Summary
Methods inherited from class org.hibernate.engine.query.spi.AbstractParameterDescriptor
allowsMultiValuedBinding, getExpectedType, getHibernateType, getParameterType, getPosition, resetExpectedType
-
Constructor Details
-
NamedParameterDescriptor
Constructs a NamedParameterDescriptor- Parameters:
name- The name of the parameterexpectedType- The expected type of the parameter, according to the translatorsourceLocations- The locations of the named parameters (aye aye aye)
-
-
Method Details
-
getName
Description copied from interface:ParameterReturn the parameter name, or null if the parameter is not a named parameter or no name has been assigned. -
equals
-
hashCode
public int hashCode()
-