A B C D E F G H I J K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addBeanNode() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a bean node (class-level) to the path the
ConstraintViolation
will be associated to. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds the new
ConstraintViolation
to be generated if the constraint validator marks the value as invalid. - addConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds the new
ConstraintViolation
to be generated if the constraint validator mark the value as invalid. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addContainerElementNode(String, Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a container element node to the path the
ConstraintViolation
will be associated to. - addMapping(InputStream) - Method in interface javax.validation.Configuration
-
Add a stream describing constraint mapping in the Bean Validation XML format.
- addNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
- addNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
- addNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
- addNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
- addParameterNode(int) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a method parameter node to the path the
ConstraintViolation
will be associated to. - addProperty(String, String) - Method in interface javax.validation.Configuration
-
Adds a provider specific property.
- addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderCustomizableContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeBuilderDefinedContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addPropertyNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Adds a property node to the path the
ConstraintViolation
will be associated to. - addValueExtractor(ValueExtractor<?>) - Method in interface javax.validation.Configuration
-
Adds a value extractor.
- addValueExtractor(ValueExtractor<?>) - Method in interface javax.validation.ValidatorContext
-
Adds a value extractor to be used by the
Validator
. - ALL - javax.validation.executable.ExecutableType
-
All executables (constructors and methods).
- ANNOTATED_ELEMENT - javax.validation.constraintvalidation.ValidationTarget
-
(Returned) element annotated by the constraint.
- as(Class<T>) - Method in interface javax.validation.Path.Node
-
Narrows the type of this node down to the given type.
- AssertFalse - Annotation Type in javax.validation.constraints
-
The annotated element must be false.
- AssertFalse.List - Annotation Type in javax.validation.constraints
-
Defines several
AssertFalse
annotations on the same element. - AssertTrue - Annotation Type in javax.validation.constraints
-
The annotated element must be true.
- AssertTrue.List - Annotation Type in javax.validation.constraints
-
Defines several
AssertTrue
annotations on the same element. - atIndex(Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Defines the index the object is into the
List
or array. - atIndex(Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Defines the index the object is into the
List
or array - atIndex(Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Defines the index the object is into the
List
or array. - atKey(Object) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.ContainerElementNodeContextBuilder
-
Defines the key the object is into the
Map
. - atKey(Object) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
-
Defines the key the object is into the
Map
. - atKey(Object) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
-
Defines the key the object is into the
Map
.
B
- BEAN - javax.validation.ElementKind
-
A Java Bean or object.
- BeanDescriptor - Interface in javax.validation.metadata
-
Describes a constrained Java Bean and the constraints associated to it.
- BootstrapConfiguration - Interface in javax.validation
-
Represents the user specified default configuration in
META-INF/validation.xml
. - BootstrapState - Interface in javax.validation.spi
-
Defines the state used to bootstrap the
Configuration
. - buildConstraintViolationWithTemplate(String) - Method in interface javax.validation.ConstraintValidatorContext
-
Returns a constraint violation builder building a violation report allowing to optionally associate it to a sub path.
- buildDefaultValidatorFactory() - Static method in class javax.validation.Validation
-
Builds and returns a
ValidatorFactory
instance based on the default Bean Validation provider and following the XML configuration. - buildValidatorFactory() - Method in interface javax.validation.Configuration
-
Build a
ValidatorFactory
implementation. - buildValidatorFactory(ConfigurationState) - Method in interface javax.validation.spi.ValidationProvider
-
Build a
ValidatorFactory
using the current provider implementation. - byDefaultProvider() - Static method in class javax.validation.Validation
-
Builds a
Configuration
. - byProvider(Class<U>) - Static method in class javax.validation.Validation
-
Builds a
Configuration
for a particular provider implementation.
C
- CANON_EQ - javax.validation.constraints.Pattern.Flag
-
Enables canonical equivalence.
- CascadableDescriptor - Interface in javax.validation.metadata
-
Represents a cascadable element.
- CASE_INSENSITIVE - javax.validation.constraints.Pattern.Flag
-
Enables case-insensitive matching.
- clockProvider(ClockProvider) - Method in interface javax.validation.Configuration
-
Defines the clock provider.
- clockProvider(ClockProvider) - Method in interface javax.validation.ValidatorContext
-
Defines the
ClockProvider
implementation used by theValidator
. - ClockProvider - Interface in javax.validation
-
Contract for obtaining the
Clock
used as the reference fornow
when validating the@Future
and@Past
constraints. - close() - Method in interface javax.validation.ValidatorFactory
-
Closes the
ValidatorFactory
instance. - COMMENTS - javax.validation.constraints.Pattern.Flag
-
Permits whitespace and comments in pattern.
- Configuration<T extends Configuration<T>> - Interface in javax.validation
-
Receives configuration information, selects the appropriate Bean Validation provider and builds the appropriate
ValidatorFactory
. - ConfigurationState - Interface in javax.validation.spi
- configure() - Method in interface javax.validation.bootstrap.GenericBootstrap
-
Returns a generic
Configuration
implementation. - configure() - Method in interface javax.validation.bootstrap.ProviderSpecificBootstrap
-
Determines the provider implementation suitable for
T
and delegates the creation of this specificConfiguration
subclass to the provider. - constraint() - Method in annotation type javax.validation.OverridesAttribute
- Constraint - Annotation Type in javax.validation
-
Marks an annotation as being a Bean Validation constraint.
- ConstraintDeclarationException - Exception in javax.validation
-
Exception raised if a constraint declaration is not legal.
- ConstraintDeclarationException() - Constructor for exception javax.validation.ConstraintDeclarationException
- ConstraintDeclarationException(String) - 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() - Constructor for exception javax.validation.ConstraintDefinitionException
- ConstraintDefinitionException(String) - 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.
- constraintIndex() - Method in annotation type javax.validation.OverridesAttribute
-
The index of the targeted constraint declaration when using multiple constraints of the same type.
- 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 typeT
. - 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(ConstraintValidatorFactory) - Method in interface javax.validation.ValidatorContext
-
Defines the constraint validator factory implementation used by the
Validator
. - ConstraintValidatorFactory - Interface in javax.validation
-
Instantiates a
ConstraintValidator
instance based off its class. - 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.
- CONSTRUCTOR - javax.validation.ElementKind
-
A constructor.
- ConstructorDescriptor - Interface in javax.validation.metadata
-
Describes a validated constructor.
- CONSTRUCTORS - javax.validation.executable.ExecutableType
-
All constructors.
- CONTAINER_ELEMENT - javax.validation.ElementKind
-
An element stored in a container, e.g.
- 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 groupto
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
-
Returns a
Configuration
instance. - createSpecializedConfiguration(BootstrapState) - Method in interface javax.validation.spi.ValidationProvider
- CROSS_PARAMETER - javax.validation.ElementKind
-
Element holding cross-parameter constraints of a method or constructor.
- CrossParameterDescriptor - Interface in javax.validation.metadata
-
Describes an element holding cross-parameter constraints of a method or constructor
D
- DecimalMax - Annotation Type in javax.validation.constraints
-
The annotated element must be a number whose value must be lower or equal to the specified maximum.
- DecimalMax.List - Annotation Type in javax.validation.constraints
-
Defines several
DecimalMax
annotations on the same element. - DecimalMin - Annotation Type in javax.validation.constraints
-
The annotated element must be a number whose value must be higher or equal to the specified minimum.
- DecimalMin.List - Annotation Type in javax.validation.constraints
-
Defines several
DecimalMin
annotations on the same element. - declaredOn(ElementType...) - Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints hosted on the listed
types
for a given element. - Default - Interface in javax.validation.groups
-
Default Bean Validation group.
- DEFAULT - javax.validation.metadata.ValidateUnwrappedValue
-
No specific unwrapping behavior has been defined for this constraint and the default behavior applies: if there is exactly one maximally-specific type-compliant
ValueExtractor
and this extractor is marked withUnwrapByDefault
, this extractor is applied and the constraint is applied to the value(s) wrapped by the annotated container. - Digits - Annotation Type in javax.validation.constraints
-
The annotated element must be a number within accepted range Supported types are:
BigDecimal
BigInteger
CharSequence
byte
,short
,int
,long
, and their respective wrapper types - Digits.List - Annotation Type in javax.validation.constraints
-
Defines several
Digits
annotations on the same element. - disableDefaultConstraintViolation() - Method in interface javax.validation.ConstraintValidatorContext
-
Disables the default
ConstraintViolation
object generation (which is using the message template declared on the constraint). - DOTALL - javax.validation.constraints.Pattern.Flag
-
Enables dotall mode.
E
- ElementDescriptor - Interface in javax.validation.metadata
-
Describes a validated element (class, property, method etc.).
- ElementDescriptor.ConstraintFinder - Interface in javax.validation.metadata
-
Declares restrictions on retrieved constraints.
- ElementKind - Enum in javax.validation
-
Enum of possible kinds of elements encountered in Bean Validation.
- Email - Annotation Type in javax.validation.constraints
-
The string has to be a well-formed email address.
- Email.List - Annotation Type in javax.validation.constraints
-
Defines several
@Email
constraints on the same element. - ExecutableDescriptor - Interface in javax.validation.metadata
-
Provides the common functionality of
MethodDescriptor
andConstructorDescriptor
. - ExecutableType - Enum in javax.validation.executable
-
Defines the types of executables targeted by an operation.
- ExecutableValidator - Interface in javax.validation.executable
-
Validates parameters and return values of methods and constructors.
- ExtractedValue - Annotation Type in javax.validation.valueextraction
-
Marks the type parameter of a generic container type to which a
ValueExtractor
is tied or specifies the type of the wrapped element(s) of non-generic container types. - extractValues(T, ValueExtractor.ValueReceiver) - Method in interface javax.validation.valueextraction.ValueExtractor
-
Extracts the values to validate from the original object.
F
- findConstraints() - Method in interface javax.validation.metadata.ElementDescriptor
-
Finds constraints and potentially restricts them to certain criteria.
- findConstraints() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns a finder that will always return an empty
Set
. - flags() - Method in annotation type javax.validation.constraints.Email
- flags() - Method in annotation type javax.validation.constraints.Pattern
- forExecutables() - Method in interface javax.validation.Validator
-
Returns the contract for validating parameters and return values of methods and constructors.
- fraction() - Method in annotation type javax.validation.constraints.Digits
- from() - Method in annotation type javax.validation.groups.ConvertGroup
-
The source group of this conversion.
- Future - Annotation Type in javax.validation.constraints
-
The annotated element must be an instant, date or time in the future.
- Future.List - Annotation Type in javax.validation.constraints
-
Defines several
Future
annotations on the same element. - FutureOrPresent - Annotation Type in javax.validation.constraints
-
The annotated element must be an instant, date or time in the present or in the future.
- FutureOrPresent.List - Annotation Type in javax.validation.constraints
-
Defines several
FutureOrPresent
annotations on the same element.
G
- GenericBootstrap - Interface in javax.validation.bootstrap
-
Defines the state used to bootstrap 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 theValidatorFactory
. - getClockProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
ClockProvider
implementation ornull
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
-
Returns the
ConstraintValidatorFactory
instance configured at initialization time for theValidatorFactory
. - getConstraintValidatorFactoryClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
ConstraintValidatorFactory
implementation ornull
if none is specified. - 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 defaultClockProvider
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
-
Returns an implementation of the
ConstraintValidatorFactory
interface following the defaultConstraintValidatorFactory
defined in the specification: uses the public no-arg constructor of theConstraintValidator
- getDefaultMessageInterpolator() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
MessageInterpolator
interface following the defaultMessageInterpolator
defined in the specification: use theValidationMessages
resource bundle to load keys useLocale.getDefault()
- getDefaultParameterNameProvider() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
ParameterNameProvider
interface following the defaultParameterNameProvider
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 formarg<PARAMETER_INDEX>
, wherePARAMETER_INDEX
starts at 0 for the first parameter, e.g. - getDefaultProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
ValidationProvider
implementation ornull
if none is specified. - getDefaultTraversableResolver() - Method in interface javax.validation.Configuration
-
Returns an implementation of the
TraversableResolver
interface following the defaultTraversableResolver
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 theConstraintViolation
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 theConstraintViolation
is returned after callingValidator.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 valuenull
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 theValidatorFactory
. - getMessageInterpolatorClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
MessageInterpolator
implementation ornull
if none is specified. - 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
-
Returns the
ParameterNameProvider
instance configured at initialization time for theValidatorFactory
. - getParameterNameProviderClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
ParameterNameProvider
implementation ornull
if none is specified. - 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.
- GETTER - javax.validation.metadata.MethodType
-
A method following the getter pattern.
- GETTER_METHODS - javax.validation.executable.ExecutableType
-
/** All methods following the getter pattern.
- 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 theValidatorFactory
. - getTraversableResolverClassName() - Method in interface javax.validation.BootstrapConfiguration
-
Class name of the
TraversableResolver
implementation ornull
if none is specified. - 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
- getValidationProviderResolver() - Method in interface javax.validation.spi.BootstrapState
-
User defined
ValidationProviderResolver
strategy instance ornull
if undefined. - getValidationProviders() - Method in interface javax.validation.ValidationProviderResolver
-
Returns a list of
ValidationProvider
available in the runtime environment. - 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
-
Returns the class names of
ValueExtractor
s. - 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() - Constructor for exception javax.validation.GroupDefinitionException
- GroupDefinitionException(String) - Constructor for exception javax.validation.GroupDefinitionException
- GroupDefinitionException(String, Throwable) - Constructor for exception javax.validation.GroupDefinitionException
- GroupDefinitionException(Throwable) - Constructor for exception javax.validation.GroupDefinitionException
- groups() - Method in annotation type javax.validation.constraints.AssertFalse
- groups() - Method in annotation type javax.validation.constraints.AssertTrue
- groups() - Method in annotation type javax.validation.constraints.DecimalMax
- groups() - Method in annotation type javax.validation.constraints.DecimalMin
- groups() - Method in annotation type javax.validation.constraints.Digits
- groups() - Method in annotation type javax.validation.constraints.Email
- groups() - Method in annotation type javax.validation.constraints.Future
- groups() - Method in annotation type javax.validation.constraints.FutureOrPresent
- groups() - Method in annotation type javax.validation.constraints.Max
- groups() - Method in annotation type javax.validation.constraints.Min
- groups() - Method in annotation type javax.validation.constraints.Negative
- groups() - Method in annotation type javax.validation.constraints.NegativeOrZero
- groups() - Method in annotation type javax.validation.constraints.NotBlank
- groups() - Method in annotation type javax.validation.constraints.NotEmpty
- groups() - Method in annotation type javax.validation.constraints.NotNull
- groups() - Method in annotation type javax.validation.constraints.Null
- groups() - Method in annotation type javax.validation.constraints.Past
- groups() - Method in annotation type javax.validation.constraints.PastOrPresent
- groups() - Method in annotation type javax.validation.constraints.Pattern
- groups() - Method in annotation type javax.validation.constraints.Positive
- groups() - Method in annotation type javax.validation.constraints.PositiveOrZero
- groups() - Method in annotation type javax.validation.constraints.Size
- GroupSequence - Annotation Type in javax.validation
-
Defines group sequence.
H
- hasConstrainedParameters() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns
true
if the executable parameters are constrained either: because of a constraint on at least one of the parameters because of a cascade on at least one of the parameters (viaValid
) because of at least one cross-parameter constraint - hasConstrainedReturnValue() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns
true
if the executable return value is constrained either: because of a constraint on the return value because validation is cascaded on the return value (viaValid
) - hasConstraints() - Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
-
Returns
true
if at least one constraint declaration matching the restrictions is present on the element,false
otherwise. - hasConstraints() - Method in interface javax.validation.metadata.ElementDescriptor
- hasConstraints() - Method in interface javax.validation.metadata.ExecutableDescriptor
-
Returns
false
. - HIERARCHY - javax.validation.metadata.Scope
-
Look for constraints declared on all elements of the class hierarchy with the same name.
I
- ignoreXmlConfiguration() - Method in interface javax.validation.Configuration
-
Ignores data from the
META-INF/validation.xml
file if this method is called. - IMPLICIT - javax.validation.ConstraintTarget
-
Discover the type when no ambiguity is present if neither on a method nor a constructor, it implies the annotated element (type, field etc), if on a method or constructor with no parameter, it implies
RETURN_VALUE
, if on a method with no return value (void
), it impliesPARAMETERS
. Otherwise,IMPLICIT
is not accepted and eitherRETURN_VALUE
orPARAMETERS
is required. - IMPLICIT - javax.validation.executable.ExecutableType
-
If the annotation using
ExecutableType
is on a type (class or interface), the behavior is equivalent to the annotation not being present. - inclusive() - Method in annotation type javax.validation.constraints.DecimalMax
-
Specifies whether the specified maximum is inclusive or exclusive.
- inclusive() - Method in annotation type javax.validation.constraints.DecimalMin
-
Specifies whether the specified minimum is inclusive or exclusive.
- inContainer(Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext
-
Marks the node as being in a container such as a
List
,Map
orOptional
. - inContainer(Class<?>, Integer) - Method in interface javax.validation.ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
-
Marks the node as being in a container such as a
List
,Map
orOptional
. - 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
-
Initializes the validator in preparation for
ConstraintValidator.isValid(Object, ConstraintValidatorContext)
calls. - integer() - Method in annotation type javax.validation.constraints.Digits
- 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 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
-
Returns
true
ifConfiguration.ignoreXmlConfiguration()
has been called. - isInIterable() - Method in interface javax.validation.Path.Node
- isReachable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface javax.validation.TraversableResolver
-
Determines if the 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.
J
- java.validation - module java.validation
- javax.validation - package javax.validation
-
Top level package of the Bean Validation API.
- javax.validation.bootstrap - package javax.validation.bootstrap
-
Package containing bootstrap specific objects.
- javax.validation.constraints - package javax.validation.constraints
-
Contains all the Bean Validation provided constraints also called built-in constraints.
- javax.validation.constraintvalidation - package javax.validation.constraintvalidation
-
Package containing constructs specific to constraint validators In particular
SupportedValidationTarget
is used to refine the validation target of aConstraintValidator
. - javax.validation.executable - package javax.validation.executable
-
Package related to the control and execution of executable validation.
- javax.validation.groups - package javax.validation.groups
-
A group defines a subset of constraints.
- javax.validation.metadata - package javax.validation.metadata
-
Package containing all objects specifically used and returned by the metadata API.
- javax.validation.spi - package javax.validation.spi
-
Package containing objects specific to the interaction between the Bean Validation bootstrapping process and Bean Validation providers.
- javax.validation.valueextraction - package javax.validation.valueextraction
-
Package containing objects dedicated to extract values to validate from containers.
K
- keyedValue(String, Object, Object) - Method in interface javax.validation.valueextraction.ValueExtractor.ValueReceiver
-
Receives the value extracted from a keyed object (e.g.
L
- LOCAL_ELEMENT - javax.validation.metadata.Scope
-
Look for constraints declared on the current class element and ignore inheritance and elements with the same name in the class hierarchy.
- lookingAt(Scope) - Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints matching the provided scope for this element.
M
- max() - Method in annotation type javax.validation.constraints.Size
- Max - Annotation Type in javax.validation.constraints
-
The annotated element must be a number whose value must be lower or equal to the specified maximum.
- Max.List - Annotation Type in javax.validation.constraints
-
Defines several
Max
annotations on the same element. - message() - Method in annotation type javax.validation.constraints.AssertFalse
- message() - Method in annotation type javax.validation.constraints.AssertTrue
- message() - Method in annotation type javax.validation.constraints.DecimalMax
- message() - Method in annotation type javax.validation.constraints.DecimalMin
- message() - Method in annotation type javax.validation.constraints.Digits
- message() - Method in annotation type javax.validation.constraints.Email
- message() - Method in annotation type javax.validation.constraints.Future
- message() - Method in annotation type javax.validation.constraints.FutureOrPresent
- message() - Method in annotation type javax.validation.constraints.Max
- message() - Method in annotation type javax.validation.constraints.Min
- message() - Method in annotation type javax.validation.constraints.Negative
- message() - Method in annotation type javax.validation.constraints.NegativeOrZero
- message() - Method in annotation type javax.validation.constraints.NotBlank
- message() - Method in annotation type javax.validation.constraints.NotEmpty
- message() - Method in annotation type javax.validation.constraints.NotNull
- message() - Method in annotation type javax.validation.constraints.Null
- message() - Method in annotation type javax.validation.constraints.Past
- message() - Method in annotation type javax.validation.constraints.PastOrPresent
- message() - Method in annotation type javax.validation.constraints.Pattern
- message() - Method in annotation type javax.validation.constraints.Positive
- message() - Method in annotation type javax.validation.constraints.PositiveOrZero
- message() - Method in annotation type javax.validation.constraints.Size
- messageInterpolator(MessageInterpolator) - Method in interface javax.validation.Configuration
-
Defines the message interpolator used.
- messageInterpolator(MessageInterpolator) - Method in interface javax.validation.ValidatorContext
-
Defines the message interpolator implementation used by the
Validator
. - MessageInterpolator - Interface in javax.validation
-
Interpolates a given constraint violation message.
- MessageInterpolator.Context - Interface in javax.validation
-
Information related to the interpolation context.
- METHOD - javax.validation.ElementKind
-
A method.
- MethodDescriptor - Interface in javax.validation.metadata
-
Describes a validated method.
- MethodType - Enum in javax.validation.metadata
-
Represents the type of a method: getter or non getter.
- min() - Method in annotation type javax.validation.constraints.Size
- Min - Annotation Type in javax.validation.constraints
-
The annotated element must be a number whose value must be higher or equal to the specified minimum.
- Min.List - Annotation Type in javax.validation.constraints
-
Defines several
Min
annotations on the same element. - MULTILINE - javax.validation.constraints.Pattern.Flag
-
Enables multiline mode.
N
- name() - Method in annotation type javax.validation.OverridesAttribute
-
Name of the Constraint attribute overridden.
- Negative - Annotation Type in javax.validation.constraints
-
The annotated element must be a strictly negative number (i.e.
- Negative.List - Annotation Type in javax.validation.constraints
-
Defines several
Negative
constraints on the same element. - NegativeOrZero - Annotation Type in javax.validation.constraints
-
The annotated element must be a negative number or 0.
- NegativeOrZero.List - Annotation Type in javax.validation.constraints
-
Defines several
NegativeOrZero
constraints on the same element. - NON_GETTER - javax.validation.metadata.MethodType
-
A method that does not follow the getter pattern.
- NON_GETTER_METHODS - javax.validation.executable.ExecutableType
-
All methods except the ones following the getter pattern.
- NONE - javax.validation.executable.ExecutableType
-
None of the executables.
- NoProviderFoundException - Exception in javax.validation
-
Exception raised if no Bean Validation provider could be found.
- NoProviderFoundException() - Constructor for exception javax.validation.NoProviderFoundException
- NoProviderFoundException(String) - Constructor for exception javax.validation.NoProviderFoundException
- NoProviderFoundException(String, Throwable) - Constructor for exception javax.validation.NoProviderFoundException
- NoProviderFoundException(Throwable) - Constructor for exception javax.validation.NoProviderFoundException
- NotBlank - Annotation Type in javax.validation.constraints
-
The annotated element must not be
null
and must contain at least one non-whitespace character. - NotBlank.List - Annotation Type in javax.validation.constraints
-
Defines several
@NotBlank
constraints on the same element. - NotEmpty - Annotation Type in javax.validation.constraints
-
The annotated element must not be
null
nor empty. - NotEmpty.List - Annotation Type in javax.validation.constraints
-
Defines several
@NotEmpty
constraints on the same element. - NotNull - Annotation Type in javax.validation.constraints
-
The annotated element must not be
null
. - NotNull.List - Annotation Type in javax.validation.constraints
-
Defines several
NotNull
annotations on the same element. - Null - Annotation Type in javax.validation.constraints
-
The annotated element must be
null
. - Null.List - Annotation Type in javax.validation.constraints
-
Defines several
Null
annotations on the same element.
O
- OverridesAttribute - Annotation Type in javax.validation
-
Marks an attribute as overriding the attribute of a composing constraint.
- OverridesAttribute.List - Annotation Type in javax.validation
-
Defines several
OverridesAttribute
annotations on the same element
P
- PARAMETER - javax.validation.ElementKind
-
A parameter of a method or constructor.
- 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(ParameterNameProvider) - Method in interface javax.validation.ValidatorContext
-
Defines the parameter name provider implementation used by the
Validator
. - ParameterNameProvider - Interface in javax.validation
-
Provides names for method and constructor parameters.
- PARAMETERS - javax.validation.ConstraintTarget
-
Constraint applies to the parameters of a method or a constructor
- PARAMETERS - javax.validation.constraintvalidation.ValidationTarget
-
Array of parameters of the annotated method or constructor (aka cross-parameter).
- 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
-
Defines several
PastOrPresent
annotations on the same element. - 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
orMap
. - 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() - Method in annotation type javax.validation.constraints.AssertFalse
- payload() - Method in annotation type javax.validation.constraints.AssertTrue
- payload() - Method in annotation type javax.validation.constraints.DecimalMax
- payload() - Method in annotation type javax.validation.constraints.DecimalMin
- payload() - Method in annotation type javax.validation.constraints.Digits
- payload() - Method in annotation type javax.validation.constraints.Email
- payload() - Method in annotation type javax.validation.constraints.Future
- payload() - Method in annotation type javax.validation.constraints.FutureOrPresent
- payload() - Method in annotation type javax.validation.constraints.Max
- payload() - Method in annotation type javax.validation.constraints.Min
- payload() - Method in annotation type javax.validation.constraints.Negative
- payload() - Method in annotation type javax.validation.constraints.NegativeOrZero
- payload() - Method in annotation type javax.validation.constraints.NotBlank
- payload() - Method in annotation type javax.validation.constraints.NotEmpty
- payload() - Method in annotation type javax.validation.constraints.NotNull
- payload() - Method in annotation type javax.validation.constraints.Null
- payload() - Method in annotation type javax.validation.constraints.Past
- payload() - Method in annotation type javax.validation.constraints.PastOrPresent
- payload() - Method in annotation type javax.validation.constraints.Pattern
- payload() - Method in annotation type javax.validation.constraints.Positive
- payload() - Method in annotation type javax.validation.constraints.PositiveOrZero
- payload() - Method in annotation type javax.validation.constraints.Size
- 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
-
Defines several
PositiveOrZero
constraints on the same element. - PROPERTY - javax.validation.ElementKind
-
A property of a Java Bean.
- 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 Bean Validation and creates a provider specific
Configuration
of typeT
.
R
- regexp() - Method in annotation type javax.validation.constraints.Email
- regexp() - Method in annotation type javax.validation.constraints.Pattern
- releaseInstance(ConstraintValidator<?, ?>) - Method in interface javax.validation.ConstraintValidatorFactory
-
Signals
ConstraintValidatorFactory
that the instance is no longer being used by the Bean Validation provider. - ReportAsSingleViolation - Annotation Type in javax.validation
-
A constraint annotation hosting this annotation will return the composed annotation error report if any of the composing annotations fail.
- RETURN_VALUE - javax.validation.ConstraintTarget
-
Constraint applies to the return value of a method or a constructor.
- RETURN_VALUE - javax.validation.ElementKind
-
The return value of a method or constructor.
- ReturnValueDescriptor - Interface in javax.validation.metadata
-
Describes a validated return value of a method or constructor.
S
- Scope - Enum in javax.validation.metadata
-
Scope looked at when discovering constraints.
- Size - Annotation Type in javax.validation.constraints
-
The annotated element size must be between the specified boundaries (included).
- Size.List - Annotation Type in javax.validation.constraints
-
Defines several
Size
annotations on the same element. - SKIP - javax.validation.metadata.ValidateUnwrappedValue
-
The value is not unwrapped before validation, i.e.
- SupportedValidationTarget - Annotation Type in javax.validation.constraintvalidation
-
Defines the target(s) a
ConstraintValidator
can validate.
T
- to() - Method in annotation type javax.validation.groups.ConvertGroup
-
The target group of this conversion.
- toString() - Method in interface javax.validation.Path.Node
-
Returns a human-readable representation of this node.
- toString() - Method in interface javax.validation.Path
-
Returns a human-readable representation of this path.
- traversableResolver(TraversableResolver) - Method in interface javax.validation.Configuration
-
Defines the traversable resolver used.
- traversableResolver(TraversableResolver) - Method in interface javax.validation.ValidatorContext
-
Defines the traversable resolver implementation used by the
Validator
. - TraversableResolver - Interface in javax.validation
-
Contract determining if a property can be accessed by the Bean Validation provider.
- type() - Method in annotation type javax.validation.executable.ValidateOnExecution
-
List of executable types to be validated when called.
- type() - Method in annotation type javax.validation.valueextraction.ExtractedValue
-
The type of the value extracted by the
ValueExtractor
.
U
- UnexpectedTypeException - Exception in javax.validation
-
Exception raised in the case that the constraint validator resolution cannot determine a suitable validator for a given type.
- UnexpectedTypeException() - Constructor for exception javax.validation.UnexpectedTypeException
- UnexpectedTypeException(String) - Constructor for exception javax.validation.UnexpectedTypeException
- UnexpectedTypeException(String, Throwable) - Constructor for exception javax.validation.UnexpectedTypeException
- UnexpectedTypeException(Throwable) - Constructor for exception javax.validation.UnexpectedTypeException
- UNICODE_CASE - javax.validation.constraints.Pattern.Flag
-
Enables Unicode-aware case folding.
- UNIX_LINES - javax.validation.constraints.Pattern.Flag
-
Enables Unix lines mode.
- unorderedAndMatchingGroups(Class<?>...) - Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
-
Restricts to the constraints matching a given set of groups for this element.
- unwrap(Class<T>) - Method in interface javax.validation.ConstraintValidatorContext
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface javax.validation.MessageInterpolator.Context
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface javax.validation.Validator
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<T>) - Method in interface javax.validation.ValidatorFactory
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<U>) - Method in interface javax.validation.ConstraintViolation
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- unwrap(Class<U>) - Method in interface javax.validation.metadata.ConstraintDescriptor
-
Returns an instance of the specified type allowing access to provider-specific APIs.
- UNWRAP - javax.validation.metadata.ValidateUnwrappedValue
-
The value is unwrapped before validation, i.e.
- UnwrapByDefault - Annotation Type in javax.validation.valueextraction
-
Marks a
ValueExtractor
definition so that it is applied automatically when detecting constraints declared on the container type supported by the extractor, causing the constraints to be applied to the container's elements instead of the container. - Unwrapping - Interface in javax.validation.valueextraction
-
Set of interfaces used in the
payload()
of a constraint to indicate if a value should be unwrapped before validation. - Unwrapping.Skip - Interface in javax.validation.valueextraction
-
Skip the unwrapping if it has been enabled on the
ValueExtractor
by theUnwrapByDefault
annotation. - Unwrapping.Unwrap - Interface in javax.validation.valueextraction
-
Unwrap the value before validation.
- usingContext() - Method in interface javax.validation.ValidatorFactory
-
Defines a new validator context and returns a
Validator
compliant this new context.
V
- 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.
- validatedBy() - Method in annotation type javax.validation.Constraint
-
ConstraintValidator
classes implementing the constraint. - 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
namedpropertyName
. - 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 classbeanType
would the property value bevalue
. - Validation - Class in javax.validation
-
This class is the entry point for Bean Validation.
- Validation() - Constructor for class javax.validation.Validation
- ValidationException - Exception in javax.validation
-
Base exception of all Bean Validation "unexpected" problems.
- ValidationException() - Constructor for exception javax.validation.ValidationException
- ValidationException(String) - 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 Bean Validation providers available in the runtime environment
- ValidationTarget - Enum in javax.validation.constraintvalidation
-
List of possible targets for a
ConstraintValidator
. - 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() - Method in annotation type javax.validation.constraints.AssertFalse.List
- value() - Method in annotation type javax.validation.constraints.AssertTrue.List
- value() - Method in annotation type javax.validation.constraints.DecimalMax.List
- value() - Method in annotation type javax.validation.constraints.DecimalMax
-
The
String
representation of the max value according to theBigDecimal
string representation. - value() - Method in annotation type javax.validation.constraints.DecimalMin.List
- value() - Method in annotation type javax.validation.constraints.DecimalMin
-
The
String
representation of the min value according to theBigDecimal
string representation. - value() - Method in annotation type javax.validation.constraints.Digits.List
- value() - Method in annotation type javax.validation.constraints.Email.List
- value() - Method in annotation type javax.validation.constraints.Future.List
- value() - Method in annotation type javax.validation.constraints.FutureOrPresent.List
- value() - Method in annotation type javax.validation.constraints.Max.List
- value() - Method in annotation type javax.validation.constraints.Max
- value() - Method in annotation type javax.validation.constraints.Min.List
- value() - Method in annotation type javax.validation.constraints.Min
- value() - Method in annotation type javax.validation.constraints.Negative.List
- value() - Method in annotation type javax.validation.constraints.NegativeOrZero.List
- value() - Method in annotation type javax.validation.constraints.NotBlank.List
- value() - Method in annotation type javax.validation.constraints.NotEmpty.List
- value() - Method in annotation type javax.validation.constraints.NotNull.List
- value() - Method in annotation type javax.validation.constraints.Null.List
- value() - Method in annotation type javax.validation.constraints.Past.List
- value() - Method in annotation type javax.validation.constraints.PastOrPresent.List
- value() - Method in annotation type javax.validation.constraints.Pattern.List
- value() - Method in annotation type javax.validation.constraints.Positive.List
- value() - Method in annotation type javax.validation.constraints.PositiveOrZero.List
- value() - Method in annotation type javax.validation.constraints.Size.List
- value() - Method in annotation type javax.validation.constraintvalidation.SupportedValidationTarget
- value() - Method in annotation type javax.validation.groups.ConvertGroup.List
- value() - Method in annotation type javax.validation.GroupSequence
- value() - Method in annotation type javax.validation.OverridesAttribute.List
- 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
-
Raised if the configuration of
ValueExtractor
is illegal, e.g. - ValueExtractorDeclarationException() - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(String) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(String, Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDeclarationException(Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDeclarationException
- ValueExtractorDefinitionException - Exception in javax.validation.valueextraction
-
Raised if a
ValueExtractor
definition is illegal, e.g. - ValueExtractorDefinitionException() - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(String) - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(String, Throwable) - Constructor for exception javax.validation.valueextraction.ValueExtractorDefinitionException
- ValueExtractorDefinitionException(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.
All Classes All Packages