Predicates that should be combined into one
Operator that is used to combine the predicates
whether the predicate should be initially displayed or not
whether the individual sub predicates are wrapped in brackets when a textual representation is generated
Protected_bracketwhether the individual sub predicates are wrapped in brackets when a textual representation is generated
Protected_filterProtected_operatorOperator that is used to combine the predicates
Protected_predicatesStores the Predicates that this Predicate combines.
Protected_queryStores the resulting query of this Predicate.
Protected_visiblewhether the Predicate should be displayed, or not
Protectedqueriesthe Array of Query objects stored within this object's [_predicates]ClausePredicate#_predicates attribute.
the Predicate that should be added to the clause
the index of the added Predicate, that can be used to remove it. Note that removing predicates with a lower index shifts the order of indices.
an Array containing text segments representing the content of this predicate. The default implementation returns an empty array.
Removes the Predicate at the given index from this clause and updates this Predicate's Query.
If the index is invalid does nothing.
index of the Predicate in this clause that should be removed
whether a predicate was removed, or not
ProtectedupdateUpdates the value of the [_query]ClausePredicate#_query attribute.
See [combineQueries()]Query#combineQueries for more information.
StaticcombineCombines the text segments of the predicates with the given operator and wraps the individual predicates in brackets optionaly
sources of text segments that are to be combined with a boolean operator
boolean operator used to combine the individual predicate text segments
whether the individual predicate text segments should be wrapped in braces or not (if only one predicate is provided it is never wrapped)
Represents a clause of Predicates combined with a BooleanOperator.