|
||||||||||
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
.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
.- constraintValidatorFactory(ConstraintValidatorFactory) -
Method in interface javax.validation.Configuration
- Defines the constraint validator factory.
- ConstraintValidatorFactory - Interface in javax.validation
- Instantiate a
ConstraintValidator
instance based off its class. - constraintValidatorFactory(ConstraintValidatorFactory) -
Method in interface javax.validation.ValidatorContext
- Defines the constraint validator factory implementation used by the
Validator
.
- ConstraintViolation<T> - Interface in javax.validation
- Describe a constraint violation.
- ConstraintViolationException - Exception in javax.validation
- Reports the result of constraint violations
`
- ConstraintViolationException(String, Set<ConstraintViolation<?>>) -
Constructor for exception javax.validation.ConstraintViolationException
- Creates a constraint violation report
- ConstraintViolationException(Set<ConstraintViolation<?>>) -
Constructor for exception javax.validation.ConstraintViolationException
- Creates a constraint violation report
- createGenericConfiguration(BootstrapState) -
Method in interface javax.validation.spi.ValidationProvider
- Returns a
Configuration
instance.
- createSpecializedConfiguration(BootstrapState) -
Method in interface javax.validation.spi.ValidationProvider
- Returns a
Configuration
instance implementing T
,
the Configuration
subinterface.
@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).
@Future
annotations on the same elementConfiguration
.ConstraintDescriptor
s where each
descriptor describes a composing constraint.
@Valid).
- getConstraintDescriptor() -
Method in interface javax.validation.ConstraintViolation
- Constraint metadata reported to fail.
- getConstraintDescriptor() -
Method in interface javax.validation.MessageInterpolator.Context
-
- getConstraintDescriptors() -
Method in interface javax.validation.metadata.ElementDescriptor.ConstraintFinder
- Retrieve the constraint descriptors following the defined
restrictions and hosted on the element described by
ElementDescriptor
- getConstraintDescriptors() -
Method in interface javax.validation.metadata.ElementDescriptor
- Return all constraint descriptors for this element in the class hierarchy
or an empty
Set
if none are present.
- getConstraintsForClass(Class<?>) -
Method in interface javax.validation.Validator
- Return the descriptor object describing bean constraints.
- getConstraintsForProperty(String) -
Method in interface javax.validation.metadata.BeanDescriptor
- Return 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 the
ValidatorFactory.
- 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()
- 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
-
- getGroups() -
Method in interface javax.validation.metadata.ConstraintDescriptor
- The set of groups the constraint is applied on.
- 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
-
- 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.
- getMessageTemplate() -
Method in interface javax.validation.ConstraintViolation
-
- getName() -
Method in interface javax.validation.Path.Node
- Property name the node represents
or null if representing an entity on the leaf node
(in particular the node in a
Path
representing
the root object has its name null).
- getPayload() -
Method in interface javax.validation.metadata.ConstraintDescriptor
- The set of payload the constraint hosts.
- 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 acording to the Java Bean specification.
- getPropertyPath() -
Method in interface javax.validation.ConstraintViolation
-
- 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.
- 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.
true
if at least one constraint declaration is present
for this element in the class hierarchy, 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
or a bean property is marked for cascade (@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 element@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 |