org.qi4j.api.injection.scope

## Annotation Type State

-     @Retention(value=RUNTIME)
      @Target(value={FIELD,PARAMETER})
      @Documented
      @InjectionScope
      public @interface State

  Annotation to denote the injection of a property, association or StateHolder.

       @State Property<StringState propertyName;
       @State Association<MyEntityState associationName;
       @State ManyAssociation<MyEntityState manyAssociationName;
       @State NamedAssociation<MyEntityState namedAssociationName;
       @State StateHolder state;
       @State AssociationStateHolder associationState;

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `value` Name of the property or association.

- - ### Element Detail

    - #### value

          public abstract String value

      Name of the property or association. If not set then name will be name of field.
      Returns:
        the name
      Default:
        ""