类 AbstractParameterInformation
- java.lang.Object
-
- org.hibernate.hql.internal.classic.AbstractParameterInformation
-
- 所有已实现的接口:
ParameterInformation,ParameterBinder
public abstract class AbstractParameterInformation extends Object implements ParameterInformation, ParameterBinder
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractParameterInformation()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddSourceLocation(int position)TypegetExpectedType()int[]getSourceLocations()The positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc).voidsetExpectedType(Type expectedType)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.param.ParameterBinder
bind
-
-
-
-
方法详细资料
-
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
-
addSourceLocation
public void addSourceLocation(int position)
- 指定者:
addSourceLocation在接口中ParameterInformation
-
getExpectedType
public Type getExpectedType()
- 指定者:
getExpectedType在接口中ParameterInformation
-
setExpectedType
public void setExpectedType(Type expectedType)
- 指定者:
setExpectedType在接口中ParameterInformation
-
-