|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BooleanBuilder
A builder-pattern interface to build boolean expressions. It holds the current expression, modifying it as per user's
instructions, and returns it once the AbstractBuilder.createExpression() method is called.
| Method Summary | |
|---|---|
BooleanBuilder |
and(BooleanExpression next)
Sets current expression as current expression AND next. |
BooleanBuilder |
not()
Sets current expression as NOT current expression. |
BooleanBuilder |
or(BooleanExpression next)
Sets current expression as current expression OR next |
BooleanBuilder |
reset(BooleanExpression newExpression)
Sets current expression as given parameter. |
| Methods inherited from interface org.sql.generation.api.grammar.builders.AbstractBuilder |
|---|
createExpression |
| Method Detail |
|---|
BooleanBuilder and(BooleanExpression next)
AND next.
next - The expression on a right hand of AND.
BooleanBuilder or(BooleanExpression next)
OR next
next - The expression on a right hand of OR
BooleanBuilder not()
NOT current expression.
BooleanBuilder reset(BooleanExpression newExpression)
newExpression - The new expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||