org.qi4j.spi.entity

## Interface ManyAssociationState

- All Superinterfaces:
    Iterable<EntityReference>
  All Known Implementing Classes:
    DefaultManyAssociationState, JSONManyAssociationState

      public interface ManyAssociationState
      extends Iterable<EntityReference>

  State holder for ManyAssociations. The actual state can be eager-loaded or lazy-loaded. This is an implementation detail.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(int index, EntityReference entityReference)`
    `boolean` | `contains(EntityReference entityReference)`
    `int` | `count()`
    `EntityReference` | `get(int index)`
    `boolean` | `remove(EntityReference entityReference)`

    - ### Methods inherited from interface java.lang.Iterable

      `iterator`

- - ### Method Detail

    - #### count

          int count()

    - #### contains

          boolean contains(EntityReference entityReference)

    - #### add

          boolean add(int index,
                    EntityReference entityReference)

    - #### remove

          boolean remove(EntityReference entityReference)

    - #### get

          EntityReference get(int index)