org.hibernate.validator.constraints.br
Annotation Type TituloEleitoral
@Pattern(regexp="[0-9]{12}")
@ModCheck.List(value={@ModCheck(modType=MOD11,checkDigitPosition=10,multiplier=9,endIndex=8),@ModCheck(modType=MOD11,checkDigitPosition=11,multiplier=9,startIndex=8,endIndex=11)})
@Documented
@Constraint(validatedBy={})
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
public @interface TituloEleitoral
Validates a TÃtulo Eleitoral (Brazilian Voter ID card number).
- Author:
- George Gastaldi
message
public abstract String message
- Default:
- "{org.hibernate.validator.constraints.br.TituloEleitor.message}"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends Payload>[] payload
- Default:
- {}
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved