Interface Validator<T>

Type Parameters:
T - Specifies the type of the model to be validated.
All Known Implementing Classes:
FSValidators

public interface Validator<T>
This interface is used for defining validators that perform validation on specific models.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(Problems problems, String compName, T model)
    This method validates the given model and populates the provided `Problems` object with any validation issues.
  • Method Details

    • validate

      boolean validate(Problems problems, String compName, T model)
      This method validates the given model and populates the provided `Problems` object with any validation issues.
      Parameters:
      problems - Specifies the `Problems` object to store validation problems.
      compName - Specifies the name or identifier of the component being validated.
      model - Specifies the model to be validated.
      Returns:
      true, if validation succeeded without problems, false otherwise.