org.springframework.webflow.engine.model
Class SubflowStateModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.AbstractStateModel
org.springframework.webflow.engine.model.AbstractTransitionableStateModel
org.springframework.webflow.engine.model.SubflowStateModel
- All Implemented Interfaces:
- Model
public class SubflowStateModel
- extends AbstractTransitionableStateModel
Model support for subflow states.
- Author:
- Scott Andrews
Constructor Summary |
SubflowStateModel(java.lang.String id,
java.lang.String subflow)
Create a subflow state model |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubflowStateModel
public SubflowStateModel(java.lang.String id,
java.lang.String subflow)
- Create a subflow state model
- Parameters:
id
- the identifier of the statesubflow
- the identifier of the flow to launch as a subflow
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
getSubflow
public java.lang.String getSubflow()
- Returns:
- the subflow
setSubflow
public void setSubflow(java.lang.String subflow)
- Parameters:
subflow
- the subflow to set
getSubflowAttributeMapper
public java.lang.String getSubflowAttributeMapper()
- Returns:
- the subflow attribute mapper
setSubflowAttributeMapper
public void setSubflowAttributeMapper(java.lang.String subflowAttributeMapper)
- Parameters:
subflowAttributeMapper
- the subflow attribute mapper to set
getInputs
public java.util.LinkedList<InputModel> getInputs()
- Returns:
- the input mappings
setInputs
public void setInputs(java.util.LinkedList<InputModel> inputs)
- Parameters:
inputs
- the input mappings to set
getOutputs
public java.util.LinkedList<OutputModel> getOutputs()
- Returns:
- the output mappings
setOutputs
public void setOutputs(java.util.LinkedList<OutputModel> outputs)
- Parameters:
outputs
- the output mappings to set