if(op != null) {
String validatorType = StringUtils.stripToNull(op.getValidatorType());
logger.trace("validatorType: " + validatorType);
if(validatorType != null) {
IObjectPropertyValidator validator = objectPropertyValidatorListener.getValidator(validatorType);
logger.trace("validator: " + validator);
if(validator != null) {
logger.debug("invoking validator: " + validator);
ObjectPropertyValidationResult result = new ObjectPropertyValidationResult();
validator.validate(op, proposedValue, result);
return result;
}
}
}