类 PositionalParameterInformationImpl
- java.lang.Object
-
- org.hibernate.hql.internal.ast.PositionalParameterInformationImpl
-
public class PositionalParameterInformationImpl extends Object implements PositionalParameterInformation
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 PositionalParameterInformationImpl(int label, Type initialType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddSourceLocation(int location)TypegetExpectedType()intgetLabel()int[]getSourceLocations()The positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc).voidsetExpectedType(Type expectedType)
-
-
-
构造器详细资料
-
PositionalParameterInformationImpl
public PositionalParameterInformationImpl(int label, Type initialType)
-
-
方法详细资料
-
getLabel
public int getLabel()
- 指定者:
getLabel在接口中PositionalParameterInformation
-
getSourceLocations
public int[] getSourceLocations()
从接口复制的说明:ParameterInformationThe positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc). E.g., given a query like `.. where a.name = :name or a.nickName = :name` this would return `[0,1]`- 指定者:
getSourceLocations在接口中ParameterInformation
-
getExpectedType
public Type getExpectedType()
- 指定者:
getExpectedType在接口中ParameterInformation
-
setExpectedType
public void setExpectedType(Type expectedType)
- 指定者:
setExpectedType在接口中ParameterInformation
-
addSourceLocation
public void addSourceLocation(int location)
- 指定者:
addSourceLocation在接口中ParameterInformation
-
-