@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="^(?:(?!111\\.?111\\.?111-?11).)*$") @Pattern(regexp="^(?:(?!222\\.?222\\.?222-?22).)*$") @Pattern(regexp="^(?:(?!333\\.?333\\.?333-?33).)*$") @Pattern(regexp="^(?:(?!444\\.?444\\.?444-?44).)*$") @Pattern(regexp="^(?:(?!555\\.?555\\.?555-?55).)*$") @Pattern(regexp="^(?:(?!666\\.?666\\.?666-?66).)*$") @Pattern(regexp="^(?:(?!777\\.?777\\.?777-?77).)*$") @Pattern(regexp="^(?:(?!888\\.?888\\.?888-?88).)*$") @Pattern(regexp="^(?:(?!999\\.?999\\.?999-?99).)*$") @Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface CPF
Copyright © 2017 JBoss by Red Hat. All rights reserved.