@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface Pattern
Pattern
.
Accepts String. null
elements are considered valid.
GWT Modification: Reference to java.util.regex.Pattern are inlined
public abstract String regexp
public abstract Pattern.Flag[] flags
Flag
s considered when resolving the regular
expression.public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2018. All rights reserved.