Package com.nomagic.uml2.transaction
Interface InvalidModelHandler
- 
public interface InvalidModelHandlerFixes invalid model. All fixes must be done in transaction. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInvalidModelHandler.Result 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvalidModelHandler.ResulthandleInvalidElements(java.util.Collection<ModelValidationResult> elements)Fixes given validation problems. 
 - 
 
- 
- 
Method Detail
- 
handleInvalidElements
InvalidModelHandler.Result handleInvalidElements(java.util.Collection<ModelValidationResult> elements)
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.
 
 
 - 
 
 -