类 NamedParameterInformationImpl
- java.lang.Object
-
- org.hibernate.hql.internal.ast.NamedParameterInformationImpl
-
- 所有已实现的接口:
NamedParameterInformation,ParameterInformation
public class NamedParameterInformationImpl extends Object implements NamedParameterInformation
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddSourceLocation(int position)TypegetExpectedType()int[]getSourceLocations()The positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc).StringgetSourceName()voidsetExpectedType(Type expectedType)
-
-
-
方法详细资料
-
getSourceName
public String getSourceName()
- 指定者:
getSourceName在接口中NamedParameterInformation
-
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
-
addSourceLocation
public void addSourceLocation(int position)
- 指定者:
addSourceLocation在接口中ParameterInformation
-
setExpectedType
public void setExpectedType(Type expectedType)
- 指定者:
setExpectedType在接口中ParameterInformation
-
-