public static class UpdatingValidator.NoOpValidator<T> extends Validators.ValidatorImpl<T> implements UpdatingValidator<T>, Validators.ValidatorWrapper<T>
UpdatingValidator.NoOpValidator<T>, UpdatingValidator.NullObjectIfNulledUpdatingValidator, UpdatingValidator.PropertyUpdateActionCLASS_VERSION, NO_OP| Constructor and Description | 
|---|
NoOpValidator()  | 
NoOpValidator(Validator<T> pValidator)  | 
| Modifier and Type | Method and Description | 
|---|---|
Validator<T> | 
getWrappedValidator()
Return the wrapped validator, if any. 
 | 
boolean | 
keyMustBePresent(ValidatorContext<?> pContext,
                java.lang.String pPropertyName,
                java.lang.Object pSource,
                java.lang.Object pTarget,
                boolean pIsBean)  | 
void | 
setWrappedValidator(Validator<T> pWrapped)
Set the inner validator to be wrapped. 
 | 
UpdatingValidator.PropertyUpdateAction | 
updateBeanValue(java.lang.String pPropertyName,
               java.lang.Object pSourceValue,
               java.lang.Object pTargetValue,
               ValidatorContext<?> pContext)
Typically invoked by  
ValidatorManager. | 
T | 
validateBeanProperty(java.lang.String pPropertyName,
                    java.lang.Object pBean,
                    ValidatorContext<?> pContext)
Validate a property of the bean pPropertyValue. 
 | 
T | 
validateValue(java.lang.String pPropertyName,
             java.lang.Object pPropertyValue,
             ValidatorContext<?> pContext)
Validate (and possibly convert) the specified property value. 
 | 
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, setPropertyValuepublic Validator<T> getWrappedValidator()
Validators.ValidatorWrappergetWrappedValidator in interface Validators.ValidatorWrapper<T>public void setWrappedValidator(Validator<T> pWrapped)
Validators.ValidatorWrappersetWrappedValidator in interface Validators.ValidatorWrapper<T>pWrapped - the validator to be wrapped.public T validateBeanProperty(java.lang.String pPropertyName, java.lang.Object pBean, ValidatorContext<?> pContext)
Validators.ValidatorImplvalidateBeanProperty in interface Validator<T>validateBeanProperty in class Validators.ValidatorImpl<T>pPropertyName - the property of pBean to validatepBean - the bean to fetch pPropertyName from and validatepContext - the current validation context.public T validateValue(java.lang.String pPropertyName, java.lang.Object pPropertyValue, ValidatorContext<?> pContext)
ValidatorvalidateValue in interface Validator<T>validateValue in class Validators.ValidatorImpl<T>pPropertyName - the name of the property being validated. This
   is typically used as a key for fetching the value from pProperties.pPropertyValue - the fetched property valuepContext - the current validation context.public UpdatingValidator.PropertyUpdateAction updateBeanValue(java.lang.String pPropertyName, java.lang.Object pSourceValue, java.lang.Object pTargetValue, ValidatorContext<?> pContext)
UpdatingValidatorValidatorManager. Update
 a bean value from a source value. Note that if a new target bean
 is created, pContext.replaceParentDst() may need to be invoked.updateBeanValue in interface UpdatingValidator<T>pSourceValue - the value of pPropertyName property of the source
   beanpTargetValue - the existing value of pPropertyName of the target
   beanpContext - the current update context (with the
   current source/target parent beans).public boolean keyMustBePresent(ValidatorContext<?> pContext, java.lang.String pPropertyName, java.lang.Object pSource, java.lang.Object pTarget, boolean pIsBean)
keyMustBePresent in class Validators.ValidatorImpl<T>