- All Known Subinterfaces:
MediaConditionFactory
- All Known Implementing Classes:
SupportsConditionFactory
public interface BooleanConditionFactory
Factory interface for boolean conditions.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreate a boolean condition of theand
type.Create a boolean condition of thenot
type.Create a boolean condition of the given type (and
,or
,not
).createPredicate
(String name) Create a predicate (operand) condition.
-
Method Details
-
createAndCondition
BooleanCondition createAndCondition()Create a boolean condition of theand
type.- Returns:
- the condition.
-
createOrCondition
BooleanCondition createOrCondition()Create a boolean condition of the given type (and
,or
,not
).- Returns:
- the condition.
-
createNotCondition
BooleanCondition createNotCondition()Create a boolean condition of thenot
type.- Returns:
- the condition.
-
createPredicate
Create a predicate (operand) condition.- Parameters:
name
- the name of the property or feature involved in the predicate.- Returns:
- the condition.
-