org.hibernate.engine.query
Class ParameterMetadata
java.lang.Object
org.hibernate.engine.query.ParameterMetadata
- All Implemented Interfaces:
- Serializable
public class ParameterMetadata
- extends Object
- implements Serializable
Encapsulates metadata about parameters encountered within a query.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterMetadata
public ParameterMetadata(OrdinalParameterDescriptor[] ordinalDescriptors,
Map namedDescriptorMap)
- Instantiates a ParameterMetadata container.
- Parameters:
ordinalDescriptors
- namedDescriptorMap
-
getOrdinalParameterCount
public int getOrdinalParameterCount()
getOrdinalParameterDescriptor
public OrdinalParameterDescriptor getOrdinalParameterDescriptor(int position)
getOrdinalParameterExpectedType
public Type getOrdinalParameterExpectedType(int position)
getOrdinalParameterSourceLocation
public int getOrdinalParameterSourceLocation(int position)
getNamedParameterNames
public Set getNamedParameterNames()
getNamedParameterDescriptor
public NamedParameterDescriptor getNamedParameterDescriptor(String name)
getNamedParameterExpectedType
public Type getNamedParameterExpectedType(String name)
getNamedParameterSourceLocations
public int[] getNamedParameterSourceLocations(String name)