public static class BeanValidator.NoOpBeanValidator extends UpdatingValidator.NoOpValidator implements BeanValidator
BeanValidator.NoOpBeanValidator
UpdatingValidator.NoOpValidator<T>, UpdatingValidator.NullObjectIfNulledUpdatingValidator, UpdatingValidator.PropertyUpdateAction
CLASS_VERSION, NO_OP_BEAN_VALIDATOR
CLASS_VERSION, NO_OP
Constructor and Description |
---|
NoOpBeanValidator() |
Modifier and Type | Method and Description |
---|---|
void |
updateBean(java.lang.Object pSource,
java.lang.Object pTarget,
ValidatorContext<?> pContext)
Update the target bean with properties from pSource.
|
void |
validateBean(java.lang.Object pBean,
ValidatorContext<?> pContext)
Validate the specified bean.
|
getWrappedValidator, keyMustBePresent, setWrappedValidator, updateBeanValue, validateBeanProperty, validateValue
assertAlphanumeric, assertBoolean, assertDateTime, assertDouble, assertInstanceOf, assertInteger, assertLong, assertNotBlankString, assertNotEmpty, assertNotEmpty, assertNotNull, assertNotNull, assertString, assertString, assertString, createInstance, getBeanPropertyValueForValidation, getErrorCode, getNameForClass, getPropertyNames, getPropertyValue, getPropertyValue, hasProperty, isDigits, isRequired, setErrorCode, setPropertyValue
public void validateBean(java.lang.Object pBean, ValidatorContext<?> pContext)
BeanValidator
validateBean
in interface BeanValidator
pBean
- the bean to validatepContext
- the validator context to which any validation
errors will be added.public void updateBean(java.lang.Object pSource, java.lang.Object pTarget, ValidatorContext<?> pContext)
BeanValidator
updateBean
in interface BeanValidator
pSource
- the source beanpTarget
- the target beanpContext
- the validator context.