Annotation Type TituloEleitoral
@Pattern(regexp="[0-9]{12}")
@Mod11Check(threshold=9,endIndex=7,checkDigitIndex=10) @Mod11Check(threshold=9,startIndex=8,endIndex=10,checkDigitIndex=11)
@ReportAsSingleViolation
@Documented
@Constraint(validatedBy={})
@SupportedValidationTarget(ANNOTATED_ELEMENT)
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface TituloEleitoral
Validates a TÃtulo Eleitoral (Brazilian Voter ID card number).
- Author:
- George Gastaldi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Defines several@TituloEleitoral
annotations on the same element. -
Optional Element Summary
Optional Elements