Interface IValidationMessage

All Known Implementing Classes:
ValidationMessage

public interface IValidationMessage
This interface represents the result of a single (failed) validation action.
Since:
5.0
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns a text explaining the validation failure.
    This method returns the name of the validation rule that failed.
    boolean
    This method returns a boolean indicating if the failure is considered an error.
    boolean
    This method returns a boolean indicating if the failure is considered a warning.
  • Method Details

    • getValidationName

      String getValidationName()
      This method returns the name of the validation rule that failed.
      Returns:
      the name of the validation rule that failed.
    • isError

      boolean isError()
      This method returns a boolean indicating if the failure is considered an error.
      Returns:
      boolean indicating if the failure is considered an error.
    • isWarning

      boolean isWarning()
      This method returns a boolean indicating if the failure is considered a warning.
      Returns:
      boolean indicating if the failure is considered a warning.
    • getText

      This method returns a text explaining the validation failure.
      Returns:
      text explaining the validation failure.