Annotation Interface PatternWithDescription
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(PatternWithDescription.PatternWithDescriptionList.class)
@Documented
@Constraint(validatedBy=PatternWithDescriptionValidator.class)
public @interface PatternWithDescription
Checks if a string matches specified regular expression.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines severalPatternannotations on the same element. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionStores description ID to add description string to the message to users.Stores a regular expression. -
Optional Element Summary
Optional Elements
-
Element Details