org.qi4j.api.query.grammar
Interface BooleanExpression

All Known Subinterfaces:
AssociationIsNotNullPredicate, AssociationIsNullPredicate, AssociationNullPredicate, ComparisonPredicate<T>, Conjunction, ContainsAllPredicate<T,C>, ContainsPredicate<T,C>, Disjunction, EqualsPredicate<T>, GreaterOrEqualPredicate<T>, GreaterThanPredicate<T>, LessOrEqualPredicate<T>, LessThanPredicate<T>, ManyAssociationContainsPredicate<T>, MatchesPredicate, NamedQueryExpression, Negation, NotEqualsPredicate<T>, Predicate, PropertyIsNotNullPredicate<T>, PropertyIsNullPredicate<T>, PropertyNullPredicate<T>

public interface BooleanExpression

JAVADOC Add JavaDoc


Method Summary
 boolean eval(Object target)
          Evaluates the boolean expression agains a target object (composite?)
 

Method Detail

eval

boolean eval(Object target)
Evaluates the boolean expression agains a target object (composite?)

Parameters:
target - target object
Returns:
true if boolean expression evaluates to TRUE for the target object