Annotation Type Isin
-
@Documented @Constraint(validatedBy=IsinValidator.class) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(RUNTIME) @Size(min=12, max=12) public @interface Isin
The annotated element must be a valid International Securities Identification Number.
Supported types are Strings, other Objects are transfered to Strings,nullelements are considered valid.
There are format, size, SEPA country and checksum tests by apache commons validation routines.- Author:
- Manfred Tremmel
-
-
Element Detail
-
message
String message
localized message.- Returns:
- localized validation message
- Default:
- "{de.knightsoftnet.validators.shared.Isin.message}"
-
-
-
groups
Class<?>[] groups
groups to use.- Returns:
- array of validation groups
- Default:
- {}
-
-
-
payload
Class<? extends javax.validation.Payload>[] payload
payload whatever.- Returns:
- payload class
- Default:
- {}
-
-