Top Description Fields Constructors Methods
org.hibernate.criterion

public Class NotEmptyExpression

extends AbstractEmptinessExpression
implements Criterion
Class Inheritance
All Implemented Interfaces
org.hibernate.criterion.Criterion, java.io.Serializable

An expression asserting that a collection property is empty
Author
Gavin King

Field Summary

Inherited from org.hibernate.criterion.AbstractEmptinessExpression:
propertyName

Constructor Summary

AccessConstructor and Description
protected
NotEmptyExpression(String
The collection property name
propertyName
)

Constructs an EmptyExpression

Method Summary

Modifier and TypeMethod and Description
protected boolean
excludeEmpty()

Implements abstract org.hibernate.criterion.AbstractEmptinessExpression.excludeEmpty.

Should empty rows be excluded?
Inherited from org.hibernate.criterion.AbstractEmptinessExpression:
getQueryableCollectiongetTypedValuestoSqlStringtoString

Constructor Detail

NotEmptyExpressionback to summary
protected NotEmptyExpression(String propertyName)

Constructs an EmptyExpression

Parameters
propertyName:String

The collection property name

See Also
Restrictions#isNotEmpty

Method Detail

excludeEmptyback to summary
protected boolean excludeEmpty()

Implements abstract org.hibernate.criterion.AbstractEmptinessExpression.excludeEmpty.

Doc from org.hibernate.criterion.AbstractEmptinessExpression.excludeEmpty.

Should empty rows be excluded?

Returns:boolean

true Indicates the expression should 'exists'; false indicates 'not exists'

Annotations
@Override