@Pattern(regexp="([0-9]{2}[.]?[0-9]{3}[.]?[0-9]{3}[/]?[0-9]{4}[-]?[0-9]{2})")
@Mod11Check.List(value={@Mod11Check(threshold=9,endIndex=14,checkDigitIndex=16,ignoreNonDigitCharacters=true),@Mod11Check(threshold=9,endIndex=16,checkDigitIndex=17,ignoreNonDigitCharacters=true)})
@Documented
@Constraint(validatedBy={})
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
public @interface CNPJ
Copyright © 2009-2015 Oracle Corporation. All Rights Reserved.