@Documented @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) @Constraint(value=RequiredValidator.class) public @interface Required
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
message
The message to be logged if this constraint is violated.
|