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 TypeMethodDescriptionCreate a deep copy of this model.boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current model
-
Method Details
-
isMergeableWith
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
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
-