Spring Web Flow

org.springframework.webflow.engine.model
Class DecisionStateModel

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

public class DecisionStateModel
extends AbstractStateModel

Model support for decision states.

Author:
Scott Andrews

Constructor Summary
DecisionStateModel(java.lang.String id)
          Create a decision state model
 
Method Summary
 Model createCopy()
          Create a deep copy of this model.
 java.util.LinkedList<IfModel> getIfs()
           
 java.util.LinkedList<AbstractActionModel> getOnExitActions()
           
 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
 void setIfs(java.util.LinkedList<IfModel> ifs)
           
 void setOnExitActions(java.util.LinkedList<AbstractActionModel> onExitActions)
           
 
Methods inherited from class org.springframework.webflow.engine.model.AbstractStateModel
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
 
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

DecisionStateModel

public DecisionStateModel(java.lang.String id)
Create a decision state model

Parameters:
id - the state identifier
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

getIfs

public java.util.LinkedList<IfModel> getIfs()
Returns:
the ifs

setIfs

public void setIfs(java.util.LinkedList<IfModel> ifs)
Parameters:
ifs - the ifs to set

getOnExitActions

public java.util.LinkedList<AbstractActionModel> getOnExitActions()
Returns:
the on exit actions

setOnExitActions

public void setOnExitActions(java.util.LinkedList<AbstractActionModel> onExitActions)
Parameters:
onExitActions - the on exit actions to set

Spring Web Flow