Interface ValidationResult
- All Known Implementing Classes:
DataDictionaryValidatorImpl.ValidationContext
public interface ValidationResult
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of validation error translations.default booleanbooleanisValid()
-
Method Details
-
isValid
boolean isValid() -
isInvalid
default boolean isInvalid() -
toFormattedMessage
String toFormattedMessage() -
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.
-