Annotation Type Email
-
@Documented @Constraint(validatedBy={}) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @ReportAsSingleViolation @Pattern(regexp="") @Deprecated public @interface Email
Deprecated.use the standardEmailconstraint insteadThe string has to be a well-formed email address.- Author:
- Emmanuel Bernard, Hardy Ferentschik
-
-
Element Detail
-
message
String message
Deprecated.- Default:
- "{org.hibernate.validator.constraints.Email.message}"
-
-
-
groups
Class<?>[] groups
Deprecated.- Default:
- {}
-
-
-
regexp
@OverridesAttribute(constraint=Pattern.class, name="regexp") String regexp
Deprecated.- Returns:
- an additional regular expression the annotated string must match. The default is any string ('.*')
- Default:
- ".*"
-
-
-
flags
@OverridesAttribute(constraint=Pattern.class, name="flags") Pattern.Flag[] flags
Deprecated.- Returns:
- used in combination with
regexp()in order to specify a regular expression option
- Default:
- {}
-
-