01: package nl.knowlogy.validation;
02:
03: /**
04: * Interface that indicates that a javabeans exposes, in addition
05: * to the default defined ,extra programmatic validations.
06: * validates.
07: *
08: * @author roho
09: *
10: */
11: public interface ExposesValidates {
12:
13: /**
14: * Do the extra validates.
15: *
16: * Validates the object. Validation errors are added to the errors object.
17: *
18: * @param errors container for the validation errors.
19: */
20: void internalValidate(Messages messages);
21: }
|