org.sql.generation.api.grammar.booleans
Interface BinaryPredicate

All Superinterfaces:
BooleanExpression, Predicate, org.atp.api.Typeable<ValueExpression>, ValueExpression
All Known Subinterfaces:
EqualsPredicate, GreaterOrEqualPredicate, GreaterThanPredicate, LessOrEqualPredicate, LessThanPredicate, LikePredicate, NotEqualsPredicate, NotLikePredicate, NotRegexpPredicate, RegexpPredicate

public interface BinaryPredicate
extends Predicate

A common interface for all boolean expressions taking two value expressions and having some operator between them.

Author:
Stanislav Muhametsin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.Predicate
Predicate.EmptyPredicate
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.BooleanExpression
BooleanExpression.False, BooleanExpression.True
 
Method Summary
 NonBooleanExpression getLeft()
          Returns the expression on the left side of the operator.
 NonBooleanExpression getRight()
          Returns the expression on the right side of the operator.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Method Detail

getLeft

NonBooleanExpression getLeft()
Returns the expression on the left side of the operator.

Returns:
The expression on the left side of the operator.

getRight

NonBooleanExpression getRight()
Returns the expression on the right side of the operator.

Returns:
The expression on the right side of the operator.


Copyright © 2010-2011. All Rights Reserved.