Class TransitionModel

java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.TransitionModel
All Implemented Interfaces:
Model

public class TransitionModel extends AbstractModel
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 Details

    • TransitionModel

      public TransitionModel()
      Create a transition model
  • Method Details

    • 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
    • getOn

      public String getOn()
      Returns:
      the on
    • setOn

      public void setOn(String on)
      Parameters:
      on - the on to set
    • getOnException

      public String getOnException()
      Returns:
      the on exception
    • setOnException

      public void setOnException(String onException)
      Parameters:
      onException - the on exception to set
    • getTo

      public String getTo()
      Returns:
      the to
    • setTo

      public void setTo(String to)
      Parameters:
      to - the to to set
    • getBind

      public String getBind()
      Returns:
      the bind
    • setBind

      public void setBind(String bind)
      Parameters:
      bind - the bind to set
    • getValidate

      public String getValidate()
      Returns:
      the validate
    • setValidate

      public void setValidate(String validate)
      Parameters:
      validate - the validate to set
    • getValidationHints

      public String getValidationHints()
      Returns:
      the validation hints
    • setValidationHints

      public void setValidationHints(String validationHints)
      Parameters:
      validationHints - the validation hints expression to set
    • getHistory

      public String getHistory()
      Returns:
      the history
    • setHistory

      public void setHistory(String history)
      Parameters:
      history - the history to set
    • getAttributes

      public LinkedList<AttributeModel> getAttributes()
      Returns:
      the attributes
    • setAttributes

      public void setAttributes(LinkedList<AttributeModel> attributes)
      Parameters:
      attributes - the attributes to set
    • getSecured

      public SecuredModel getSecured()
      Returns:
      the secured
    • setSecured

      public void setSecured(SecuredModel secured)
      Parameters:
      secured - the secured to set
    • getActions

      public LinkedList<AbstractActionModel> getActions()
      Returns:
      the actions
    • setActions

      public void setActions(LinkedList<AbstractActionModel> actions)
      Parameters:
      actions - the actions to set