Package com.nomagic.uml2.transaction
Interface ModelValidator
-
public interface ModelValidator
Checks if model changes are allowed and model state after changes are consistent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ModelValidationResult>
validateChanges(java.util.Collection<Element> changedElements)
-
-
-
Method Detail
-
validateChanges
@CheckForNull java.util.Collection<ModelValidationResult> validateChanges(java.util.Collection<Element> changedElements)
- Parameters:
changedElements
- changed elements in the model.- Returns:
- errors if changes are invalid and not allowed.
-
-