Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`NotQueryExp()` Empty constructor
`NotQueryExp(QueryExp q)` Constructs a not query of the input QueryExp.

Method Summary
`boolean` | `apply(CIMElement obj)` Applies the expression to the input 'row'
`QueryExp` | `getNegatedExp()` Accessor for the expression to be negated.
`java.lang.String` | `toString()` Returns the WQL string form.

Methods inherited from class com.sun.wbem.query.QueryExp
`canonizeCOD, canonizeDOC`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### 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.

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD