@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Constraint(validatedBy=Nickname.ConstraintValidatorImpl.class) @Documented public @interface Nickname
| Modifier and Type | Fields and Description |
|---|---|
static Pattern |
NICKNAME_PATTERN |
| Modifier and Type | Required Element and Description |
|---|---|
int |
maxLen |
public static final Pattern NICKNAME_PATTERN
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2021. All rights reserved.