org.springframework.webflow.engine.model
Class SetModel

java.lang.Object
  extended by org.springframework.webflow.engine.model.AbstractModel
      extended by org.springframework.webflow.engine.model.AbstractActionModel
          extended by 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

Constructor Summary
SetModel(String name, String value)
          Create a set action model
 
Method Summary
 Model createCopy()
          Create a deep copy of this model.
 String getName()
           
 String getType()
           
 String getValue()
           
 void setName(String name)
           
 void setType(String type)
           
 void setValue(String value)
           
 
Methods inherited from class org.springframework.webflow.engine.model.AbstractActionModel
getAttributes, isMergeableWith, merge, setAttributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetModel

public SetModel(String name,
                String value)
Create a set action model

Parameters:
name - the name of the property to set
value - the value to set
Method Detail

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