com.opensymphony.xwork2.interceptor
Interface ScopedModelDriven<T>

All Superinterfaces:
ModelDriven<T>

public interface ScopedModelDriven<T>
extends ModelDriven<T>

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


Method Summary
 java.lang.String getScopeKey()
          Gets the key under which the model is stored
 void setModel(T model)
          Sets the model
 void setScopeKey(java.lang.String key)
          Sets the key under which the model is stored
 
Methods inherited from interface com.opensymphony.xwork2.ModelDriven
getModel
 

Method Detail

setModel

void setModel(T model)
Sets the model


setScopeKey

void setScopeKey(java.lang.String key)
Sets the key under which the model is stored

Parameters:
key - The model key

getScopeKey

java.lang.String getScopeKey()
Gets the key under which the model is stored



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.