- CascadableDescriptor - Interface in javax.validation.metadata
-
Represents a cascadable element.
- ClockProvider - Interface in javax.validation
-
Contract for obtaining the
Clock
used as the reference for
now
when
validating the
@Future
and
@Past
constraints.
- clockProvider(ClockProvider) - Method in interface javax.validation.Configuration
-
Defines the clock provider.
- clockProvider(ClockProvider) - Method in interface javax.validation.ValidatorContext
-
- close() - Method in interface javax.validation.ValidatorFactory
-
Closes the ValidatorFactory
instance.
- Configuration<T extends Configuration<T>> - Interface in javax.validation
-
Receives configuration information, selects the appropriate
Jakarta Bean Validation provider and builds the appropriate
ValidatorFactory
.
- ConfigurationState - Interface in javax.validation.spi
-
- configure() - Method in interface javax.validation.bootstrap.GenericBootstrap
-
- configure() - Method in interface javax.validation.bootstrap.ProviderSpecificBootstrap
-
Determines the provider implementation suitable for
T
and delegates
the creation of this specific
Configuration
subclass to the provider.
- Constraint - Annotation Type in javax.validation
-
Marks an annotation as being a Jakarta Bean Validation constraint.
- ConstraintDeclarationException - Exception in javax.validation
-
Exception raised if a constraint declaration is not legal.
- ConstraintDeclarationException(String) - Constructor for exception javax.validation.ConstraintDeclarationException
-
- ConstraintDeclarationException() - Constructor for exception javax.validation.ConstraintDeclarationException
-
- ConstraintDeclarationException(String, Throwable) - Constructor for exception javax.validation.ConstraintDeclarationException
-
- ConstraintDeclarationException(Throwable) - Constructor for exception javax.validation.ConstraintDeclarationException
-
- ConstraintDefinitionException - Exception in javax.validation
-
Exception raised if a constraint definition is not legal.
- ConstraintDefinitionException(String) - Constructor for exception javax.validation.ConstraintDefinitionException
-
- ConstraintDefinitionException() - Constructor for exception javax.validation.ConstraintDefinitionException
-
- ConstraintDefinitionException(String, Throwable) - Constructor for exception javax.validation.ConstraintDefinitionException
-
- ConstraintDefinitionException(Throwable) - Constructor for exception javax.validation.ConstraintDefinitionException
-
- ConstraintDescriptor<T extends Annotation> - Interface in javax.validation.metadata
-
Describes a single constraint and its composing constraints.
- ConstraintTarget - Enum in javax.validation
-
Defines the constraint target.
- ConstraintValidator<A extends Annotation,T> - Interface in javax.validation
-
Defines the logic to validate a given constraint A
for a given object type T
.
- ConstraintValidatorContext - Interface in javax.validation
-
Provides contextual data and operation when applying a given constraint validator.
- ConstraintValidatorContext.ConstraintViolationBuilder - Interface in javax.validation
-
ConstraintViolation
builder allowing to optionally associate
the violation report to a sub path.
- ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext - Interface in javax.validation
-
Represents a container element node whose context is
configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext - Interface in javax.validation
-
Represents a container element node whose context is known
(i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder - Interface in javax.validation
-
Represents refinement choices for a container element node.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext - Interface in javax.validation
-
Represents a node whose context is
configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext - Interface in javax.validation
-
Represents a node whose context is known
(i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder - Interface in javax.validation
-
Represents refinement choices for a node which is
in an iterable, e.g.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext - Interface in javax.validation
-
Represents a node whose context is
configurable (i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext - Interface in javax.validation
-
Represents a node whose context is known
(i.e.
- ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder - Interface in javax.validation
-
Represents refinement choices for a node which is
in an iterable, e.g.
- constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface javax.validation.Configuration
-
Defines the constraint validator factory.
- ConstraintValidatorFactory - Interface in javax.validation
-
- constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface javax.validation.ValidatorContext
-
Defines the constraint validator factory implementation used by the
Validator
.
- ConstraintViolation<T> - Interface in javax.validation
-
Describes a constraint violation.
- ConstraintViolationException - Exception in javax.validation
-
Reports the result of constraint violations.
- ConstraintViolationException(String, Set<? extends ConstraintViolation<?>>) - Constructor for exception javax.validation.ConstraintViolationException
-
Creates a constraint violation report.
- ConstraintViolationException(Set<? extends ConstraintViolation<?>>) - Constructor for exception javax.validation.ConstraintViolationException
-
Creates a constraint violation report.
- ConstructorDescriptor - Interface in javax.validation.metadata
-
Describes a validated constructor.
- ContainerDescriptor - Interface in javax.validation.metadata
-
Represents an element that might be a container, thus allowing container element
constraints.
- ContainerElementTypeDescriptor - Interface in javax.validation.metadata
-
Describes a validated container element type, e.g.
- ConvertGroup - Annotation Type in javax.validation.groups
-
Converts group from
to group to
during cascading.
- ConvertGroup.List - Annotation Type in javax.validation.groups
-
Defines several
ConvertGroup
annotations
on the same element.
- createGenericConfiguration(BootstrapState) - Method in interface javax.validation.spi.ValidationProvider
-
- createSpecializedConfiguration(BootstrapState) - Method in interface javax.validation.spi.ValidationProvider
-
Returns a
Configuration
instance implementing
T
,
the
Configuration
sub-interface.
- CrossParameterDescriptor - Interface in javax.validation.metadata
-
Describes an element holding cross-parameter constraints of a method or constructor
- GenericBootstrap - Interface in javax.validation.bootstrap
-
Defines the state used to bootstrap Jakarta Bean Validation and
creates a provider agnostic
Configuration
.
- getAnnotation() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
Returns the annotation describing the constraint declaration.
- getAttributes() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
Returns a map containing the annotation attribute names as keys and the
annotation attribute values as value.
- getBootstrapConfiguration() - Method in interface javax.validation.Configuration
-
Returns configuration information stored in the META-INF/validation.xml
file.
- getClock() - Method in interface javax.validation.ClockProvider
-
Returns the clock which serves as the reference for now
.
- getClockProvider() - Method in interface javax.validation.ConstraintValidatorContext
-
Returns the provider for obtaining the current time in the form of a
Clock
,
e.g.
- getClockProvider() - Method in interface javax.validation.spi.ConfigurationState
-
Returns the clock provider for this configuration.
- getClockProvider() - Method in interface javax.validation.ValidatorFactory
-
Returns the
ClockProvider
instance configured at
initialization time for the
ValidatorFactory
.
- getClockProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
ClockProvider
implementation or
null
if none is specified.
- getComposingConstraints() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
Return a set of composing
ConstraintDescriptor
s where each
descriptor describes a composing constraint.
- getConstrainedConstructors() - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns a set with descriptors for the constrained constructors of the
bean represented by this descriptor.
- getConstrainedContainerElementTypes() - Method in interface javax.validation.metadata.ContainerDescriptor
-
If this element is of a container type, e.g.
- getConstrainedMethods(MethodType, MethodType...) - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns a set with descriptors for the constrained methods of the bean
represented by this descriptor.
- getConstrainedProperties() - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns a set of property descriptors having at least one constraint defined
or marked as cascaded (
Valid
).
- getConstraintDescriptor() - Method in interface javax.validation.ConstraintViolation
-
Returns the constraint metadata reported to fail.
- getConstraintDescriptor() - Method in interface javax.validation.MessageInterpolator.Context
-
- getConstraintDescriptors() - Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
-
Retrieves the constraint descriptors following the defined
restrictions and hosted on the element described by
ElementDescriptor
.
- getConstraintDescriptors() - Method in interface javax.validation.metadata.ElementDescriptor
-
Returns all constraint descriptors for this element in the class hierarchy
or an empty Set
if none are present.
- getConstraintDescriptors() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns an empty Set
.
- getConstraintMappingResourcePaths() - Method in interface javax.validation.BootstrapConfiguration
-
Returns a set of resource paths pointing to XML constraint mapping files.
- getConstraintsForClass(Class<?>) - Method in interface javax.validation.Validator
-
Returns the descriptor object describing bean constraints.
- getConstraintsForConstructor(Class<?>...) - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns a constructor descriptor for the given constructor.
- getConstraintsForMethod(String, Class<?>...) - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns a method descriptor for the given method.
- getConstraintsForProperty(String) - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns the property descriptor for a given property.
- getConstraintValidatorClasses() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
List of the constraint validation implementation classes.
- getConstraintValidatorFactory() - Method in interface javax.validation.spi.ConfigurationState
-
Returns the constraint validator factory of this configuration.
- getConstraintValidatorFactory() - Method in interface javax.validation.ValidatorFactory
-
- getConstraintValidatorFactoryClassName() - Method in interface javax.validation.BootstrapConfiguration
-
- getConstraintViolations() - Method in exception javax.validation.ConstraintViolationException
-
Returns the set of constraint violations reported during a validation.
- getContainerClass() - Method in interface javax.validation.metadata.ContainerElementTypeDescriptor
-
Returns the container class hosting this container element type.
- getContainerClass() - Method in interface javax.validation.Path.BeanNode
-
- getContainerClass() - Method in interface javax.validation.Path.ContainerElementNode
-
- getContainerClass() - Method in interface javax.validation.Path.PropertyNode
-
- getCrossParameterDescriptor() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns a descriptor containing the cross-parameter constraints
of this executable.
- getDefaultClockProvider() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
ClockProvider
interface following the default
ClockProvider
defined in the specification:
returns a clock representing the current system time and default time
zone.
- getDefaultConstraintMessageTemplate() - Method in interface javax.validation.ConstraintValidatorContext
-
- getDefaultConstraintValidatorFactory() - Method in interface javax.validation.Configuration
-
- getDefaultMessageInterpolator() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
MessageInterpolator
interface
following the default
MessageInterpolator
defined in the
specification:
use the
ValidationMessages
resource bundle to load keys
use
Locale.getDefault()
- getDefaultParameterNameProvider() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
ParameterNameProvider
interface following the default
ParameterNameProvider
defined in the specification:
returns the actual parameter names as provided in the validated
executable’s definition, if the class file of the executable contains
parameter name information
otherwise returns names in the form
arg<PARAMETER_INDEX>
,
where
PARAMETER_INDEX
starts at 0 for the first parameter,
e.g.
- getDefaultProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
- getDefaultTraversableResolver() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
TraversableResolver
interface
following the default
TraversableResolver
defined in the
specification:
if Java Persistence is available in the runtime environment,
a property is considered reachable if Java Persistence considers
the property as loaded
if Java Persistence is not available in the runtime environment,
all properties are considered reachable
all properties are considered cascadable.
- getDefaultValidatedExecutableTypes() - Method in interface javax.validation.BootstrapConfiguration
-
Returns the set of executable types that should be considered
unless explicitly overridden via
ValidateOnExecution
.
- getDefaultValidationProviderResolver() - Method in interface javax.validation.spi.BootstrapState
-
Specification default ValidationProviderResolver
strategy instance.
- getElementClass() - Method in interface javax.validation.metadata.CrossParameterDescriptor
-
- getElementClass() - Method in interface javax.validation.metadata.ElementDescriptor
-
- getExecutableParameters() - Method in interface javax.validation.ConstraintViolation
-
Returns an Object[]
representing the constructor or method invocation
arguments if the ConstraintViolation
is returned after validating the
method or constructor parameters.
- getExecutableReturnValue() - Method in interface javax.validation.ConstraintViolation
-
Returns the return value of the constructor or method invocation
if the ConstraintViolation
is returned after validating the method
or constructor return value.
- getFrom() - Method in interface javax.validation.metadata.GroupConversionDescriptor
-
Returns the source group of this conversion rule.
- getGroupConversions() - Method in interface javax.validation.metadata.CascadableDescriptor
-
Returns the group conversions configured for this element.
- getGroups() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
The set of groups the constraint is applied on.
- getIndex() - Method in interface javax.validation.metadata.ParameterDescriptor
-
Returns this parameter's index within the parameter array of the method
or constructor holding it.
- getIndex() - Method in interface javax.validation.Path.Node
-
- getInstance(Class<T>) - Method in interface javax.validation.ConstraintValidatorFactory
-
- getInvalidValue() - Method in interface javax.validation.ConstraintViolation
-
Returns the value failing to pass the constraint.
- getKey() - Method in interface javax.validation.Path.Node
-
- getKind() - Method in interface javax.validation.Path.Node
-
The kind of element represented by the node.
- getLeafBean() - Method in interface javax.validation.ConstraintViolation
-
Returns:
the bean instance the constraint is applied on if it is
a bean constraint
the bean instance hosting the property the constraint
is applied on if it is a property constraint or a container element constraint
hosted on a property
null
when the
ConstraintViolation
is returned
after calling
Validator.validateValue(Class, String, Object, Class[])
the object the method is executed on if it is
a method parameter, cross-parameter or return value constraint or a
container element constraint hosted on a method parameter or return value
null
if it is a constructor parameter or
cross-parameter constraint or a container element constraint hosted on a
constructor parameter
the object the constructor has created if it is a
constructor return value constraint
- getMappingStreams() - Method in interface javax.validation.spi.ConfigurationState
-
Returns a set of configuration streams.
- getMessage() - Method in interface javax.validation.ConstraintViolation
-
- getMessageInterpolator() - Method in interface javax.validation.spi.ConfigurationState
-
Returns the message interpolator of this configuration.
- getMessageInterpolator() - Method in interface javax.validation.ValidatorFactory
-
Returns the
MessageInterpolator
instance configured at
initialization time for the
ValidatorFactory
.
- getMessageInterpolatorClassName() - Method in interface javax.validation.BootstrapConfiguration
-
- getMessageTemplate() - Method in interface javax.validation.ConstraintViolation
-
- getMessageTemplate() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
The non-interpolated error message
- getName() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns the method name in case this descriptor represents a method or
the non-qualified name of the declaring class in case this descriptor
represents a constructor.
- getName() - Method in interface javax.validation.metadata.ParameterDescriptor
-
Returns this parameter's name as retrieved by the current parameter name
resolver.
- getName() - Method in interface javax.validation.Path.Node
-
Returns the name of the element which the node represents:
null
if it is a leaf node which represents an entity / bean.
- getParameterDescriptors() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns a list of descriptors representing this executable's
parameters, in the order of their declaration, including synthetic
parameters.
- getParameterIndex() - Method in interface javax.validation.Path.ParameterNode
-
- getParameterNameProvider() - Method in interface javax.validation.spi.ConfigurationState
-
Returns the parameter name provider for this configuration.
- getParameterNameProvider() - Method in interface javax.validation.ValidatorFactory
-
- getParameterNameProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
- getParameterNames(Constructor<?>) - Method in interface javax.validation.ParameterNameProvider
-
Returns the names of the parameters of the given constructor.
- getParameterNames(Method) - Method in interface javax.validation.ParameterNameProvider
-
Returns the names of the parameters of the given method.
- getParameterTypes() - Method in interface javax.validation.Path.ConstructorNode
-
- getParameterTypes() - Method in interface javax.validation.Path.MethodNode
-
- getPayload() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
The set of payload the constraint hosts.
- getProperties() - Method in interface javax.validation.BootstrapConfiguration
-
Returns properties as a map of string based key/value pairs.
- getProperties() - Method in interface javax.validation.spi.ConfigurationState
-
Returns a map of non type-safe custom properties.
- getPropertyName() - Method in interface javax.validation.metadata.PropertyDescriptor
-
Name of the property according to the Java Bean specification.
- getPropertyPath() - Method in interface javax.validation.ConstraintViolation
-
- getReturnValueDescriptor() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns a descriptor for this executable's return value.
- getRootBean() - Method in interface javax.validation.ConstraintViolation
-
Returns the root bean being validated.
- getRootBeanClass() - Method in interface javax.validation.ConstraintViolation
-
Returns the class of the root bean being validated.
- getTo() - Method in interface javax.validation.metadata.GroupConversionDescriptor
-
Returns the target group of this conversion rule.
- getTraversableResolver() - Method in interface javax.validation.spi.ConfigurationState
-
Returns the traversable resolver for this configuration.
- getTraversableResolver() - Method in interface javax.validation.ValidatorFactory
-
Returns the
TraversableResolver
instance configured
at initialization time for the
ValidatorFactory
.
- getTraversableResolverClassName() - Method in interface javax.validation.BootstrapConfiguration
-
- getTypeArgumentIndex() - Method in interface javax.validation.metadata.ContainerElementTypeDescriptor
-
Returns the index of the type argument corresponding to this container element type.
- getTypeArgumentIndex() - Method in interface javax.validation.Path.BeanNode
-
- getTypeArgumentIndex() - Method in interface javax.validation.Path.ContainerElementNode
-
- getTypeArgumentIndex() - Method in interface javax.validation.Path.PropertyNode
-
- getValidatedValue() - Method in interface javax.validation.MessageInterpolator.Context
-
- getValidationAppliesTo() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
The
ConstraintTarget
value of
validationAppliesTo
if the constraint
hosts it or
null
otherwise.
- getValidationProviderResolver() - Method in interface javax.validation.spi.BootstrapState
-
User defined ValidationProviderResolver
strategy
instance or null
if undefined.
- getValidationProviders() - Method in interface javax.validation.ValidationProviderResolver
-
- getValidator() - Method in interface javax.validation.ValidatorContext
-
Returns an initialized
Validator
instance respecting the defined state.
- getValidator() - Method in interface javax.validation.ValidatorFactory
-
Returns an initialized
Validator
instance using the
factory defaults for message interpolator, traversable resolver
and constraint validator factory.
- getValue() - Method in enum javax.validation.constraints.Pattern.Flag
-
- getValueExtractorClassNames() - Method in interface javax.validation.BootstrapConfiguration
-
- getValueExtractors() - Method in interface javax.validation.spi.ConfigurationState
-
Returns a set of value extractors.
- getValueUnwrapping() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
- GroupConversionDescriptor - Interface in javax.validation.metadata
-
A group conversion rule to be applied during cascaded validation.
- GroupDefinitionException - Exception in javax.validation
-
Exception raised if a group definition is not legal.
- GroupDefinitionException(String) - Constructor for exception javax.validation.GroupDefinitionException
-
- GroupDefinitionException() - Constructor for exception javax.validation.GroupDefinitionException
-
- GroupDefinitionException(String, Throwable) - Constructor for exception javax.validation.GroupDefinitionException
-
- GroupDefinitionException(Throwable) - Constructor for exception javax.validation.GroupDefinitionException
-
- GroupSequence - Annotation Type in javax.validation
-
Defines group sequence.
- ignoreXmlConfiguration() - Method in interface javax.validation.Configuration
-
Ignores data from the META-INF/validation.xml
file if this
method is called.
- inContainer(Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in a container such as a List
, Map
or
Optional
.
- inContainer(Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in a container such as a List
, Map
or
Optional
.
- indexedValue(String, int, Object) - Method in interface javax.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an indexed object (e.g.
- inIterable() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- inIterable() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- inIterable() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in an iterable, e.g.
- initialize(A) - Method in interface javax.validation.ConstraintValidator
-
- interpolate(String, MessageInterpolator.Context) - Method in interface javax.validation.MessageInterpolator
-
Interpolates the message template based on the constraint validation context.
- interpolate(String, MessageInterpolator.Context, Locale) - Method in interface javax.validation.MessageInterpolator
-
Interpolates the message template based on the constraint validation context.
- isBeanConstrained() - Method in interface javax.validation.metadata.BeanDescriptor
-
Returns
true
if the bean involves validation:
a constraint is hosted on the bean itself
a constraint is hosted on one of the bean properties
or a bean property is marked for cascaded validation (
Valid
)
- isCascadable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface javax.validation.TraversableResolver
-
Determines if the Jakarta Bean Validation provider is allowed to cascade validation on
the bean instance returned by the property value
marked as @Valid
.
- isCascaded() - Method in interface javax.validation.metadata.CascadableDescriptor
-
Whether this element is marked for cascaded validation or not.
- isExecutableValidationEnabled() - Method in interface javax.validation.BootstrapConfiguration
-
Returns true if the validation execution is explicitly marked as enabled
or if it is left undefined.
- isIgnoreXmlConfiguration() - Method in interface javax.validation.spi.ConfigurationState
-
- isInIterable() - Method in interface javax.validation.Path.Node
-
- isReachable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface javax.validation.TraversableResolver
-
Determines if the Jakarta Bean Validation provider is allowed to reach the property state.
- isReportAsSingleViolation() - Method in interface javax.validation.metadata.ConstraintDescriptor
-
- isValid(T, ConstraintValidatorContext) - Method in interface javax.validation.ConstraintValidator
-
Implements the validation logic.
- iterableValue(String, Object) - Method in interface javax.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an iterable object that is not indexed (e.g.
- ParameterDescriptor - Interface in javax.validation.metadata
-
Describes a validated method or constructor parameter.
- parameterNameProvider(ParameterNameProvider) - Method in interface javax.validation.Configuration
-
Defines the parameter name provider.
- ParameterNameProvider - Interface in javax.validation
-
Provides names for method and constructor parameters.
- parameterNameProvider(ParameterNameProvider) - Method in interface javax.validation.ValidatorContext
-
Defines the parameter name provider implementation used by the
Validator
.
- Past - Annotation Type in javax.validation.constraints
-
The annotated element must be an instant, date or time in the past.
- Past.List - Annotation Type in javax.validation.constraints
-
Defines several
Past
annotations on the same element.
- PastOrPresent - Annotation Type in javax.validation.constraints
-
The annotated element must be an instant, date or time in the past or in the present.
- PastOrPresent.List - Annotation Type in javax.validation.constraints
-
- Path - Interface in javax.validation
-
Represents the navigation path from an object to another
in an object graph.
- Path.BeanNode - Interface in javax.validation
-
Node representing a bean.
- Path.ConstructorNode - Interface in javax.validation
-
Node representing a constructor.
- Path.ContainerElementNode - Interface in javax.validation
-
Node representing an element in a generic container such as Optional
,
List
or Map
.
- Path.CrossParameterNode - Interface in javax.validation
-
Node representing the element holding cross-parameter constraints
of a method or constructor.
- Path.MethodNode - Interface in javax.validation
-
Node representing a method.
- Path.Node - Interface in javax.validation
-
Represents an element of a navigation path.
- Path.ParameterNode - Interface in javax.validation
-
Node representing a parameter of a method or constructor.
- Path.PropertyNode - Interface in javax.validation
-
Node representing a property.
- Path.ReturnValueNode - Interface in javax.validation
-
Node representing the return value of a method or constructor.
- Pattern - Annotation Type in javax.validation.constraints
-
The annotated CharSequence
must match the specified regular expression.
- Pattern.Flag - Enum in javax.validation.constraints
-
Possible Regexp flags.
- Pattern.List - Annotation Type in javax.validation.constraints
-
Defines several
Pattern
annotations on the same element.
- Payload - Interface in javax.validation
-
Payload type that can be attached to a given
constraint declaration.
- Positive - Annotation Type in javax.validation.constraints
-
The annotated element must be a strictly positive number (i.e.
- Positive.List - Annotation Type in javax.validation.constraints
-
Defines several
Positive
constraints on the same element.
- PositiveOrZero - Annotation Type in javax.validation.constraints
-
The annotated element must be a positive number or 0.
- PositiveOrZero.List - Annotation Type in javax.validation.constraints
-
- PropertyDescriptor - Interface in javax.validation.metadata
-
Describes a Java Bean property hosting validation constraints.
- providerResolver(ValidationProviderResolver) - Method in interface javax.validation.bootstrap.GenericBootstrap
-
Defines the provider resolution strategy.
- providerResolver(ValidationProviderResolver) - Method in interface javax.validation.bootstrap.ProviderSpecificBootstrap
-
Optionally defines the provider resolver implementation used.
- ProviderSpecificBootstrap<T extends Configuration<T>> - Interface in javax.validation.bootstrap
-
Defines the state used to bootstrap Jakarta Bean Validation and
creates a provider specific
Configuration
of type
T
.
- Valid - Annotation Type in javax.validation
-
Marks a property, method parameter or method return type for validation cascading.
- validate(T, Class<?>...) - Method in interface javax.validation.Validator
-
Validates all constraints on object
.
- validateConstructorParameters(Constructor<? extends T>, Object[], Class<?>...) - Method in interface javax.validation.executable.ExecutableValidator
-
Validates all constraints placed on the parameters of the given constructor.
- validateConstructorReturnValue(Constructor<? extends T>, T, Class<?>...) - Method in interface javax.validation.executable.ExecutableValidator
-
Validates all return value constraints of the given constructor.
- ValidateOnExecution - Annotation Type in javax.validation.executable
-
Expresses which executables (methods or constructors) should have their parameters
and return value validated upon execution.
- validateParameters(T, Method, Object[], Class<?>...) - Method in interface javax.validation.executable.ExecutableValidator
-
Validates all constraints placed on the parameters of the given method.
- validateProperty(T, String, Class<?>...) - Method in interface javax.validation.Validator
-
Validates all constraints placed on the property of object
named propertyName
.
- validateReturnValue(T, Method, Object, Class<?>...) - Method in interface javax.validation.executable.ExecutableValidator
-
Validates all return value constraints of the given method.
- ValidateUnwrappedValue - Enum in javax.validation.metadata
-
The unwrapping behavior that can be applied to a specific constraint.
- validateValue(Class<T>, String, Object, Class<?>...) - Method in interface javax.validation.Validator
-
Validates all constraints placed on the property named propertyName
of the class beanType
would the property value be value
.
- Validation - Class in javax.validation
-
This class is the entry point for Jakarta Bean Validation.
- Validation() - Constructor for class javax.validation.Validation
-
- ValidationException - Exception in javax.validation
-
Base exception of all Jakarta Bean Validation "unexpected" problems.
- ValidationException(String) - Constructor for exception javax.validation.ValidationException
-
- ValidationException() - Constructor for exception javax.validation.ValidationException
-
- ValidationException(String, Throwable) - Constructor for exception javax.validation.ValidationException
-
- ValidationException(Throwable) - Constructor for exception javax.validation.ValidationException
-
- ValidationProvider<T extends Configuration<T>> - Interface in javax.validation.spi
-
Contract between the validation bootstrap mechanism and the provider engine.
- ValidationProviderResolver - Interface in javax.validation
-
Determines the list of Jakarta Bean Validation providers available in the runtime environment
- ValidationTarget - Enum in javax.validation.constraintvalidation
-
- Validator - Interface in javax.validation
-
Validates bean instances.
- ValidatorContext - Interface in javax.validation
-
Represents the context that is used to create
Validator
instances.
- ValidatorFactory - Interface in javax.validation
-
Factory returning initialized Validator
instances.
- value(String, Object) - Method in interface javax.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from an object.
- ValueExtractor<T> - Interface in javax.validation.valueextraction
-
Defines the logic used to extract the values from a container object of type T
.
- ValueExtractor.ValueReceiver - Interface in javax.validation.valueextraction
-
Provides a set of methods receiving value extracted by the
ValueExtractor
.
- ValueExtractorDeclarationException - Exception in javax.validation.valueextraction
-
- ValueExtractorDeclarationException() - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(String) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDeclarationException(String, Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
-
- ValueExtractorDefinitionException - Exception in javax.validation.valueextraction
-
- ValueExtractorDefinitionException() - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(String) - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
-
- ValueExtractorDefinitionException(String, Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
-
- valueOf(String) - Static method in enum javax.validation.constraints.Pattern.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.ConstraintTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.constraintvalidation.ValidationTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.ElementKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.executable.ExecutableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.metadata.MethodType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.metadata.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.validation.metadata.ValidateUnwrappedValue
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax.validation.constraints.Pattern.Flag
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.ConstraintTarget
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.constraintvalidation.ValidationTarget
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.ElementKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.executable.ExecutableType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.metadata.MethodType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.metadata.Scope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.validation.metadata.ValidateUnwrappedValue
-
Returns an array containing the constants of this enum type, in
the order they are declared.