@Documented
@Constraint(validatedBy={})
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Repeatable(value=UUID.List.class)
public @interface UUID
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
groups
Every constraint annotation must define a groups element that specifies the processing groups
with which the constraint declaration is associated.
|
java.lang.String |
message
Every constraint annotation must define a message element of type String.
|
java.lang.Class<? extends jakarta.validation.Payload>[] |
payload
Constraint annotations must define a payload element that specifies the payload with which
the constraint declaration is associated.
|
public abstract java.lang.String message