public interface Validator<T>
Note that the class Validators
provides many built-in validators to perform common tasks.
boolean validate(Problems problems, java.lang.String compName, T model)
problems
- A list of problems.compName
- The name of the component in question (may be null in some cases)model
- The model in question