Annotation Type IbanFormated
@Documented
@Constraint(validatedBy=IbanFormatedValidator.class)
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Size(min=19,
max=42)
public @interface IbanFormated
The annotated element must be a valid International Bank Account Number.
Supported types are Strings, other Objects are transfered to Strings,
There are format, size, SEPA country and checksum tests by apache commons validation routines.
Supported types are Strings, other Objects are transfered to Strings,
null elements
are considered valid. Whitespaces must be correct set as separators.There are format, size, SEPA country and checksum tests by apache commons validation routines.
- Author:
- Manfred Tremmel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several@IbanFormatedannotations on the same element. -
Optional Element Summary
Optional Elements
-
Element Details
-
message
String messagelocalized message.- Returns:
- localized validation message
- Default:
- "{de.knightsoftnet.validators.shared.IbanFormated.message}"
-
groups
Class<?>[] groupsgroups to use.- Returns:
- array of validation groups
- Default:
- {}
-
payload
Class<? extends jakarta.validation.Payload>[] payloadpayload whatever.- Returns:
- payload class
- Default:
- {}
-