Interface ModelValidator


  • public interface ModelValidator
    Checks if model changes are allowed and model state after changes are consistent.
    • 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.