public abstract class DefaultConditionBuilder extends Object implements ConditionBuilder
Condition objects; this class adds logical
operators to any class extending it.| Constructor and Description |
|---|
DefaultConditionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ConditionBuilder |
and(Condition condition)
|
ConditionBuilder |
andNot(Condition condition)
|
ConditionBuilder |
or(Condition condition)
Append a new
Condition to this builder. |
ConditionBuilder |
orNot(Condition condition)
Append a new
Condition to this builder. |
public ConditionBuilder and(Condition condition)
ConditionBuilderCondition to this builder, which must evaluate to true in order for this composite
Condition to evaluate to true.and in interface ConditionBuilderpublic ConditionBuilder andNot(Condition condition)
ConditionBuilderCondition to this builder, which must not evaluate to true in order for this composite
Condition to evaluate to true.andNot in interface ConditionBuilderpublic ConditionBuilder or(Condition condition)
ConditionBuilderCondition to this builder. If either this or the given Condition evaluate to true,
the composite Condition will evaluate to true.or in interface ConditionBuilderpublic ConditionBuilder orNot(Condition condition)
ConditionBuilderCondition to this builder. If either this evaluates to true or the given Condition
evaluates to false, the composite Condition will evaluate to true.orNot in interface ConditionBuilderCopyright © 2014 OCPsoft. All Rights Reserved.