Interface Model

All Known Implementing Classes:
AbstractActionModel, AbstractMappingModel, AbstractModel, AbstractStateModel, AbstractTransitionableStateModel, ActionStateModel, AttributeModel, BeanImportModel, BinderModel, BindingModel, DecisionStateModel, EndStateModel, EvaluateModel, ExceptionHandlerModel, FlowModel, IfModel, InputModel, OutputModel, PersistenceContextModel, RenderModel, SecuredModel, SetModel, SubflowStateModel, TransitionModel, VarModel, ViewStateModel

public interface Model
Interface defining models. All models must be able to handle merging of their content with an eligible model.
Author:
Scott Andrews
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a deep copy of this model.
    boolean
    Determine if the model is able to be merged into the current model
    void
    merge(Model model)
    Merge the model into the current model
  • Method Details

    • isMergeableWith

      boolean isMergeableWith(Model 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

      void merge(Model model)
      Merge the model into the current model
      Parameters:
      model - the model to merge with
    • createCopy

      Model createCopy()
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model