public abstract class AbstractVetoingConstraint extends AbstractConstraint implements VetoingConstraint
classShortName, constraintOwningClass, constraintParameter, constraintPropertyName, messageSource
EXCEEDED_SUFFIX, INVALID_SUFFIX, NOT_PREFIX, NOTMET_SUFFIX, TOOBIG_SUFFIX, TOOLONG_SUFFIX, TOOSHORT_SUFFIX, TOOSMALL_SUFFIX
Constructor and Description |
---|
AbstractVetoingConstraint() |
Modifier and Type | Method and Description |
---|---|
protected void |
processValidate(Object target,
Object propertyValue,
Errors errors) |
protected abstract boolean |
processValidateWithVetoing(Object target,
Object propertyValue,
Errors errors) |
boolean |
validateWithVetoing(Object target,
Object propertyValue,
Errors errors) |
checkState, getDefaultMessage, getParameter, getPropertyName, isValid, rejectValue, rejectValue, rejectValue, rejectValue, rejectValue, rejectValueWithDefaultMessage, setMessageSource, setOwningClass, setParameter, setPropertyName, skipBlankValues, skipNullValues, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getParameter, getPropertyName, isValid, setMessageSource, setOwningClass, setParameter, setPropertyName, supports, validate
public boolean validateWithVetoing(@Nonnull Object target, @Nullable Object propertyValue, @Nonnull Errors errors)
validateWithVetoing
in interface VetoingConstraint
protected void processValidate(@Nonnull Object target, @Nullable Object propertyValue, @Nonnull Errors errors)
processValidate
in class AbstractConstraint