boon/src/main/java/org/boon/validation/RecursiveDescentPropertyValidator.java
private void applyValidationMetaDataPropertiesToValidator(
            ValidatorMetaData metaData, FieldValidator validator ) {
        Map<String, Object> properties = metaData.getProperties();
        ifPropertyBlankRemove( properties, "detailMessage" );
        ifPropertyBlankRemove( properties, "summaryMessage" );

        BeanUtils.copyProperties( validator,
                properties );
    }
private void applyValidationMetaDataPropertiesToValidator(
            ValidatorMetaData metaData, FieldValidator validator ) {
        Map<String, Object> properties = metaData.getProperties();
        ifPropertyBlankRemove( properties, "detailMessage" );
        ifPropertyBlankRemove( properties, "summaryMessage" );

        BeanUtils.copyProperties( validator,
                properties );
    }
private void applyValidationMetaDataPropertiesToValidator ( ValidatorMetaData metaData , FieldValidator validator ) { Map < String , Object > properties = metaData . getProperties ( ) ; ifPropertyBlankRemove ( properties , "detailMessage" ) ; ifPropertyBlankRemove ( properties , "summaryMessage" ) ; BeanUtils . copyProperties ( validator , properties ) ; }
This method applies the properties from the validationMetaData to the
validator uses Spring's BeanWrapperImpl.

@param metaData  validation meta data
@param validator field validator
This method applies the properties from the validationMetaData to the validator uses Spring s BeanWrapperImpl .