code: private void applyPoolConfiguration(PoolConfiguration pc,
                                         org.ironjacamar.common.api.metadata.common.Validation v)
     {
        if (v != null)
        {
           if (v.isValidateOnMatch() != null)
              pc.setValidateOnMatch(v.isValidateOnMatch().booleanValue());
  
           if (v.isBackgroundValidation() != null)
              pc.setBackgroundValidation(v.isBackgroundValidation().booleanValue());
  
           if (v.getBackgroundValidationMillis() != null)
              pc.setBackgroundValidationMillis(v.getBackgroundValidationMillis().longValue());
  
           if (v.isUseFastFail() != null)
              pc.setUseFastFail(v.isUseFastFail().booleanValue());
        }
     }
docs: Apply validation to pool configuration
  @param pc The pool configuration
  @param v The validation definition