Package no.acntech.kollectiveq
Class Filter.Condition.ConditionGroup
-
- All Implemented Interfaces:
public final class Filter.Condition.ConditionGroup extends Filter.Condition
Representation of a condition group that combines multiple conditions with a logical AND or OR.
-
-
Field Summary
Fields Modifier and Type Field Description private final Filter.Operator
operator
private final List<Filter.Condition>
conditions
-
Constructor Summary
Constructors Constructor Description Filter.Condition.ConditionGroup(Filter.Operator operator, List<Filter.Condition> conditions)
-
Method Summary
Modifier and Type Method Description final Filter.Operator
getOperator()
final List<Filter.Condition>
getConditions()
final Filter.Condition.ConditionGroup
addCondition(Filter.Condition condition)
-
-
Constructor Detail
-
Filter.Condition.ConditionGroup
Filter.Condition.ConditionGroup(Filter.Operator operator, List<Filter.Condition> conditions)
- Parameters:
operator
- The logical operator used to combine the conditions (AND
orOR
).conditions
- The list of conditions to be combined together.
-
-
Method Detail
-
getOperator
final Filter.Operator getOperator()
-
getConditions
final List<Filter.Condition> getConditions()
-
addCondition
final Filter.Condition.ConditionGroup addCondition(Filter.Condition condition)
-
-
-
-