javax.slee.profile.query
Class Not

java.lang.Object
  extended by javax.slee.profile.query.QueryExpression
      extended by javax.slee.profile.query.Not
All Implemented Interfaces:
java.io.Serializable

public final class Not
extends QueryExpression

The Not class is a composite dynamic query expression that inverts the match result of its nested query expression.

See Also:
Serialized Form

Constructor Summary
Not(QueryExpression expr)
          Create a Not query expression.
 
Method Summary
 QueryExpression getExpression()
          Get the query expression who's match result will be inverted by this Not query expression.
protected  void toString(java.lang.StringBuffer buf)
          Get a string representation for this query expression.
 
Methods inherited from class javax.slee.profile.query.QueryExpression
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Not

public Not(QueryExpression expr)
Create a Not query expression.

Parameters:
expr - the query expression who's match result will be inverted by this Not expression.
Throws:
java.lang.NullPointerException - if expr is null.
Method Detail

getExpression

public QueryExpression getExpression()
Get the query expression who's match result will be inverted by this Not query expression.

Returns:
the nested query expression.

toString

protected void toString(java.lang.StringBuffer buf)
Description copied from class: QueryExpression
Get a string representation for this query expression.

Specified by:
toString in class QueryExpression
Parameters:
buf - a string buffer the string representation should be appended to.


Copyright © 2008. All Rights Reserved.