Package com.nomagic.uml2.transaction
Interface InvalidModelHandler
public interface InvalidModelHandler
Fixes invalid model. All fixes must be done in transaction.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleInvalidElements
(Collection<ModelValidationResult> elements) Fixes given validation problems.
-
Method Details
-
handleInvalidElements
Fixes given validation problems.- Parameters:
elements
-- Returns:
- result of fixing. If fixing was done by modifying model Result.FIXED should be return. If undo must be done Result.ROLLBACK_TRANSACTION must be return, in case of failure Result.UNABLE_TO_FIX must be return.
-