Package com.jk.core.validation
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
-
Method Details
-
validate
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.
-