org.qi4j.api.association

## Interface AssociationDescriptor

- All Superinterfaces:
    MetaInfoHolder

      public interface AssociationDescriptor
      extends MetaInfoHolder

  Association Descriptor.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AccessibleObject` | `accessor()`
    `boolean` | `isAggregated()`
    `boolean` | `isImmutable()`
    `QualifiedName` | `qualifiedName()` Get the qualified name of the association.
    `boolean` | `queryable()`
    `Type` | `type()` Get the type of the associated Entities

    - ### Methods inherited from interface org.qi4j.api.structure.MetaInfoHolder

      `metaInfo`

- - ### Method Detail

    - #### qualifiedName

          QualifiedName qualifiedName()

      Get the qualified name of the association. This is constructed by concatenating the name of the declaring interface with the name of the method, using ":" as separator.

      Example:

      com.somecompany.MyInterface with association method

           Association<String> someAssociation();

      will have the qualified name:

           com.somecompany.MyInterface:someAssociation

      Returns:
        the qualified name of the association

    - #### type

          Type type()

      Get the type of the associated Entities
      Returns:
        the type of the associated Entities

    - #### isImmutable

          boolean isImmutable()

    - #### isAggregated

          boolean isAggregated()

    - #### accessor

          AccessibleObject accessor()

    - #### queryable

          boolean queryable()