Package com.enonic.xp.context

## Interface MutableAttributes

- All Superinterfaces:
    `ScopeAttributes`
  All Known Subinterfaces:
    `LocalScope`, `Session`
  All Known Implementing Classes:
    `SessionMock`, `SimpleSession`

      @PublicApi
      public interface MutableAttributes
      extends ScopeAttributes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> void` | `removeAttribute​(Class<T> type)` |
    `void` | `removeAttribute​(String key)` |
    `void` | `setAttribute​(String key, Object value)` |
    `<T> void` | `setAttribute​(T value)` |

    - ### Methods inherited from interface com.enonic.xp.context.ScopeAttributes

      `getAttribute, getAttribute, getAttributes`

- - ### Method Detail

    - #### setAttribute

          void setAttribute​(String key,
                            Object value)

    - #### setAttribute

          <T> void setAttribute​(T value)

    - #### removeAttribute

          void removeAttribute​(String key)

    - #### removeAttribute

          <T> void removeAttribute​(Class<T> type)