| Package | Description |
|---|---|
| javax.validation | |
| javax.validation.metadata | |
| org.hibernate.validator.engine |
Implementations for the core interfaces of JSR-303.
|
| org.hibernate.validator.metadata |
Implementations of the Bean Validation metadata interfaces as well as Hibernate Validator specific meta data classes.
|
| Modifier and Type | Method and Description |
|---|---|
ConstraintDescriptor<?> |
MessageInterpolator.Context.getConstraintDescriptor() |
ConstraintDescriptor<?> |
ConstraintViolation.getConstraintDescriptor()
Constraint metadata reported to fail.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConstraintDescriptor<?>> |
ConstraintDescriptor.getComposingConstraints()
Return a set of composing
ConstraintDescriptors where each
descriptor describes a composing constraint. |
Set<ConstraintDescriptor<?>> |
ElementDescriptor.getConstraintDescriptors()
Return all constraint descriptors for this element in the class hierarchy
or an empty
Set if none are present. |
Set<ConstraintDescriptor<?>> |
ElementDescriptor.ConstraintFinder.getConstraintDescriptors()
Retrieve 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() |
ConstraintDescriptor<?> |
ConstraintValidatorContextImpl.getConstraintDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract <U,V> C |
ValidationContext.createConstraintViolation(ValueContext<U,V> localContext,
MessageAndPath messageAndPath,
ConstraintDescriptor<?> descriptor) |
<U,V> ConstraintViolation<T> |
StandardValidationContext.createConstraintViolation(ValueContext<U,V> localContext,
MessageAndPath messageAndPath,
ConstraintDescriptor<?> descriptor) |
<U,V> MethodConstraintViolation<T> |
MethodValidationContext.createConstraintViolation(ValueContext<U,V> localContext,
MessageAndPath messageAndPath,
ConstraintDescriptor<?> descriptor) |
| Constructor and Description |
|---|
ConstraintValidatorContextImpl(PathImpl propertyPath,
ConstraintDescriptor<?> constraintDescriptor) |
ConstraintViolationImpl(String messageTemplate,
String interpolatedMessage,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType) |
MessageInterpolatorContext(ConstraintDescriptor<?> constraintDescriptor,
Object validatedValue) |
MethodConstraintViolationImpl(String messageTemplate,
String interpolatedMessage,
Method method,
Integer parameterIndex,
String parameterName,
Class<T> rootBeanClass,
T rootBean,
Object leafBeanInstance,
Object value,
Path propertyPath,
ConstraintDescriptor<?> constraintDescriptor,
ElementType elementType) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConstraintDescriptorImpl<T extends Annotation>
Describe a single constraint (including it's composing constraints).
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConstraintDescriptor<?>> |
ConstraintDescriptorImpl.getComposingConstraints() |
Set<ConstraintDescriptor<?>> |
ElementDescriptorImpl.getConstraintDescriptors() |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.