@Documented @Constraint(validatedBy=AgeLimitCheckValidator.class) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface AgeLimitCheck
minYears or more in the past.null elements are considered valid.| Modifier and Type | Required Element and Description |
|---|---|
int |
minYears
minimum years.
|
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2015–2016. All rights reserved.