Uses of Interface
jakarta.validation.ConstraintViolation
-
Packages that use ConstraintViolation Package Description jakarta.validation Top level package of the Jakarta Bean Validation API.jakarta.validation.executable Package related to the control and execution of executable validation.org.apache.cxf.validation org.hibernate.validator.engine org.hibernate.validator.internal.engine Implementations for the core interfaces of Jakarta Bean Validation.org.hibernate.validator.internal.engine.validationcontext Contains various implementation of validation contexts and supporting classes.org.jboss.resteasy.api.validation org.jboss.resteasy.plugins.validation -
-
Uses of ConstraintViolation in jakarta.validation
Methods in jakarta.validation that return types with arguments of type ConstraintViolation Modifier and Type Method Description Set<ConstraintViolation<?>>ConstraintViolationException. getConstraintViolations()Returns the set of constraint violations reported during a validation.<T> Set<ConstraintViolation<T>>Validator. validate(T object, Class<?>... groups)Validates all constraints onobject.<T> Set<ConstraintViolation<T>>Validator. validateProperty(T object, String propertyName, Class<?>... groups)Validates all constraints placed on the property ofobjectnamedpropertyName.<T> Set<ConstraintViolation<T>>Validator. validateValue(Class<T> beanType, String propertyName, Object value, Class<?>... groups)Validates all constraints placed on the property namedpropertyNameof the classbeanTypewould the property value bevalue.Constructor parameters in jakarta.validation with type arguments of type ConstraintViolation Constructor Description ConstraintViolationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations)Creates a constraint violation report.ConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)Creates a constraint violation report. -
Uses of ConstraintViolation in jakarta.validation.executable
Methods in jakarta.validation.executable that return types with arguments of type ConstraintViolation Modifier and Type Method Description <T> Set<ConstraintViolation<T>>ExecutableValidator. validateConstructorParameters(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups)Validates all constraints placed on the parameters of the given constructor.<T> Set<ConstraintViolation<T>>ExecutableValidator. validateConstructorReturnValue(Constructor<? extends T> constructor, T createdObject, Class<?>... groups)Validates all return value constraints of the given constructor.<T> Set<ConstraintViolation<T>>ExecutableValidator. validateParameters(T object, Method method, Object[] parameterValues, Class<?>... groups)Validates all constraints placed on the parameters of the given method.<T> Set<ConstraintViolation<T>>ExecutableValidator. validateReturnValue(T object, Method method, Object returnValue, Class<?>... groups)Validates all return value constraints of the given method. -
Uses of ConstraintViolation in org.apache.cxf.validation
Constructor parameters in org.apache.cxf.validation with type arguments of type ConstraintViolation Constructor Description ResponseConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations) -
Uses of ConstraintViolation in org.hibernate.validator.engine
Subinterfaces of ConstraintViolation in org.hibernate.validator.engine Modifier and Type Interface Description interfaceHibernateConstraintViolation<T>A customConstraintViolationwhich allows to get additional information for a constraint violation. -
Uses of ConstraintViolation in org.hibernate.validator.internal.engine
Classes in org.hibernate.validator.internal.engine that implement ConstraintViolation Modifier and Type Class Description classConstraintViolationImpl<T>Methods in org.hibernate.validator.internal.engine that return ConstraintViolation Modifier and Type Method Description static <T> ConstraintViolation<T>ConstraintViolationImpl. forBeanValidation(String messageTemplate, Map<String,Object> messageParameters, Map<String,Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object dynamicPayload)static <T> ConstraintViolation<T>ConstraintViolationImpl. forParameterValidation(String messageTemplate, Map<String,Object> messageParameters, Map<String,Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object[] executableParameters, Object dynamicPayload)static <T> ConstraintViolation<T>ConstraintViolationImpl. forReturnValueValidation(String messageTemplate, Map<String,Object> messageParameters, Map<String,Object> expressionVariables, String interpolatedMessage, Class<T> rootBeanClass, T rootBean, Object leafBeanInstance, Object value, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, Object executableReturnValue, Object dynamicPayload)Methods in org.hibernate.validator.internal.engine that return types with arguments of type ConstraintViolation Modifier and Type Method Description <T> Set<ConstraintViolation<T>>ValidatorImpl. validate(T object, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateConstructorParameters(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateConstructorReturnValue(Constructor<? extends T> constructor, T createdObject, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateParameters(T object, Method method, Object[] parameterValues, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateProperty(T object, String propertyName, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateReturnValue(T object, Method method, Object returnValue, Class<?>... groups)<T> Set<ConstraintViolation<T>>ValidatorImpl. validateValue(Class<T> beanType, String propertyName, Object value, Class<?>... groups) -
Uses of ConstraintViolation in org.hibernate.validator.internal.engine.validationcontext
Methods in org.hibernate.validator.internal.engine.validationcontext that return ConstraintViolation Modifier and Type Method Description protected ConstraintViolation<T>ParameterExecutableValidationContext. createConstraintViolation(String messageTemplate, String interpolatedMessage, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ValueContext<?,?> valueContext, ConstraintViolationCreationContext constraintViolationCreationContext)protected ConstraintViolation<T>ReturnValueExecutableValidationContext. createConstraintViolation(String messageTemplate, String interpolatedMessage, Path propertyPath, ConstraintDescriptor<?> constraintDescriptor, ValueContext<?,?> valueContext, ConstraintViolationCreationContext constraintViolationCreationContext)Methods in org.hibernate.validator.internal.engine.validationcontext that return types with arguments of type ConstraintViolation Modifier and Type Method Description Set<ConstraintViolation<T>>ValidationContext. getFailingConstraints() -
Uses of ConstraintViolation in org.jboss.resteasy.api.validation
Methods in org.jboss.resteasy.api.validation that return types with arguments of type ConstraintViolation Modifier and Type Method Description Set<ConstraintViolation<Object>>SimpleViolationsContainer. getViolations()Methods in org.jboss.resteasy.api.validation with parameters of type ConstraintViolation Modifier and Type Method Description protected ResteasyConstraintViolationResteasyViolationException. convertViolation(ConstraintViolation<?> violation)Method parameters in org.jboss.resteasy.api.validation with type arguments of type ConstraintViolation Modifier and Type Method Description voidSimpleViolationsContainer. addViolations(Set<ConstraintViolation<Object>> cvs)Constructor parameters in org.jboss.resteasy.api.validation with type arguments of type ConstraintViolation Constructor Description ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)New constructorResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept)New constructorSimpleViolationsContainer(Set<ConstraintViolation<Object>> cvs) -
Uses of ConstraintViolation in org.jboss.resteasy.plugins.validation
Method parameters in org.jboss.resteasy.plugins.validation with type arguments of type ConstraintViolation Modifier and Type Method Description voidSimpleViolationsContainer. addViolations(Set<ConstraintViolation<Object>> cvs)If some ConstraintViolations are created by Resteasy and some are created by CDI, two essentially identical ones might appear to be different.Constructor parameters in org.jboss.resteasy.plugins.validation with type arguments of type ConstraintViolation Constructor Description ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations)ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept)New constructorSimpleViolationsContainer(Set<ConstraintViolation<Object>> cvs)
-