Package org.apache.bval.jsr.job
Class ValidateProperty<T>
- java.lang.Object
-
- org.apache.bval.jsr.job.ValidationJob<T>
-
- org.apache.bval.jsr.job.ValidateProperty<T>
-
public final class ValidateProperty<T> extends ValidationJob<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ValidateProperty.ForBeanProperty<T>
(package private) static class
ValidateProperty.ForPropertyValue<T>
(package private) class
ValidateProperty.LeafFrame<L>
(package private) class
ValidateProperty.PropertyFrame<D extends ElementD<?,?> & jakarta.validation.metadata.CascadableDescriptor & jakarta.validation.metadata.ContainerDescriptor>
(package private) static interface
ValidateProperty.Strategy<T>
-
Nested classes/interfaces inherited from class org.apache.bval.jsr.job.ValidationJob
ValidationJob.BeanFrame<B>, ValidationJob.Frame<D extends ElementD<?,?>>, ValidationJob.SproutFrame<D extends ElementD<?,?> & jakarta.validation.metadata.CascadableDescriptor & jakarta.validation.metadata.ContainerDescriptor>
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.job.ValidationJob
groups, ITERABLE_ELEMENT, MAP_VALUE, validatorContext
-
-
Constructor Summary
Constructors Constructor Description ValidateProperty(ApacheFactoryContext validatorContext, Class<T> rootBeanClass, String property, Object value, Class<?>[] groups)
ValidateProperty(ApacheFactoryContext validatorContext, T bean, String property, Class<?>[] groups)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidateProperty<T>
cascade(boolean cascade)
protected ValidationJob.Frame<?>
computeBaseFrame()
(package private) ConstraintViolationImpl<T>
createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
protected Class<T>
getRootBeanClass()
protected boolean
hasWork()
-
Methods inherited from class org.apache.bval.jsr.job.ValidationJob
createViolation, getResults, noViolations
-
-
-
-
Method Detail
-
cascade
public ValidateProperty<T> cascade(boolean cascade)
-
computeBaseFrame
protected ValidationJob.Frame<?> computeBaseFrame()
- Specified by:
computeBaseFrame
in classValidationJob<T>
-
getRootBeanClass
protected Class<T> getRootBeanClass()
- Specified by:
getRootBeanClass
in classValidationJob<T>
-
hasWork
protected boolean hasWork()
- Overrides:
hasWork
in classValidationJob<T>
-
createViolation
ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
- Specified by:
createViolation
in classValidationJob<T>
-
-