@Pattern.List(value={@Pattern(regexp="([0-9]{3}[.]?[0-9]{3}[.]?[0-9]{3}-[0-9]{2})|([0-9]{11})"),@Pattern(regexp="^(?:(?!000\\.000\\.000-00).)*$"),@Pattern(regexp="^(?:(?!999\\.999\\.999-99).)*$")}) @ModCheck.List(value={@ModCheck(modType=MOD11,checkDigitPosition=9,multiplier=10,endIndex=9),@ModCheck(modType=MOD11,checkDigitPosition=10,multiplier=11,endIndex=10)}) @Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface CPF
Copyright © 2018 JBoss by Red Hat. All rights reserved.