org.hibernate.criterion

Class SizeExpression

Implemented Interfaces:
Criterion, Serializable

public class SizeExpression
extends java.lang.Object
implements Criterion

Author:
Gavin King

Constructor Summary

SizeExpression(String propertyName, int size, String op)

Method Summary

TypedValue[]
getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
String
toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
String
toString()

Constructor Details

SizeExpression

protected SizeExpression(String propertyName,
                         int size,
                         String op)

Method Details

getTypedValues

public TypedValue[] getTypedValues(Criteria criteria,
                                   CriteriaQuery criteriaQuery)
            throws HibernateException
Specified by:
getTypedValues in interface Criterion

toSqlString

public String toSqlString(Criteria criteria,
                          CriteriaQuery criteriaQuery)
            throws HibernateException
Specified by:
toSqlString in interface Criterion

toString

public String toString()