public class TransitionModel extends AbstractModel
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.
Constructor and Description |
---|
TransitionModel()
Create a transition model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.util.LinkedList<AbstractActionModel> |
getActions() |
java.util.LinkedList<AttributeModel> |
getAttributes() |
java.lang.String |
getBind() |
java.lang.String |
getHistory() |
java.lang.String |
getOn() |
java.lang.String |
getOnException() |
SecuredModel |
getSecured() |
java.lang.String |
getTo() |
java.lang.String |
getValidate() |
java.lang.String |
getValidationHints() |
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 |
setActions(java.util.LinkedList<AbstractActionModel> actions) |
void |
setAttributes(java.util.LinkedList<AttributeModel> attributes) |
void |
setBind(java.lang.String bind) |
void |
setHistory(java.lang.String history) |
void |
setOn(java.lang.String on) |
void |
setOnException(java.lang.String onException) |
void |
setSecured(SecuredModel secured) |
void |
setTo(java.lang.String to) |
void |
setValidate(java.lang.String validate) |
void |
setValidationHints(java.lang.String validationHints) |
public boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getOn()
public void setOn(java.lang.String on)
on
- the on to setpublic java.lang.String getOnException()
public void setOnException(java.lang.String onException)
onException
- the on exception to setpublic java.lang.String getTo()
public void setTo(java.lang.String to)
to
- the to to setpublic java.lang.String getBind()
public void setBind(java.lang.String bind)
bind
- the bind to setpublic java.lang.String getValidate()
public void setValidate(java.lang.String validate)
validate
- the validate to setpublic java.lang.String getValidationHints()
public void setValidationHints(java.lang.String validationHints)
validationHints
- the validation hints expression to setpublic java.lang.String getHistory()
public void setHistory(java.lang.String history)
history
- the history to setpublic java.util.LinkedList<AttributeModel> getAttributes()
public void setAttributes(java.util.LinkedList<AttributeModel> attributes)
attributes
- the attributes to setpublic SecuredModel getSecured()
public void setSecured(SecuredModel secured)
secured
- the secured to setpublic java.util.LinkedList<AbstractActionModel> getActions()
public void setActions(java.util.LinkedList<AbstractActionModel> actions)
actions
- the actions to set