org.springframework.webflow.engine.model
Class SetModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.AbstractActionModel
org.springframework.webflow.engine.model.SetModel
- All Implemented Interfaces:
- Model
public class SetModel
- extends AbstractActionModel
Model support for set actions.
Sets an attribute value in a scope.
- Author:
- Scott Andrews
SetModel
public SetModel(String name,
String value)
- Create a set action model
- Parameters:
name
- the name of the property to setvalue
- the value to set
createCopy
public Model createCopy()
- Description copied from interface:
Model
- Create a deep copy of this model. Needed when merging models and collections.
- Returns:
- a deep copy of this model
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getValue
public String getValue()
- Returns:
- the value
setValue
public void setValue(String value)
- Parameters:
value
- the value to set
getType
public String getType()
- Returns:
- the type
setType
public void setType(String type)
- Parameters:
type
- the type to set