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
Model support for subflow states.
- Author:
- Scott Andrews
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
setInputs
(LinkedList<InputModel> inputs) void
setOutputs
(LinkedList<OutputModel> outputs) void
setSubflow
(String subflow) void
setSubflowAttributeMapper
(String subflowAttributeMapper) Methods inherited from class org.springframework.webflow.engine.model.AbstractTransitionableStateModel
fillCopy, getOnExitActions, getTransitions, setOnExitActions, setTransitions
Methods inherited from class org.springframework.webflow.engine.model.AbstractStateModel
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
-
Constructor Details
-
SubflowStateModel
Create a subflow state model- Parameters:
id
- the identifier of the statesubflow
- the identifier of the flow to launch as a subflow
-
-
Method Details
-
isMergeableWith
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
Description copied from interface:Model
Merge the model into the current model- Parameters:
model
- the model to merge with
-
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
- Returns:
- the subflow
-
setSubflow
- Parameters:
subflow
- the subflow to set
-
getSubflowAttributeMapper
- Returns:
- the subflow attribute mapper
-
setSubflowAttributeMapper
- Parameters:
subflowAttributeMapper
- the subflow attribute mapper to set
-
getInputs
- Returns:
- the input mappings
-
setInputs
- Parameters:
inputs
- the input mappings to set
-
getOutputs
- Returns:
- the output mappings
-
setOutputs
- Parameters:
outputs
- the output mappings to set
-