Interface MultiFormValidationReport

All Superinterfaces:
Serializable

public interface MultiFormValidationReport extends Serializable
A validation report container for multiple language-focused forms.
Since:
5.0.4
  • Method Details

    • isValid

      boolean isValid()
      Indicates the validated element to be valid and no reports being generated.
      Returns:
      true, if valid.
      Since:
      5.0.4
    • getLanguages

      @Deprecated @NotNull @NotNull Collection<Language> getLanguages()
      Deprecated.
      since 5.0.311, use getLanguages(SpecialistsBroker) instead.
      Provides the languages being reported containing problems, not including meta data problems.

      Note: Will be empty, when being serialized.

      Returns:
      The languages containing problematic entries.
      Since:
      5.0.4
    • getLanguages

      @NotNull @NotNull Collection<Language> getLanguages(SpecialistsBroker broker)
      Provides the languages being reported containing problems, not including meta data problems.
      Parameters:
      broker - A broker to resolve available languages.
      Returns:
      The languages containing problematic entries.
      Since:
      5.0.311
    • getProblems

      @Nullable @Nullable FormValidationReport getProblems(Language language)
      Gives a report for the specified language.
      Parameters:
      language - The language to look up.
      Returns:
      The specific report or null, if no report exists for the language.
      Since:
      5.0.4
    • getProblemsForMetaData

      @Nullable @Nullable FormValidationReport getProblemsForMetaData()
      Gives a report for the meta data.
      Returns:
      The specific report or null, if no report exists for the meta data.
      Since:
      5.0.4