Package | Description |
---|---|
javax.validation |
Top level package of the Bean Validation API.
|
javax.validation.metadata |
Package containing all objects specifically used and returned by the
metadata API.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
org.hibernate.validator.internal.metadata.descriptor |
Implementation of the Bean Validation meta data API.
|
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
MessageInterpolator.Context.getConstraintDescriptor() |
ConstraintDescriptor<?> |
ConstraintViolation.getConstraintDescriptor()
Returns the constraint metadata reported to fail.
|
Modifier and Type | Method and Description |
---|---|
Set<ConstraintDescriptor<?>> |
ConstraintDescriptor.getComposingConstraints()
Return a set of composing
ConstraintDescriptor s where each
descriptor describes a composing constraint. |
Set<ConstraintDescriptor<?>> |
ExecutableDescriptor.getConstraintDescriptors()
Returns an empty
Set . |
Set<ConstraintDescriptor<?>> |
ElementDescriptor.getConstraintDescriptors()
Returns all constraint descriptors for this element in the class hierarchy
or an empty
Set if none are present. |
Set<ConstraintDescriptor<?>> |
ElementDescriptor.ConstraintFinder.getConstraintDescriptors()
Retrieves the constraint descriptors following the defined
restrictions and hosted on the element described by
ElementDescriptor . |
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
MessageInterpolatorContext.getConstraintDescriptor() |
ConstraintDescriptor<?> |
ConstraintViolationImpl.getConstraintDescriptor() |
Modifier and Type | Method and Description |
---|---|
ConstraintViolation<T> |
ValidationContext.createConstraintViolation(ValueContext<?,?> localContext,
ConstraintViolationCreationContext constraintViolationCreationContext,
ConstraintDescriptor<?> descriptor) |
static <T> ConstraintViolation<T> |
ConstraintViolationImpl.forBeanValidation(String messageTemplate,
Map<String,Object> expressionVariables,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType,
Object dynamicPayload) |
static <T> ConstraintViolation<T> |
ConstraintViolationImpl.forParameterValidation(String messageTemplate,
Map<String,Object> expressionVariables,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType,
Object[] executableParameters,
Object dynamicPayload) |
static <T> ConstraintViolation<T> |
ConstraintViolationImpl.forReturnValueValidation(String messageTemplate,
Map<String,Object> expressionVariables,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType,
Object executableReturnValue,
Object dynamicPayload) |
Constructor and Description |
---|
MessageInterpolatorContext(ConstraintDescriptor<?> constraintDescriptor,
Object validatedValue,
Class<?> rootBeanType,
Map<String,Object> messageParameters) |
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
ConstraintValidatorContextImpl.getConstraintDescriptor() |
Constructor and Description |
---|
ConstraintValidatorContextImpl(List<String> methodParameterNames,
TimeProvider timeProvider,
PathImpl propertyPath,
ConstraintDescriptor<?> constraintDescriptor) |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintDescriptorImpl<T extends Annotation>
Describes a single constraint (including it's composing constraints).
|
Modifier and Type | Method and Description |
---|---|
Set<ConstraintDescriptor<?>> |
ConstraintDescriptorImpl.getComposingConstraints() |
Set<ConstraintDescriptor<?>> |
ElementDescriptorImpl.getConstraintDescriptors() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.