public final class Not extends QueryExpression
Not class is a composite dynamic query expression that
inverts the match result of its nested query expression.| Constructor and Description |
|---|
Not(QueryExpression expr)
Create a
Not query expression. |
| Modifier and Type | Method and Description |
|---|---|
QueryExpression |
getExpression()
Get the query expression who's match result will be inverted by this
Not
query expression. |
protected void |
toString(StringBuffer buf)
Get a string representation for this query expression.
|
toStringpublic Not(QueryExpression expr)
Not query expression.expr - the query expression who's match result will be inverted
by this Not expression.NullPointerException - if expr is null.public QueryExpression getExpression()
Not
query expression.protected void toString(StringBuffer buf)
QueryExpressiontoString in class QueryExpressionbuf - a string buffer the string representation should be appended to.