Class DecisionStateModel

All Implemented Interfaces:
Model

public class DecisionStateModel extends AbstractStateModel
Model support for decision states.
Author:
Scott Andrews
  • Constructor Details

    • DecisionStateModel

      public DecisionStateModel(String id)
      Create a decision state model
      Parameters:
      id - the state identifier
  • 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
    • getIfs

      public LinkedList<IfModel> getIfs()
      Returns:
      the ifs
    • setIfs

      public void setIfs(LinkedList<IfModel> ifs)
      Parameters:
      ifs - the ifs to set
    • getOnExitActions

      public LinkedList<AbstractActionModel> getOnExitActions()
      Returns:
      the on exit actions
    • setOnExitActions

      public void setOnExitActions(LinkedList<AbstractActionModel> onExitActions)
      Parameters:
      onExitActions - the on exit actions to set