org.hibernate.hql.ast.util

Class ASTUtil.IncludePredicate

Enclosing Class:
ASTUtil
Implemented Interfaces:
ASTUtil.FilterPredicate

public static abstract class ASTUtil.IncludePredicate
extends java.lang.Object
implements ASTUtil.FilterPredicate

A predicate that uses inclusion, rather than exclusion semantics.

Method Summary

boolean
exclude(AST node)
Returns true if the node should be filtered out.
abstract boolean
include(AST node)

Method Details

exclude

public final boolean exclude(AST node)
Returns true if the node should be filtered out.
Specified by:
exclude in interface ASTUtil.FilterPredicate
Parameters:
Returns:
true if the node should be filtered out, false to keep the node.

include

public abstract boolean include(AST node)