org.qi4j.api.query.grammar

## Class NotSpecification

- java.lang.Object
- - org.qi4j.api.query.grammar.NotSpecification

- All Implemented Interfaces:
    Specification<Composite>

      public class NotSpecification
      extends Object
      implements Specification<Composite>

  NOT Specification.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NotSpecification(Specification<Composite> operand)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Specification<Composite>` | `operand()`
    `boolean` | `satisfiedBy(Composite item)` Test whether an item matches the given specification
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NotSpecification

          public NotSpecification(Specification<Composite> operand)

  - ### Method Detail

    - #### operand

          public Specification<Composite> operand()

    - #### satisfiedBy

          public boolean satisfiedBy(Composite item)

      Description copied from interface: `Specification`
      Test whether an item matches the given specification
      Specified by:
        `satisfiedBy` in interface `Specification<Composite>`
      Parameters:
        `item` - the item to be tested
      Returns:
        true if the item matches, false otherwise

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`