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
-
Method Details
-
validateChanges
@CheckForNull Collection<ModelValidationResult> validateChanges(Collection<Element> changedElements) - Parameters:
changedElements
- changed elements in the model.- Returns:
- errors if changes are invalid and not allowed.
-