@Pattern(regexp="([0-9]{2}[.]?[0-9]{3}[.]?[0-9]{3}[/]?[0-9]{4}[-]?[0-9]{2})") @ModCheck.List(value={@ModCheck(modType=MOD11,checkDigitPosition=12,multiplier=9,endIndex=12),@ModCheck(modType=MOD11,checkDigitPosition=13,multiplier=9,endIndex=13)}) @Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface CNPJ
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved