org.apache.struts2.interceptor

## Interface ScopedModelDriven<T>

- All Superinterfaces:
    ModelDriven<T>
  All Known Subinterfaces:
    ScopedModelDriven<T>

      public interface ScopedModelDriven<T>
      extends ModelDriven<T>

  Adds the ability to set a model, probably retrieved from a given state.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getScopeKey()`
    `void` | `setModel(T model)`
    `void` | `setScopeKey(String key)` Sets the key under which the model is stored

    - ### Methods inherited from interface org.apache.struts2.ModelDriven

      `getModel`

- - ### Method Detail

    - #### setModel

          void setModel(T model)

      Parameters:
        `model` - sets the model

    - #### setScopeKey

          void setScopeKey(String key)

      Sets the key under which the model is stored
      Parameters:
        `key` - The model key

    - #### getScopeKey

          String getScopeKey()

      Returns:
        the key under which the model is stored

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.