org.qi4j.api.query.grammar

## Class AssociationNotNullSpecification<T>

- java.lang.Object
- - org.qi4j.api.query.grammar.ExpressionSpecification
  - - org.qi4j.api.query.grammar.AssociationNotNullSpecification<T>

- All Implemented Interfaces:
    Specification<Composite>

      public class AssociationNotNullSpecification<T>
      extends ExpressionSpecification

  Association not null Specification.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AssociationNotNullSpecification(AssociationFunction<T> association)`

  - ### Method Summary

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

    - ### Methods inherited from class org.qi4j.api.query.grammar.ExpressionSpecification

      `and, or`

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

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

- - ### Constructor Detail

    - #### AssociationNotNullSpecification

          public AssociationNotNullSpecification(AssociationFunction<T> association)

  - ### Method Detail

    - #### association

          public AssociationFunction<T> association()

    - #### satisfiedBy

          public boolean satisfiedBy(Composite item)

      Description copied from interface: `Specification`
      Test whether an item matches the given specification
      Parameters:
        `item` - the item to be tested
      Returns:
        true if the item matches, false otherwise

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`