org.qi4j.api.property

## Interface StateHolder

- All Known Subinterfaces:
    AssociationStateHolder

      public interface StateHolder

  This represents the state of a composite (properties).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<? extends Property<?>>` | `properties()`
    `<T> Property<T>` | `propertyFor(AccessibleObject accessor)` Get a property for a specific accessor

- - ### Method Detail

    - #### propertyFor

          <T> Property<T> propertyFor(AccessibleObject accessor)
                                  throws IllegalArgumentException

      Get a property for a specific accessor
      Parameters:
        `accessor` - of the property
      Returns:
        the property
      Throws:
        `IllegalArgumentException` - if no property for given accessor exists

    - #### properties

          Iterable<? extends Property<?>> properties()