Package com.aripd.validate
Annotation Type Phone
-
@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Pattern(regexp="\\d{3}-\\d{3}-\\d{4}") @ReportAsSingleViolation public @interface Phone
- Author:
- aripd.com