public void validate ( ) { fireBeforeValidation ( ) ; errors = new Errors ( ) ; List < Validator > validators = modelRegistryLocal . validators ( ) ; if ( validators != null ) { for ( Validator validator : validators ) { validator . validate ( this ) ; } } fireAfterValidation ( ) ; }
Executes all validators attached to this model .