Class ActionStateModel

All Implemented Interfaces:
Model

public class ActionStateModel extends AbstractTransitionableStateModel
Model support for action states.
Author:
Scott Andrews
  • Constructor Details

    • ActionStateModel

      public ActionStateModel(String id)
      Create an action 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
    • getActions

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

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