|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.search.Predicate
oracle.webcenter.search.ComplexPredicate
public class ComplexPredicate
The Query Predicate is a logical grouping of the various criteria that comprise a Query. Through the Query Predicate, ANDing and ORing of the criteria can be specified. Moreover, nesting of Query Predicates is also possible.
Nested Class Summary | |
---|---|
static class |
ComplexPredicate.ConjunctionOp The operator to use to conjoin criteria together. |
Constructor Summary | |
---|---|
ComplexPredicate() Constructs an empty ComplexPredicate with a default conjunction operator of ConjunctionOp.And. |
|
ComplexPredicate(ComplexPredicate.ConjunctionOp conjunctionOp) Constructs a ComplexPredicate with the specified conjunction operator. |
|
ComplexPredicate(ComplexPredicate.ConjunctionOp conjunctionOp, Predicate... predicates) Constructs a ComplexPredicate with the specified conjunction operator and a list of Predicates as its children. |
Method Summary | |
---|---|
Predicate |
clonePredicate() Clones the ComplexPredicate so that consumers of it can directly manipulate the constituents of it. |
java.util.List<Predicate> |
getChildren() Gets a collection of child Predicate objects for this ComplexPredicate. |
ComplexPredicate.ConjunctionOp |
getConjunctionOperator() Gets the conjunction operator used by the ComplexPredicate. |
void |
setChildren(java.util.List<Predicate> children) Allows setting of the entire List of child Predicate objects. |
java.lang.String |
toString() A String representation of the ComplexPredicate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComplexPredicate()
public ComplexPredicate(ComplexPredicate.ConjunctionOp conjunctionOp)
conjunctionOp
- a ConjunctionOp that specifies either an ANDing or an ORing of all the Criteriapublic ComplexPredicate(ComplexPredicate.ConjunctionOp conjunctionOp, Predicate... predicates)
conjunctionOp
- a ConjunctionOp that specifies either an ANDing or an ORing of all the CriteriaMethod Detail |
---|
public ComplexPredicate.ConjunctionOp getConjunctionOperator()
public java.util.List<Predicate> getChildren()
public void setChildren(java.util.List<Predicate> children)
public java.lang.String toString()
toString
in class java.lang.Object
public Predicate clonePredicate()
clonePredicate
in class Predicate
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |