|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ValidatorDescriptor
s applied to
its Field
s.object
to a Date
using
one of the following conversion strategies:
If object
is a Date
, then is it returned
verbatim.
If object
is a Long
then it is parsed as
a time in milliseconds.
If object
is a String
then the following
strategies are attempted:
If dateFormat
contains a conversion pattern
then object
is parsed using that pattern.
If no dateFormat
is provided, then the system
will attempt to determine the appropriate conversion
pattern by itself.
Date
s.UnrecognisedDatePartException
with
the value that could not be matched.
Method
on annotation
that
matches parameterName
.
Method
)
on an Annotation
.
Annotation
.
field
in object
.
Field
named fieldName
on object
.
value
for the current DatePartType
.
Field
on object
that matches
fieldName
.
annotation
has a parameter named
parameterName
.
objectClass
is annotated with
annotationType
.
field
.
target
.
target
matches the value of the
matchingFieldName
field on object
.
ValidateRequired
.
ValidateCompositeDate
annotation.matchingFieldName
.ValidateMatchingField
.Field
s that require a value.ValidateRequired
.step
argument in
AnnotatedObjectValidator.validate(Object, BindingResult, int)
matches one of the numbers in value
.index
.ValidatorMethodException
for a
Method
that cannot be identified with the specified
validatorMethodArguments
.
ValidatorMethodException
for a
Method
that has failed to invoke.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |