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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.booleanisMergeableWith(Model model) Determine if the model is able to be merged into the current modelvoidMerge the model into the current modelvoidsetInputs(LinkedList<InputModel> inputs) voidsetOutputs(LinkedList<OutputModel> outputs) voidsetSubflow(String subflow) voidsetSubflowAttributeMapper(String subflowAttributeMapper) Methods inherited from class org.springframework.webflow.engine.model.AbstractTransitionableStateModel
fillCopy, getOnExitActions, getTransitions, setOnExitActions, setTransitionsMethods 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:ModelDetermine 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:ModelMerge the model into the current model- Parameters:
model- the model to merge with
-
createCopy
Description copied from interface:ModelCreate 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
-