org.hibernate.validator.constraints.br

## Annotation Type TituloEleitoral

-     @Pattern(regexp="[0-9]{12}")
      @Mod11Check.List(value={@Mod11Check(threshold=9,endIndex=7,checkDigitIndex=10),@Mod11Check(threshold=9,startIndex=8,endIndex=10,checkDigitIndex=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

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>[]` | `groups`
    `String` | `message`
    `Class<? extends Payload>[]` | `payload`

- - ### Element Detail

    - #### message

          public abstract String message

      Default:
        "{org.hibernate.validator.constraints.br.TituloEleitoral.message}"

    - #### groups

          public abstract Class<?>[] groups

      Default:
        {}

    - #### payload

          public abstract Class<? extends Payload>[] payload

      Default:
        {}

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved