Interface ValidationResult

All Known Implementing Classes:
DataDictionaryValidatorImpl.ValidationContext

public interface ValidationResult
  • Method Details

    • isValid

      boolean isValid()
    • isInvalid

      default boolean isInvalid()
    • toFormattedMessage

      String toFormattedMessage()
    • getErrorTranslations

      default List<Map<String,Object>> getErrorTranslations()
      Returns a list of validation error translations. Each entry in the list corresponds to a validation error, and contains a map of locale code to translated message. The frontend uses this to display error messages in the user's locale.