org.springframework.webflow.engine.model
Class OutputModel

java.lang.Object
  extended by org.springframework.webflow.engine.model.AbstractModel
      extended by org.springframework.webflow.engine.model.AbstractMappingModel
          extended by org.springframework.webflow.engine.model.OutputModel
All Implemented Interfaces:
Model

public class OutputModel
extends AbstractMappingModel

Model support for output mappings.

Maps a single output attribute out of this flow or subflow.

Author:
Scott Andrews

Constructor Summary
OutputModel(java.lang.String name, java.lang.String value)
          Create an output mapping model
 
Method Summary
 Model createCopy()
          Create a deep copy of this model.
 boolean isMergeableWith(Model model)
          Determine if the model is able to be merged into the current model
 void merge(Model model)
          Merge the model into the current model
 
Methods inherited from class org.springframework.webflow.engine.model.AbstractMappingModel
fillCopy, getName, getRequired, getType, getValue, setName, setRequired, setType, setValue
 
Methods inherited from class org.springframework.webflow.engine.model.AbstractModel
copy, copyList, merge, merge, merge, merge, merge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputModel

public OutputModel(java.lang.String name,
                   java.lang.String value)
Create an output mapping model

Parameters:
name - the name of the mapping variable
value - the value to map
Method Detail

isMergeableWith

public boolean isMergeableWith(Model model)
Description copied from interface: Model
Determine if the model is able to be merged into the current model

Parameters:
model - the model to compare
Returns:
true if able to merge

merge

public void merge(Model model)
Description copied from interface: Model
Merge the model into the current model

Parameters:
model - the model to merge with

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