|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ConstraintViolation
to be generated if the
constraint validator marks the value as invalid.
ConstraintViolation
to be generated if the
constraint validator mark the value as invalid.
ConstraintViolation
to be generated if the
constraint validator marks the value as invalid.
ConstraintViolation
to be generated if the
constraint validator mark the value as invalid.
ConstraintViolation
will be associated to.
ConstraintViolation
will be associated to.
ConstraintViolation
will be associated to.
ConstraintViolation
will be associated to.
@AssertFalse
annotations on the same element@AssertTrue
annotations on the same elementList
or array
Map
Configuration
ValidatorFactory
instance based on the
default Bean Validation provider and following the XML configuration.
ValidatorFactory
implementation.
ValidatorFactory
using the current provider implementation.
Configuration
.
Configuration
for a particular provider implementation.
ValidatorFactory
instance.
ValidatorFactory
.Configuration
and a
ValidatorProvider to create a ValidatorFactory
.Configuration
implementation.
T
and delegates
the creation of this specific Configuration
subclass to the provider.
ConstraintViolation
builder allowing to optionally associate
the violation report to a sub path.Iterator
or Map
.ConstraintValidator
instance based off its class.Validator
.
Configuration
instance.
Configuration
instance implementing T
,
the Configuration
sub-interface.
@DecimalMax
annotations on the same element@DecimalMin
annotations on the same elementtypes
for a given element.
BigDecimal
BigInteger
String
byte
, short
, int
, long
,
and their respective wrapper types
null
elements are considered valid@Digits
annotations on the same elementConstraintViolation
object generation (which
is using the message template declared on the constraint).
ElementDescriptor
.@Future
annotations on the same elementConfiguration
.ConstraintDescriptor
s where each
descriptor describes a composing constraint.
@Valid
).
ElementDescriptor
Set
if none are present.
ConstraintValidatorFactory
instance
configured at initialization time for the
ValidatorFactory.
- getConstraintValidatorFactoryClassName() -
Method in interface javax.validation.ConfigurationSource
- Class name of the
ConstraintValidatorFactory
implementation
or null if none is specified.
- getConstraintViolations() -
Method in exception javax.validation.ConstraintViolationException
- Set of constraint violations reported during a validation
- getDefaultConstraintMessageTemplate() -
Method in interface javax.validation.ConstraintValidatorContext
-
- getDefaultConstraintValidatorFactory() -
Method in interface javax.validation.Configuration
- Return an implementation of the
ConstraintValidatorFactory
interface
following the default ConstraintValidatorFactory
defined in the
specification:
uses the public no-arg constructor of the ConstraintValidator
- getDefaultMessageInterpolator() -
Method in interface javax.validation.Configuration
- Return 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
- Return an implementation of the
ParameterNameProvider
interface following the default ParameterNameProvider
defined in the specification:
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.ConfigurationSource
- Class name of the
ValidationProvider
implementation
or null if none is specified.
- getDefaultTraversableResolver() -
Method in interface javax.validation.Configuration
- Return 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.
- getDefaultValidationProviderResolver() -
Method in interface javax.validation.spi.BootstrapState
- Specification default
ValidationProviderResolver
strategy instance.
- getElementClass() -
Method in interface javax.validation.metadata.ElementDescriptor
-
- getElementDescriptor() -
Method in interface javax.validation.Path.Node
- Returns a descriptor for the element (bean, property, method etc.)
represented by this node.
- 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
-
- getKey() -
Method in interface javax.validation.Path.Node
-
- getKind() -
Method in interface javax.validation.metadata.ElementDescriptor
- Returns the kind of this descriptor.
- getLeafBean() -
Method in interface javax.validation.ConstraintViolation
- If a bean constraint, the bean instance the constraint is applied on
If a property constraint, the bean instance hosting the property the
constraint is applied on
- 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.ConfigurationSource
- Class name of the
MessageInterpolator
implementation
or null if none is specified.
- getMessageTemplate() -
Method in interface javax.validation.ConstraintViolation
-
- getName() -
Method in interface javax.validation.metadata.MethodDescriptor
- Returns the name of the method represented by this descriptor.
- 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
- Name of the property, constructor, method or parameter which the node
represents or null if representing an entity on the leaf node or the
return value of a constructor or method (in particular the node in a
Path
representing the root object has its name null).
- getParameterDescriptors() -
Method in interface javax.validation.metadata.ConstructorDescriptor
-
Returns a list with descriptors for this constructor parameters.
- getParameterDescriptors() -
Method in interface javax.validation.metadata.MethodDescriptor
-
Returns a list with descriptors for this method's parameters.
- 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 the ValidatorFactory.
- getParameterNameProviderClassName() -
Method in interface javax.validation.ConfigurationSource
- Class name of the
ParameterNameProvider
implementation
or null 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.
- getPayload() -
Method in interface javax.validation.metadata.ConstraintDescriptor
- The set of payload the constraint hosts.
- getProperties() -
Method in interface javax.validation.ConfigurationSource
- Returns properties as a Map of property name as key and property value as value.
- 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.ConstructorDescriptor
- Returns a descriptor for this constructor's return value.
- getReturnValueDescriptor() -
Method in interface javax.validation.metadata.MethodDescriptor
- Returns a descriptor for this method's return value.
- getRootBean() -
Method in interface javax.validation.ConstraintViolation
-
- getRootBeanClass() -
Method in interface javax.validation.ConstraintViolation
-
- 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.ConfigurationSource
- Class name of the
TraversableResolver
implementation
or null if none is specified.
- getValidatedValue() -
Method in interface javax.validation.MessageInterpolator.Context
-
- getValidationProviderResolver() -
Method in interface javax.validation.spi.BootstrapState
- User defined
ValidationProviderResolver
strategy
instance or null
if undefined.
- getValidationProviders() -
Method in interface javax.validation.ValidationProviderResolver
- Returns a list of ValidationProviders available in the runtime environment.
- getValidator() -
Method in interface javax.validation.ValidatorContext
-
- 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
-
- 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
- Define a group sequence
The interface hosting
@GroupSequence
is representing
the group sequence.
true
if at least one constraint declaration
matching the restrictions is present on the element,
false
otherwise.
Iterable
or a Map
true
if the bean involves validation:
a constraint is hosted on the bean itself
a constraint is hosted on one of the bean properties
a bean property is marked for cascaded validation (@Valid
)
a constraint is hosted on the return value or a method parameter of one of the bean's methods
or the return value or a method parameter of one of the bean's methods is marked for cascaded validation (@Valid
)
@Valid
.
@Valid
annotation.
@Max
annotations on the same elementValidator
.
@Min
annotations on the same elementnull
.@NotNull
annotations on the same elementnull
.@Null
annotations on the same elementValidator
.
@Past
annotations on the same element@Pattern
annotations on the same elementConfiguration
of typeT
.@Size
annotations on the same elementValidator
.
Default
group overriding) but does not return
ConstraintDescriptor
s in any particular order.
Validator
compliant this new context.
object
.
object
named propertyName
.
propertyName
of the class beanType
would the property value be value
ConstraintViolation
objects return null for
ConstraintViolation.getRootBean()
and ConstraintViolation.getLeafBean()
ValidationProvider
implementations each of them representing a provider.Validator
instances.Validator
instances.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |