Top Description Fields Constructors Methods
org.hibernate.engine.query.spi

public Class OrdinalParameterDescriptor

extends AbstractParameterDescriptor
Class Inheritance
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.type.Type

Descriptor regarding an ordinal parameter.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
OrdinalParameterDescriptor(int label, int valuePosition, Type expectedType, int[] sourceLocations)

Constructs an ordinal parameter descriptor.

Method Summary

Modifier and TypeMethod and Description
public Integer
getPosition()

Overrides org.hibernate.engine.query.spi.AbstractParameterDescriptor.getPosition.

Implements javax.persistence.Parameter.getPosition.

Return the parameter position, or null if the parameter is not a positional parameter.
public int
Inherited from org.hibernate.engine.query.spi.AbstractParameterDescriptor:
getExpectedTypegetHibernateTypegetNamegetParameterTypegetSourceLocationsresetExpectedType

Field Detail

labelback to summary
private final int label
valuePositionback to summary
private final int valuePosition

Constructor Detail

OrdinalParameterDescriptorback to summary
public OrdinalParameterDescriptor(int label, int valuePosition, Type expectedType, int[] sourceLocations)

Constructs an ordinal parameter descriptor.

Method Detail

getPositionback to summary
public Integer getPosition()

Overrides org.hibernate.engine.query.spi.AbstractParameterDescriptor.getPosition.

Implements javax.persistence.Parameter.getPosition.

Doc from javax.persistence.Parameter.getPosition.

Return the parameter position, or null if the parameter is not a positional parameter.

Returns:Integer

position of parameter

Annotations
@Override
getValuePositionback to summary
public int getValuePosition()