@SuppressWarnings("unchecked") public boolean isValid(Object object) { try { return validator.isValid(object); } catch(Exception e) { throw new RuntimeException(e); } }
@SuppressWarnings("unchecked") public Tuple<String, Object[]> getErrorMessageKey() { Tuple<String, Object[]> errorMessageKey = null; try { errorMessageKey = validator.getErrorMessageKey(); } catch(Exception e) { throw new RuntimeException(e); } return (errorMessageKey != null) ? errorMessageKey : Tuple(defaultMessage, new Object[] {}); }
@SuppressWarnings("unchecked") public boolean isValid(Object object) { try { return validator.isValid(object); } catch(Exception e) { throw new RuntimeException(e); } }
@SuppressWarnings("unchecked") public boolean isValid(Object object) { try { return validator.isValid(object); } catch(Exception e) { throw new RuntimeException(e); } }
/** * @param object the object to check * @param constraintContext The JSR-303 validation context. * @return {@code true} if this value is valid for the given constraint. */ public boolean isValid(T object, ConstraintValidatorContext constraintContext) { return isValid(object); }
/** * Returns <code>true</code> if this value is valid for the given constraint. * * @param constraintContext The JSR-303 validation context. */ public boolean isValid(T object, ConstraintValidatorContext constraintContext) { return isValid(object); }
/** * @param object the object to check * @param constraintContext The JSR-303 validation context. * @return {@code true} if this value is valid for the given constraint. */ public boolean isValid(T object, ConstraintValidatorContext constraintContext) { return isValid(object); }
public boolean isValid(Object object) { try { return validator.isValid(object); } catch(Exception e) { throw new RuntimeException(e); } }
/** * @param object the object to check * @param constraintContext The JSR-303 validation context. * @return {@code true} if this value is valid for the given constraint. */ public boolean isValid(T object, ConstraintValidatorContext constraintContext) { return isValid(object); }
@SuppressWarnings("unchecked") public Tuple<String, Object[]> getErrorMessageKey() { Tuple<String, Object[]> errorMessageKey = null; try { errorMessageKey = validator.getErrorMessageKey(); } catch(Exception e) { throw new RuntimeException(e); } return (errorMessageKey != null) ? errorMessageKey : Tuple(defaultMessage, new Object[] {}); }
/** * Returns <code>true</code> if this value is valid for the given constraint. * * @param constraintContext The JSR-303 validation context. */ public boolean isValid(T object, ConstraintValidatorContext constraintContext) { return isValid(object); }
@SuppressWarnings("unchecked") public Tuple<String, Object[]> getErrorMessageKey() { Tuple<String, Object[]> errorMessageKey = null; try { errorMessageKey = validator.getErrorMessageKey(); } catch(Exception e) { throw new RuntimeException(e); } return (errorMessageKey != null) ? errorMessageKey : Tuple(defaultMessage, new Object[] {}); }
@SuppressWarnings("unchecked") public boolean isValid(Object object) { try { return validator.isValid(object); } catch(Exception e) { throw new RuntimeException(e); } }
@SuppressWarnings("unchecked") public Tuple<String, Object[]> getErrorMessageKey() { Tuple<String, Object[]> errorMessageKey = null; try { errorMessageKey = validator.getErrorMessageKey(); } catch(Exception e) { throw new RuntimeException(e); } return (errorMessageKey != null) ? errorMessageKey : Tuple(defaultMessage, new Object[] {}); }