com.sun.wbem.query
Class NotQueryExp
java.lang.Object
|
+--com.sun.wbem.query.QueryExp
|
+--com.sun.wbem.query.NotQueryExp
- public class NotQueryExp
- extends QueryExp
Represents a NotQuery. Negation of relational expressions.
! query
- Since:
- WBEM 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
NotQueryExp
public NotQueryExp()
- Empty constructor
NotQueryExp
public NotQueryExp(QueryExp q)
- Constructs a not query of the input QueryExp.
- Parameters:
q
- is the QueryExp to be negated.
getNegatedExp
public QueryExp getNegatedExp()
- Accessor for the expression to be negated.
apply
public boolean apply(CIMElement obj)
throws CIMException
- Applies the expression to the input 'row'
- Overrides:
- apply in class QueryExp
- Returns:
- true if the the expression satisfied, false otherwise.
toString
public java.lang.String toString()
- Returns the WQL string form.
- Overrides:
- toString in class java.lang.Object