Class TransitionModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.TransitionModel
- All Implemented Interfaces:
Model
Model support for transitions.
A path from this state to another state triggered by an event. Transitions may execute one or more actions. All transition actions must execute successfully for the transition itself to complete. If no transition target is specified, the transition acts as a simple event handler and does not change the state of the flow.
- Author:
- Scott Andrews
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.getBind()
getOn()
getTo()
boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
setActions
(LinkedList<AbstractActionModel> actions) void
setAttributes
(LinkedList<AttributeModel> attributes) void
void
setHistory
(String history) void
void
setOnException
(String onException) void
setSecured
(SecuredModel secured) void
void
setValidate
(String validate) void
setValidationHints
(String validationHints)
-
Constructor Details
-
TransitionModel
public TransitionModel()Create a transition model
-
-
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
-
getOn
- Returns:
- the on
-
setOn
- Parameters:
on
- the on to set
-
getOnException
- Returns:
- the on exception
-
setOnException
- Parameters:
onException
- the on exception to set
-
getTo
- Returns:
- the to
-
setTo
- Parameters:
to
- the to to set
-
getBind
- Returns:
- the bind
-
setBind
- Parameters:
bind
- the bind to set
-
getValidate
- Returns:
- the validate
-
setValidate
- Parameters:
validate
- the validate to set
-
getValidationHints
- Returns:
- the validation hints
-
setValidationHints
- Parameters:
validationHints
- the validation hints expression to set
-
getHistory
- Returns:
- the history
-
setHistory
- Parameters:
history
- the history to set
-
getAttributes
- Returns:
- the attributes
-
setAttributes
- Parameters:
attributes
- the attributes to set
-
getSecured
- Returns:
- the secured
-
setSecured
- Parameters:
secured
- the secured to set
-
getActions
- Returns:
- the actions
-
setActions
- Parameters:
actions
- the actions to set
-