站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

AbstractCriterion (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.expression
Class AbstractCriterion

java.lang.Object
  extended bynet.sf.hibernate.expression.AbstractCriterion
All Implemented Interfaces:
Criterion
Direct Known Subclasses:
BetweenExpression, Example, IlikeExpression, InExpression, Junction, LogicalExpression, NotExpression, NotNullExpression, NullExpression, PropertyExpression, SimpleExpression, SQLCriterion

public abstract class AbstractCriterion
extends Object
implements Criterion

Base class for Criterion implementations

Author:
Gavin King

Constructor Summary
AbstractCriterion()
           
 
Method Summary
protected static String[] getColumns(SessionFactoryImplementor sessionFactory, Class persistentClass, String property, String alias, Map aliasClasses)
           
protected static Type getType(SessionFactoryImplementor sessionFactory, Class persistentClass, String property, Map aliasClasses)
           
protected static TypedValue getTypedValue(SessionFactoryImplementor sessionFactory, Class persistentClass, String property, Object value, Map aliasClasses)
          Get the a typed value for the given property value.
abstract  String toString()
          For cosmetic purposes only!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.hibernate.expression.Criterion
getTypedValues, toSqlString
 

Constructor Detail

AbstractCriterion

public AbstractCriterion()
Method Detail

toString

public abstract String toString()
For cosmetic purposes only!

See Also:
Object.toString()

getColumns

protected static String[] getColumns(SessionFactoryImplementor sessionFactory,
                                     Class persistentClass,
                                     String property,
                                     String alias,
                                     Map aliasClasses)
                              throws HibernateException
Throws:
HibernateException

getType

protected static Type getType(SessionFactoryImplementor sessionFactory,
                              Class persistentClass,
                              String property,
                              Map aliasClasses)
                       throws HibernateException
Throws:
HibernateException

getTypedValue

protected static TypedValue getTypedValue(SessionFactoryImplementor sessionFactory,
                                          Class persistentClass,
                                          String property,
                                          Object value,
                                          Map aliasClasses)
                                   throws HibernateException
Get the a typed value for the given property value.

Throws:
HibernateException