public class CompoundPredicate extends Predicate implements HasExtensions<CompoundPredicate>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompoundPredicate.BooleanOperator |
| Constructor and Description |
|---|
CompoundPredicate() |
CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator,
List<Predicate> predicates) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
CompoundPredicate |
addExtensions(Extension... extensions) |
CompoundPredicate |
addPredicates(Predicate... predicates) |
CompoundPredicate.BooleanOperator |
getBooleanOperator() |
List<Extension> |
getExtensions() |
List<Predicate> |
getPredicates() |
boolean |
hasExtensions() |
boolean |
hasPredicates() |
CompoundPredicate.BooleanOperator |
requireBooleanOperator() |
List<Predicate> |
requirePredicates() |
CompoundPredicate |
setBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator) |
getLocator, hasLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic CompoundPredicate()
public CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator, List<Predicate> predicates)
public CompoundPredicate.BooleanOperator requireBooleanOperator()
public CompoundPredicate.BooleanOperator getBooleanOperator()
public CompoundPredicate setBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator)
public boolean hasExtensions()
hasExtensions in interface HasExtensions<CompoundPredicate>public List<Extension> getExtensions()
getExtensions in interface HasExtensions<CompoundPredicate>public CompoundPredicate addExtensions(Extension... extensions)
addExtensions in interface HasExtensions<CompoundPredicate>public boolean hasPredicates()
public CompoundPredicate addPredicates(Predicate... predicates)
public VisitorAction accept(Visitor visitor)
Copyright © 2022. All rights reserved.