类 AbstractParameterDescriptor
- java.lang.Object
-
- org.hibernate.engine.query.spi.AbstractParameterDescriptor
-
- 所有已实现的接口:
javax.persistence.Parameter,QueryParameter
public abstract class AbstractParameterDescriptor extends Object implements QueryParameter
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractParameterDescriptor(int[] sourceLocations, Type expectedType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetExpectedType()TypegetHibernateType()Get the Hibernate Type associated with this parameter.StringgetName()ClassgetParameterType()IntegergetPosition()int[]getSourceLocations()voidresetExpectedType(Type expectedType)
-
-
-
构造器详细资料
-
AbstractParameterDescriptor
public AbstractParameterDescriptor(int[] sourceLocations, Type expectedType)
-
-
方法详细资料
-
getName
public String getName()
- 指定者:
getName在接口中javax.persistence.Parameter
-
getPosition
public Integer getPosition()
- 指定者:
getPosition在接口中javax.persistence.Parameter
-
getParameterType
public Class getParameterType()
- 指定者:
getParameterType在接口中javax.persistence.Parameter
-
getHibernateType
public Type getHibernateType()
从接口复制的说明:QueryParameterGet the Hibernate Type associated with this parameter.- 指定者:
getHibernateType在接口中QueryParameter- 返回:
- The Hibernate Type.
-
getSourceLocations
public int[] getSourceLocations()
- 指定者:
getSourceLocations在接口中QueryParameter
-
getExpectedType
public Type getExpectedType()
-
resetExpectedType
public void resetExpectedType(Type expectedType)
-
-